Skip site navigation (1) Skip section navigation (2)

Re: [REPOST] Remote database questions (NFS shared access, RServ)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Steve Frampton <frampton(at)LinuxNinja(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [REPOST] Remote database questions (NFS shared access, RServ)
Date: 2001-10-09 13:32:26
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
Steve Frampton <frampton(at)LinuxNinja(dot)com> writes:
> even better solution seems to be to run my production (or backup mirror)
> from a NetApp over Gb NFS so there's no issues with replication.  Is it
> possible, safe, and advisable to share a PostgreSQL database file via NFS,
> as long as non-masters are only accessing it R/O?

No.  (a) there is no such thing as R/O access in Postgres; (b) the
non-masters would have no guarantee of seeing a consistent view,
due to buffering inside the master.

I don't even recommend mounting a database over NFS, let alone trying
to share it.  Too much risk of database corruption after a system crash,
because NFS provides only weak guarantees about write synchronization.
See the mailing list archives for past discussion about NFS risks.

			regards, tom lane

In response to


pgsql-admin by date

Next:From: Chris RuprechtDate: 2001-10-09 15:01:40
Subject: Re: [REPOST] Remote database questions (NFS shared access, RServ)
Previous:From: Summer S. WilsonDate: 2001-10-09 13:19:47
Subject: Re: Vacuum

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group