Re: could not open relation...No such file or directory

From: Sim Zacks <sim(at)compulab(dot)co(dot)il>
To: PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: Re: could not open relation...No such file or directory
Date: 2010-12-22 17:56:45
Message-ID: 4D123BDD.5040004@compulab.co.il
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/22/2010 07:20 PM, Tom Lane wrote:

> Sim Zacks<sim(at)compulab(dot)co(dot)il> writes:
>>>> FATAL: could not open relation 1663/26468499/1259: No such file or
>>>> directory
>>> I begin to wonder if the subdirectory $PGDATA/base/26468499 is there at
>>> all?
>> /var/lib/postgresql/8.2/data/base/26468499 does exist, and there are
>> 1212 files in it, but so far all the relationships that I have seen in
>> the error logs are not in the directory.
> Well, 1259 is pg_class, so if you've lost that then this database is
> toast. I think your filesystem must've had a hiccup.
>
> regards, tom lane
In my log file there are 13 files that can't be open and 3 of those
actually exist, the rest do not.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-12-22 18:41:31 Re: could not open relation...No such file or directory
Previous Message Sim Zacks 2010-12-22 17:34:33 Re: could not open relation...No such file or directory