Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f99DWWn70877 for ; Tue, 9 Oct 2001 09:32:32 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id f99DWRI23085; Tue, 9 Oct 2001 09:32:27 -0400 (EDT) To: Steve Frampton cc: pgsql-admin@postgresql.org Subject: Re: [REPOST] Remote database questions (NFS shared access, RServ) In-reply-to: References: Comments: In-reply-to Steve Frampton message dated "Tue, 09 Oct 2001 04:01:28 -0400" Date: Tue, 09 Oct 2001 09:32:26 -0400 Message-ID: <23082.1002634346@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200110/81 X-Sequence-Number: 2327 Steve Frampton 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