xfs
[Top] [All Lists]

RE: mkfs and mount tips?

To: Leon Kolchinsky <leonk@xxxxxxxxxxxxxxxxxxxxx>
Subject: RE: mkfs and mount tips?
From: Olaf Frączyk <olaf@xxxxxxxxxxxxx>
Date: Tue, 13 Feb 2007 12:14:28 +0100
Cc: "'Justin Piszcz'" <jpiszcz@xxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <20070213103533.C89F519311@xxxxxxxxxxxxxxxxxxxx>
References: <20070213103533.C89F519311@xxxxxxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
On Tue, 2007-02-13 at 12:33 +0200, Leon Kolchinsky wrote:
> 
> > -----Original Message-----
> > From: Justin Piszcz [mailto:jpiszcz@xxxxxxxxxxxxxxx]
> > Sent: Tuesday, February 13, 2007 11:30 AM
> > To: Leon Kolchinsky
> > Cc: linux-xfs@xxxxxxxxxxx
> > Subject: Re: mkfs and mount tips?
(...)
> > When I was trying out different optimizations (and what I currently use on
> > a couple volumes is):
> > 
> > logbufs=8,logbsize=262144,biosize=16,noatime,nodiratime,nobarrier
> > 
> 
> I think that "nobarrier" option is bad, cause power failure would corrupt
> your FS in this case.
It depends on hardware. If you use SCSI with write cache turned off I
see no reason to loss data. You might use RAID with write cache (battery
powered) safely too.
I'm not sure but even (S)ATA with write cache disabled should be fine.

Regards,

Olaf
-- 
Olaf Frączyk <olaf@xxxxxxxxxxxxx>


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