Re: Can Postgres 8.x start if some disks containing tablespaces are not mounted? - Mailing list pgsql-general

From Zdenek Kotala
Subject Re: Can Postgres 8.x start if some disks containing tablespaces are not mounted?
Date
Msg-id 47F37F98.60005@sun.com
Whole thread Raw
In response to Re: Can Postgres 8.x start if some disks containing tablespaces are not mounted?  ("Morris Goldstein" <morris.x.goldstein@gmail.com>)
Responses Re: Can Postgres 8.x start if some disks containing tablespaces are not mounted?  ("Morris Goldstein" <morris.x.goldstein@gmail.com>)
List pgsql-general
Morris Goldstein napsal(a):

> But that makes me wonder: what about this sequence of events:
>
> - Postgres running normally on /dev/sda and /dev/sdb.
> - Update to table in /dev/sdb tablespace is committed but still exists in WAL.
> - Postgres crashes (e.g. power failure).
> - Postgres starts with /dev/sda only.
> - Recovery needs to update table in /dev/sdb tablespace.
>
> I assume bad things will happen in this case.

yes, Probably best solution in this case is to implemented tablespace
availability into postgreSQL and PostgreSQL shouldn't start when tablespace is
missing.

        Zdenek

pgsql-general by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: Foreign keys causing conflicts leading toserialization failures
Next
From: Michelle Konzack
Date:
Subject: FW by pgsql-general-owner@postgresql.org : [pgsql-general] Daily digest v1.8030 (22 messages)