address a continuing issue on production machines where a node will fsck,
authorStephen Soltesz <soltesz@cs.princeton.edu>
Thu, 26 Feb 2009 16:05:04 +0000 (16:05 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Thu, 26 Feb 2009 16:05:04 +0000 (16:05 +0000)
mount during BM, but after kexec, the fs will be corrupted again and hang.
changing these values will ensure that the production system runs fsck again.
not at all sure where the source of the problem is coming from.

source/steps/InstallWriteConfig.py

index f7afb52..dedde10 100644 (file)
@@ -90,9 +90,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           /           ext3      defaults  0 0\n" % \
+    fstab.write( "%s           /           ext3      defaults  1 1\n" % \
                  PARTITIONS["mapper-root"] )
-    fstab.write( "%s           /vservers   ext3      tagxid,defaults  0 0\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" )