Changeset 2253 for trunk/scripts


Ignore:
Timestamp:
Mar 16, 2009, 8:26:22 PM (15 years ago)
Author:
price
Message:

pv-fixup: tweaks

File:
1 edited

Legend:

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

    r2241 r2253  
    1616#  - dmsetup create a device in the latter half
    1717dmstart=$(python -c "print int(($HALFSIZETiB + 0.01) * 1024 * 1024 * 1024 * 2)")
    18 dmlen=$(python -c "print int(($HALFSIZETiB - 0.02) * 1024 * 1024 * 1024 * 2)")
    19 #FOREACH host:
     18dmlen=$(python -c "print int(($HALFSIZETiB - 0.03) * 1024 * 1024 * 1024 * 2)")
     19#Foreach host:
    2020dmsetup create $TMPDM --table "0 $dmlen linear $DISK $dmstart"
    2121#done
     
    3333  lvchange -an $1
    3434  pvmove -i 10 -n $1 $2
     35  lvchange -ay $1
    3536}
    3637
Note: See TracChangeset for help on using the changeset viewer.