pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Francesco Dalla Ca' <f.dallaca@cineca.it>
To: pgsql-admin@postgresql.org
Subject: pg 8.0: Restoring the catalog after disk corruption: it's possible?
Date: Thu, 23 Jun 2005 10:11:16 +0200 (MEST)
Message-ID: <42BA6EA4.1070806@cineca.it> (raw)

With Pg 8.0.x, with the capability of tablespace, it's possible to 
create a Database that relie on many tbs.
Scenario:
I create the catalog (schemes pg_catalog, information_schema, obviously 
except the tables/view that relies in tbs "pg_global") on the tablespace 
"tbs1" and all other user objects on a different tbs "tbs2".
tbs1 and tbs2 stand on different volumes (v1 and v2).
After a v1 crash and subsequent tbs1 and catalog lost, there are some 
ways (scripts?) to restore the catalog on a freshly new "tbs1"? (without 
creating a DB and restarting from the last backup?).

Best regards.

-- 
===========================================
	 CINECA  Via Magnanelli 6/3
    40033 Casalecchio di Reno (Bologna)

	  Settore Gestione Sistemi

            Francesco Dalla Ca'
        Email  f.dallaca@cineca.it
===========================================




Message-ID: <42BA6EA4.1070806@cineca.it>
Permalink:  ../42BA6EA4.1070806@cineca.it/
Also on:    postgresql.org/message-id/42BA6EA4.1070806@cineca.it

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: f.dallaca@cineca.it
  Subject: Re: pg 8.0: Restoring the catalog after disk corruption: it's possible?
  In-Reply-To: <42BA6EA4.1070806@cineca.it>
  References: <42BA6EA4.1070806@cineca.it>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox