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

Attachment: signature.asc
Description: Digital signature

Reply via email to