Changeset 2241 for trunk/scripts
- Timestamp:
- Mar 10, 2009, 2:55:36 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/pv-fixup/pv-fixup
r2240 r2241 17 17 dmstart=$(python -c "print int(($HALFSIZETiB + 0.01) * 1024 * 1024 * 1024 * 2)") 18 18 dmlen=$(python -c "print int(($HALFSIZETiB - 0.02) * 1024 * 1024 * 1024 * 2)") 19 # foreachhost:19 #FOREACH host: 20 20 dmsetup create $TMPDM --table "0 $dmlen linear $DISK $dmstart" 21 21 #done … … 28 28 29 29 # - pvmove all the LVs to the temporary PV 30 # (something like31 # for lv in $(LVs for running VMs on this host); do32 # #some lvchange -a commands33 # pvmove -n $lv <oldpv> <newpv>34 # #possibly more lvchange -a to restore old state35 # done)36 30 37 31 movelv () {
Note: See TracChangeset
for help on using the changeset viewer.