Re: Can Postgres 8.x start if some disks containing tablespaces are not mounted?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Morris Goldstein" <morris(dot)x(dot)goldstein(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Can Postgres 8.x start if some disks containing tablespaces are not mounted?
Date: 2008-03-31 18:10:35
Message-ID: 15645.1206987035@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

"Morris Goldstein" <morris(dot)x(dot)goldstein(at)gmail(dot)com> writes:
> Suppose I have a database with $PGDATA on /dev/sda, and a tablespace
> directory on /dev/sdb. Will Postgres start successfully if /dev/sda is
> mounted and /dev/sdb is not? If not, why not?

It will start, but you will have unpleasant failures when you try to use
tables in the secondary tablespace ... note that if autovacuum is on,
that is likely to happen even without any explicit action on your part.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavan Deolasee 2008-03-31 18:34:25 Re: [HACKERS] ANALYZE getting dead tuple count hopelessly wrong
Previous Message Zdenek Kotala 2008-03-31 17:58:32 Re: Can Postgres 8.x start if some disks containing tablespaces are not mounted?

Browse pgsql-hackers by date

  From Date Subject
Next Message sanjay sharma 2008-03-31 18:21:06 Re: Submission of Feature Request : RFC- for Implementing Transparent Data Encryption in P
Previous Message Zdenek Kotala 2008-03-31 17:58:32 Re: Can Postgres 8.x start if some disks containing tablespaces are not mounted?