Re: could not open relation 1663/16525/2604: no such file or dir

From: Hannes Dorbath <light(at)theendofthetunnel(dot)de>
To: giuseppe(dot)derossi(at)email(dot)it
Subject: Re: could not open relation 1663/16525/2604: no such file or dir
Date: 2007-07-11 10:53:18
Message-ID: 4694B69E.3010701@theendofthetunnel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 11.07.2007 12:09, giuseppe(dot)derossi(at)email(dot)it wrote:
> Help,
> alfter my computer chrashing, when I try to read a table by using pgAdmin I
> get the following errors:
> could not open relation 1663/16525/2604
> could not open relation 1663/16525/2611
> could not open relation 1663/16525/2604
> after that if I push ok I can see the data in the tables
> I see in the proprieties window that the create definition miss the fields.
> The conseguencies consists on I can't perform the backUp.
>
> How can I solve the problem ?

Two things:

1.) Do backups
2.) Disable write caching in your I/O sub system unless it's battery backed.

Shutdown PG, backup $PGDATA directory, start PG, try REINDEX DATABASE
<you_db>;. If that doesn't help anything, there are some tools available
on pg foundry to inspect the raw files in $PGDATA. You might be able to
get some of your data back using them.

--
Regards,
Hannes Dorbath

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ray Stell 2007-07-11 12:14:13 Re: 8.2.4 patches?
Previous Message giuseppe.derossi 2007-07-11 10:09:57 could not open relation 1663/16525/2604: no such file or dir