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.
Olaf Frączyk <olaf@xxxxxxxxxxxxx>