From 9cfce3a05c823f6079e6e7bdfd739238cba4e65c Mon Sep 17 00:00:00 2001 From: Aaron Klingaman Date: Tue, 7 Jun 2005 21:03:59 +0000 Subject: [PATCH] reduce lvm physical extent size to 16M from 32M. This was the cause of the 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/steps/InstallPartitionDisks.py b/source/steps/InstallPartitionDisks.py index 72ffa93..4e30475 100644 --- a/source/steps/InstallPartitionDisks.py +++ b/source/steps/InstallPartitionDisks.py @@ -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 ) -- 2.43.0