Re: Shouldn't we document "don't use a mountpoint as $PGDATA"? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Shouldn't we document "don't use a mountpoint as $PGDATA"?
Date
Msg-id 20150902002047.GE27332@momjian.us
Whole thread Raw
In response to Re: Shouldn't we document "don't use a mountpoint as $PGDATA"?  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Shouldn't we document "don't use a mountpoint as $PGDATA"?  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Tue, Jul 28, 2015 at 02:19:00PM -0400, Andrew Dunstan wrote:
> 
> On 07/28/2015 02:01 PM, Tom Lane wrote:
> >I had a discussion with some folks at Red Hat about this:
> >https://bugzilla.redhat.com/show_bug.cgi?id=1247477
> >
> >I had the idea that we had documented somewhere that the data directory
> >should not be a filesystem mount point, but I sure can't find it now.
> >Any objections to adding some text about this to section 17.2, near the
> >caveats about NFS?
> 
>             
> 
> Please do. I came across a client who should have known better doing
> this just a week or two ago.

Uh, we added an initdb warning about mount points:
commit 17f15239325a88581bb4f9cf91d38005f1f52d69Author: Bruce Momjian <bruce@momjian.us>Date:   Sat Feb 16 18:52:50 2013
-0500   Warn about initdb using mount-points    Add code to detect and warn about trying to initdb or create pg_xlog on
  mount points.
 

Was that not sufficient?

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Unicode mapping scripts cleanup
Next
From: Bruce Momjian
Date:
Subject: Re: Shouldn't we document "don't use a mountpoint as $PGDATA"?