reduce lvm physical extent size to 16M from 32M. This was the cause of the
authorAaron Klingaman <alk@cs.princeton.edu>
Tue, 7 Jun 2005 21:03:59 +0000 (21:03 +0000)
committerAaron Klingaman <alk@cs.princeton.edu>
Tue, 7 Jun 2005 21:03:59 +0000 (21:03 +0000)
install problems on planetlab1.mini.pw.edu.pl which had two identical
western digital 120gb drives. This also limits the maximum size of the
vserver logical volume to 1TB, it was about 2TB before this change.

source/steps/InstallPartitionDisks.py

index 72ffa93..4e30475 100644 (file)
@@ -163,7 +163,7 @@ def Run( vars, log ):
         vg_device_list = vg_device_list + " " + part_path
 
     # create an lvm volume group
-    utils.sysexec( "vgcreate -s32M planetlab %s" % vg_device_list, log)
+    utils.sysexec( "vgcreate -s16M planetlab %s" % vg_device_list, log)
 
     # create swap logical volume
     utils.sysexec( "lvcreate -L%s -nswap planetlab" % SWAP_SIZE, log )