Changeset 2240 for trunk/scripts/pv-fixup
- Timestamp:
- Mar 10, 2009, 2:54:28 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/pv-fixup/pv-fixup
r2239 r2240 3 3 4 4 VG=xenvg 5 DISK=/dev/ sdb6 HALFSIZETiB= 2.045 DISK=/dev/mapper/36090a028407d6e2b2589a45cdb971489 6 HALFSIZETiB=5.23 7 7 TMPDM=tmpfoo 8 8 TMPDEV=/dev/mapper/$TMPDM … … 41 41 } 42 42 43 #touch /etc/invirt/nocreate44 43 #FOREACH host: 45 #machines=$(invirt-listvms | perl -lne 'print if s/^([^ ]*):.*/$1/')46 #lvs=$(echo $machines | perl -lpe "s|^|$VG/d_|; s|$|_hda|")47 44 for lv in $(lvs -o lv_name --noheadings $VG); do 48 45 movelv $VG/$lv $DISK
Note: See TracChangeset
for help on using the changeset viewer.