xfs
[Top] [All Lists]

Re[2]: System lock while accessing files causes file corruption

To: linux-xfs@xxxxxxxxxxx
Subject: Re[2]: System lock while accessing files causes file corruption
From: Keith Matthews <keith_m@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 4 Sep 2001 18:56:46 +0100 (BST)
In-reply-to: <4.3.2.7.2.20010904193203.032499a0@pop.xs4all.nl>
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
On Tue, 04 Sep 2001 19:33:49 +0200 Seth Mos <Seth Mos <knuffie@xxxxxxxxx>> 
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. :-)

If you use Oracle's recommended layout you have (at least ) 4 top
level mount points. It does not use OS config directories for its
config for good reasons - you may want to have more than one database
instance on a host.

Well designed layouts for database files should have no problems with
special control. Its better to have synced writes for the data files
anyway as the DBMS does its own caching.
--
Keith Matthews                  Spam trap - my real account at this 
                                                        node is keith_m
Frequentous Consultants  - Linux Services, 
                Oracle development & database administration



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