Re: can postgres run well on NFS mounted partitions? - Mailing list pgsql-general

From Albe Laurenz
Subject Re: can postgres run well on NFS mounted partitions?
Date
Msg-id A737B7A37273E048B164557ADEF4A58B50FE2CE4@ntex2010i.host.magwien.gv.at
Whole thread Raw
In response to Re: can postgres run well on NFS mounted partitions?  (Scott Mead <scottm@openscg.com>)
Responses Re: can postgres run well on NFS mounted partitions?  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
Scott Mead wrote:
> Don't do it.  Period.   I've used 4 big-vendor appliances with NFS as well as my own server.  With
> maybe 3 exceptions, most of the 'total-data-loss' scenarios I've dealt with regarding transactional
> data was due to NFS.

Can you share more details?
What happened and what had caused the problem?

While researching the same topic, I came across two scenarios where people
had encountered problems:

1) A background mounted NFS failed to mount in time.
   A smart startup script triggered initdb on the empty mount point,
   then while PostgreSQL was running, the mount completed
   and data corruption ensued.
2) The NFS server implementation didn't actually sync the data
   (or keep it in a battery powered buffer) when it said it had
   synced them.

It would be good to know of other pitfalls; I (and no doubt not only I)
keep getting asked why we shouldn't run PostgreSQL on NFS when Oracle
has no problem with it (and don't tell me that Oracle does not care
about data corruption).

Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: can postgres run well on NFS mounted partitions?
Next
From: John R Pierce
Date:
Subject: Re: can postgres run well on NFS mounted partitions?