how to prevent filesystem check

Wolber, Richard C richard.c.wolber at boeing.com
Thu Nov 30 00:41:38 UTC 2006


 
On Nov 28, 2006 9:20pm Andreas Dilger wrote:
> 
> On Nov 28, 2006  12:33 -0800, Wolber, Richard C wrote:
> > Running the following command on your slave server should 
> > do the trick:
> > 
> > echo "AUTOFSCK_DEF_CHECK=\"no\"" >> /etc/sysconfig/autofsck
> 
> This is incorrect.  As soon as the ext3 code mounts the 
> filesystem it will do journal recovery and potentially 
> corrupt the filesystem.
> Then, the read-only copy will become out-of-date in the cache 
> of that client and it will get bogus data back, eventually 
> deciding that the filesystem is corrupt (whether it is or not).

Even if you "mount -oro -text2 $DEV $DIR"?


..Chuck..




More information about the Ext3-users mailing list