Changeset 2241 for trunk


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

touch up pv-fixup 'script' some more

File:
1 edited

Legend:

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

    r2240 r2241  
    1717dmstart=$(python -c "print int(($HALFSIZETiB + 0.01) * 1024 * 1024 * 1024 * 2)")
    1818dmlen=$(python -c "print int(($HALFSIZETiB - 0.02) * 1024 * 1024 * 1024 * 2)")
    19 #foreach host:
     19#FOREACH host:
    2020dmsetup create $TMPDM --table "0 $dmlen linear $DISK $dmstart"
    2121#done
     
    2828
    2929#  - pvmove all the LVs to the temporary PV
    30 #    (something like
    31 #      for lv in $(LVs for running VMs on this host); do
    32 #        #some lvchange -a commands
    33 #        pvmove -n $lv <oldpv> <newpv>
    34 #        #possibly more lvchange -a to restore old state
    35 #      done)
    3630
    3731movelv () {
Note: See TracChangeset for help on using the changeset viewer.