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

Stephen Frost sfrost at snowman.net
Thu Apr 11 13:02:02 UTC 2013


Package: postgresql-common
Version: 141

postgresql-common provides a way to mark clusters as "auto", "manual",
or "disabled".  When a cluster is marked as "disabled", however,
pg_checksystem will still try to verify that the cluster is valid and
will attempt to do things like check the filesystem associated with the
cluster.

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.  pg_checksystem throws an error in
this case though because the 'df' doesn't work against the cluster which
we have marked as 'disabled'.

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'.

		Thanks,

			Stephen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20130411/a4413547/attachment.pgp>


More information about the Pkg-postgresql-public mailing list