From 9807dbe301e4e078c07bff4df81ff33811a5cca7 Mon Sep 17 00:00:00 2001 From: Marc Fiuczynski Date: Thu, 19 Nov 2009 03:38:49 +0000 Subject: [PATCH] revert back to ext3 --- source/steps/InstallBootstrapFS.py | 4 ++-- source/steps/InstallWriteConfig.py | 4 ++-- source/steps/ValidateNodeInstall.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/steps/InstallBootstrapFS.py b/source/steps/InstallBootstrapFS.py index 2124f72..2c49acc 100644 --- a/source/steps/InstallBootstrapFS.py +++ b/source/steps/InstallBootstrapFS.py @@ -82,11 +82,11 @@ def Run( vars, log ): utils.makedirs( SYSIMG_PATH ) log.write( "mounting root file system\n" ) - utils.sysexec( "mount -t ext2 %s %s" % (PARTITIONS["root"],SYSIMG_PATH), log ) + utils.sysexec( "mount -t ext3 %s %s" % (PARTITIONS["root"],SYSIMG_PATH), log ) log.write( "mounting vserver partition in root file system\n" ) utils.makedirs( SYSIMG_PATH + "/vservers" ) - utils.sysexec( "mount -t ext2 %s %s/vservers" % (PARTITIONS["vservers"], + utils.sysexec( "mount -t ext3 %s %s/vservers" % (PARTITIONS["vservers"], SYSIMG_PATH), log ) vars['ROOT_MOUNTED']= 1 diff --git a/source/steps/InstallWriteConfig.py b/source/steps/InstallWriteConfig.py index 40d3cbe..142b283 100644 --- a/source/steps/InstallWriteConfig.py +++ b/source/steps/InstallWriteConfig.py @@ -84,9 +84,9 @@ def Run( vars, log ): fstab= file( "%s/etc/fstab" % SYSIMG_PATH, "w" ) fstab.write( "%s none swap sw 0 0\n" % \ PARTITIONS["mapper-swap"] ) - fstab.write( "%s / ext2 defaults 1 1\n" % \ + fstab.write( "%s / ext3 defaults 1 1\n" % \ PARTITIONS["mapper-root"] ) - fstab.write( "%s /vservers ext2 tagxid,defaults 1 2\n" % \ + fstab.write( "%s /vservers ext3 tagxid,defaults 1 2\n" % \ PARTITIONS["mapper-vservers"] ) fstab.write( "none /proc proc defaults 0 0\n" ) fstab.write( "none /dev/shm tmpfs defaults 0 0\n" ) diff --git a/source/steps/ValidateNodeInstall.py b/source/steps/ValidateNodeInstall.py index 85dcf5e..5f97847 100644 --- a/source/steps/ValidateNodeInstall.py +++ b/source/steps/ValidateNodeInstall.py @@ -96,7 +96,7 @@ def Run( vars, log ): try: # then attempt to mount them log.write( "mounting root file system\n" ) - utils.sysexec("mount -t ext2 %s %s" % (PARTITIONS["root"],SYSIMG_PATH),log) + utils.sysexec("mount -t ext3 %s %s" % (PARTITIONS["root"],SYSIMG_PATH),log) except BootManagerException, e: log.write( "BootManagerException during mount of /root: %s\n" % str(e) ) return -2 @@ -114,7 +114,7 @@ def Run( vars, log ): VSERVERS_PATH = "%s/vservers" % SYSIMG_PATH utils.makedirs(VSERVERS_PATH) log.write( "mounting vserver partition in root file system\n" ) - utils.sysexec("mount -t ext2 %s %s" % (PARTITIONS["vservers"], VSERVERS_PATH), log) + utils.sysexec("mount -t ext3 %s %s" % (PARTITIONS["vservers"], VSERVERS_PATH), log) except BootManagerException, e: log.write( "BootManagerException during mount of /vservers: %s\n" % str(e) ) return -2 -- 2.43.0