fsync

Поиск
Список
Период
Сортировка
Искать

fsync

От:
Mark 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

Re: fsync

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
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

Re: fsync

От:
Stephen Robert Norris <srn@commsecure.com.au>
Дата:
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
FAQ