X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2Fsteps%2FCheckForNewDisks.py;h=42bcd06dc8125d1cf446c77fbd93936f7fafbbdf;hb=a147672080116876b5f7be36ac0ee6f60cdbae71;hp=d53351c19ac0889b513aa20b26953045fa55d62e;hpb=05fcdf2237fe6100cc31828ca206d42b24e8ae5a;p=bootmanager.git diff --git a/source/steps/CheckForNewDisks.py b/source/steps/CheckForNewDisks.py index d53351c..42bcd06 100644 --- a/source/steps/CheckForNewDisks.py +++ b/source/steps/CheckForNewDisks.py @@ -1,5 +1,8 @@ #!/usr/bin/python - +# +# $Id$ +# $URL$ +# # Copyright (c) 2003 Intel Corporation # All rights reserved. # @@ -169,7 +172,7 @@ def Run( vars, log ): res = 1 break - log.write( "making the ext3 filesystem match new logical volume size.\n" ) + log.write( "making the ext filesystem match new logical volume size.\n" ) vars['ROOT_MOUNTED']= 1 cmd = "mount %s %s" % (PARTITIONS["root"],SYSIMG_PATH) @@ -177,7 +180,7 @@ def Run( vars, log ): cmd = "mount %s %s/vservers" % \ (PARTITIONS["vservers"],SYSIMG_PATH) utils.sysexec_noerr( cmd, log ) - cmd = "ext2online %s/vservers" % SYSIMG_PATH + cmd = "resize2fs %s" % PARTITIONS["vservers"] resize = utils.sysexec_noerr(cmd,log) utils.sysexec_noerr( "umount %s/vservers" % SYSIMG_PATH, log ) utils.sysexec_noerr( "umount %s" % SYSIMG_PATH, log )