Re: how to prevent filesystem check

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

 



On Wed, Nov 29, 2006 at 09:53:34PM -0800, Andreas Dilger wrote:
> > Even if you "mount -oro -text2 $DEV $DIR"?
> 
> Even then, yes.  It is NOT SAFE to access the same block device on
> multiple nodes at one time.  Even with "-o ro" the mount will cause
> the journal to be recovered.

And even with a ext2 filesystem, as the filesystem changes out from
under the kernel (as the system that has the filesystem mounted
read/write makes changes), the system that has the filesystem mounted
read-only will have see inconsistencies caused by some blocks being
cached and some blocks being not cached, and this could result in
security violations (when blocks containing another user are read by
another non-privileged users) and possibly kernel panics.

The only safe way to mount a block device in a shared mode where one
or more of the systems have the shared block device mounted read/write
is to use a cluster-aware filesystem, such as GFS, OCFS2, or GPFS.

						- Ted

_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux