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
|