fsync

Started by Mark Lubrattabout 22 years ago3 messagesgeneral
Jump to latest
#1Mark Lubratt
mark.lubratt@indeq.com

OK. I'm getting a little confused.

I have two mirrored SCSI drives on our production server. For the
safest operation, do I want fsync=true? Or fsync=false? Or just the
default?

Thanks!
Mark

#2Bruce Momjian
bruce@momjian.us
In reply to: Mark Lubratt (#1)
Re: fsync

Mark Lubratt wrote:

OK. I'm getting a little confused.

I have two mirrored SCSI drives on our production server. For the
safest operation, do I want fsync=true? Or fsync=false? Or just the
default?

fsync has to be true for reliable operation, even with mirrored drives.
-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
#3Stephen Robert Norris
srn@commsecure.com.au
In reply to: Mark Lubratt (#1)
Re: fsync

On Wed, 2004-03-17 at 06:58, Mark Lubratt wrote:

OK. I'm getting a little confused.

I have two mirrored SCSI drives on our production server. For the
safest operation, do I want fsync=true? Or fsync=false? Or just the
default?

Thanks!
Mark

For any sort of recoverability after a crash, you need fsync on. That
should be the default for any sane filesystem build...

Stephen