Re: Strane remount behaviour with ext3-2.4-0.9.4

Stephen C. Tweedie (sct@redhat.com)
Wed, 1 Aug 2001 17:39:51 +0100


Hi,

On Fri, Jul 27, 2001 at 11:15:39AM -0600, Andreas Dilger wrote:

> > servers. Since the server in question is a farily security-sensitive box, my
> > /usr partition is mounted read only except when I remount rw to install
> > packages.
>
> If it is a security-sensitive box, you need to at least use data=ordered or
> data=journal. Using data=writeback allows the possibility that after a crash
> one user might be able to read data from deleted files of another user (note
> that reiserfs currently only runs the equivalent of data=writeback).

Agreed, and for most workloads data=ordered will have very little
performance difference from data=writeback.

> You _could_ leave out the data=writeback from /etc/fstab (default is ordered),
> and you will be able to remount OK. Also, Andrew made a patch which allowed
> you to specify the data= mode on remount, as long it is the same.

Indeed, but I'll need to make sure that the remount with no data= mode
also works (that should be legal.)

Cheers,
Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/