[Pkg-postgresql-public] Bug#705219: pg_checksystem does not respect start.conf

Christoph Berg myon at debian.org
Thu Apr 18 11:47:34 UTC 2013


Re: Stephen Frost 2013-04-11 <20130411130202.GE4361 at tamriel.snowman.net>
> In our environment, we have shared storage which allows us to fail over
> between two systems, however, we intentionally keep on the filesystems
> mounted for those clusters which are running on the current system, to
> reduce the chances of two postmasters (on different systems) trying to
> access/use the same database files.

Fwiw, what we are doing for a customer is to put the config in some
directory on the data partition, and point a symlink there from
/etc/postgresql/$version. That way, the config is also invisible while
the filesystem is on the other node and hence I've never seen this
problem.

> My suggestion would be for pg_checksystem to skip checking clusters
> which are marked as 'disabled' in start.conf.  Another option might be
> for it to more cleanly handle the error case from 'df'.

PgCommon.pm is now ignoring all errors from df. As pg_checksystem is
just meant as a sanity check, that sounded like the best option for
me.

Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/



More information about the Pkg-postgresql-public mailing list