[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: how to prevent filesystem check



 
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..


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]