Changeset 2240 for trunk


Ignore:
Timestamp:
Mar 10, 2009, 2:54:28 AM (16 years ago)
Author:
price
Message:

touch up pv-fixup 'script'

  • remove commented code
  • update values for prod
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/pv-fixup/pv-fixup

    r2239 r2240  
    33
    44VG=xenvg
    5 DISK=/dev/sdb
    6 HALFSIZETiB=2.04
     5DISK=/dev/mapper/36090a028407d6e2b2589a45cdb971489
     6HALFSIZETiB=5.23
    77TMPDM=tmpfoo
    88TMPDEV=/dev/mapper/$TMPDM
     
    4141}
    4242
    43 #touch /etc/invirt/nocreate
    4443#FOREACH host:
    45 #machines=$(invirt-listvms | perl -lne 'print if s/^([^ ]*):.*/$1/')
    46 #lvs=$(echo $machines | perl -lpe "s|^|$VG/d_|; s|$|_hda|")
    4744for lv in $(lvs -o lv_name --noheadings $VG); do
    4845  movelv $VG/$lv $DISK
Note: See TracChangeset for help on using the changeset viewer.