xfs
[Top] [All Lists]

Re: System lock while accessing files causes file corruption

To: Seth Mos <knuffie@xxxxxxxxx>
Subject: Re: System lock while accessing files causes file corruption
From: Peter Wächtler <pwaechtler@xxxxxxxxxxxxx>
Date: Wed, 05 Sep 2001 11:01:53 +0200
Cc: XFS mailing list <linux-xfs@xxxxxxxxxxx>
Organization: LOEWE. Hannover
References: <3B94F726.E978C299@sgi.com> <85063BBE668FD411944400D0B744267A888526@AUSMAIL> <3B94F726.E978C299@sgi.com> <4.3.2.7.2.20010904193203.032499a0@pop.xs4all.nl>
Sender: owner-linux-xfs@xxxxxxxxxxx
Seth Mos wrote:
> 
> At 17:57 4-9-2001 +0200, utz lehmann wrote:
> >Hi Eric
> >
> >Eric Sandeen [sandeen@xxxxxxx] wrote:
> > > But in any case, it occurred to me that you could make /etc on it's own
> > > partition, and mount that O_SYNC - I don't think that would be too much
> > > overhead, /etc doesn't get written that much on a normal system (?).  If
> > > Oracle puts config files elsewhere, you could simlink them onto this
> > > filesystem.
> >
> >You can't make /etc on a different partition than /.
> >/etc, /sbin, /dev (without devfs) must on the / partition otherwise your
> >system will not boot.
> 
> If you use a decent layout fopr your data it does not matter.
> If you have a separate /usr /var /tmp /home like most servers do you could
> just mount your / fs O_SYNC since it would only have a _very_ slight
> performance loss since you almost never write to the root fs. :-)
> 

What about the access time? If you mount your / with sync,noatime
then it only gets changed when users are logging in
(chown user.group /dev/pty and alike).

But yes, it's still acceptable ;)


<Prev in Thread] Current Thread [Next in Thread>