xfs
[Top] [All Lists]

Re: Fwd: XFS: how to NOT null files on fsck?

To: Nicolas Kowalski <Nicolas.Kowalski@xxxxxxx>
Subject: Re: Fwd: XFS: how to NOT null files on fsck?
From: "Net Llama!" <netllama@xxxxxxxxxxxxx>
Date: Mon, 05 Jul 2004 13:37:58 -0700
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.58.0407052212380.27678@xxxxxxxxxxxxx>
Organization: VA Software
References: <200407051556.43673.norberto+linux-xfs@xxxxxxxxxxxx> <Pine.LNX.4.58.0407052212380.27678@xxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a2) Gecko/20040704
On 07/05/2004 01:26 PM, Nicolas Kowalski wrote:

On Mon, 5 Jul 2004, Norberto Bensa wrote:


how do I setup XFS to not null files after a bad shutdown?


The last time our UPS failed, no files were corrupted because:

- the NFS exports are setup with the sync flag, as recommended,

- [to be verified] Samba shares filesystems with "strict sync" and
  "sync always" options,

For local files, use the sync attribute (chattr +S) to be sure that file
contents are flushed on disk. This is usefull when files are frequently
modified.

Is there any way to set this for an entire filesystem? Also, there must be a performance hit from doing this, right?


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                                    netllama@xxxxxxxxxxxxx
Linux Step-by-step & TyGeMo:                    http://netllama.ipfox.com

 13:35:00 up 15 days, 16 min,  1 user,  load average: 0.26, 0.18, 0.27


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