Changeset 2253 for trunk/scripts
- Timestamp:
- Mar 16, 2009, 8:26:22 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/pv-fixup/pv-fixup
r2241 r2253 16 16 # - dmsetup create a device in the latter half 17 17 dmstart=$(python -c "print int(($HALFSIZETiB + 0.01) * 1024 * 1024 * 1024 * 2)") 18 dmlen=$(python -c "print int(($HALFSIZETiB - 0.0 2) * 1024 * 1024 * 1024 * 2)")19 #F OREACHhost:18 dmlen=$(python -c "print int(($HALFSIZETiB - 0.03) * 1024 * 1024 * 1024 * 2)") 19 #Foreach host: 20 20 dmsetup create $TMPDM --table "0 $dmlen linear $DISK $dmstart" 21 21 #done … … 33 33 lvchange -an $1 34 34 pvmove -i 10 -n $1 $2 35 lvchange -ay $1 35 36 } 36 37
Note: See TracChangeset
for help on using the changeset viewer.