revert back to ext3
authorMarc Fiuczynski <mef@cs.princeton.edu>
Thu, 19 Nov 2009 03:38:49 +0000 (03:38 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Thu, 19 Nov 2009 03:38:49 +0000 (03:38 +0000)
source/steps/InstallBootstrapFS.py
source/steps/InstallWriteConfig.py
source/steps/ValidateNodeInstall.py

index 2124f72..2c49acc 100644 (file)
@@ -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
index 40d3cbe..142b283 100644 (file)
@@ -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" )
index 85dcf5e..5f97847 100644 (file)
@@ -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