public inbox for [email protected]
help / color / mirror / Atom feedFrom: Sbob <[email protected]>
To: Pgsql-admin <[email protected]>
Subject: could not read block 0 in file Error
Date: Fri, 22 Apr 2022 14:23:00 -0600
Message-ID: <[email protected]> (raw)
Hi all;
We had an issue with a PostgreSQL v12 cluster. Not sure all of the
history as I was pulled in late, however we were seeing that the db
would not start due to WAL inconsistencies, was throwing an error about
could not find wal records.
So we ran a pg_resetwal -f -D [data dir]
we are dumping (via pg_dump) all the databases in the broken cluster and
I will restore them to a new cluster,
however in one of the databases, for one of the tables we are getting this:
pg_dump: error: Dumping the contents of table "bigtable" failed:
PQgetResult() fai
led.
pg_dump: error: Error message from server: ERROR: could not read block
0 in file "base/6328739/6340053": read only 0 of 8192 bytes
pg_dump: error: The command was: COPY public.bigtable (recordid,
containerid, record_type, description, overlaygroup) TO stdout;
Is there any way to recover?
Thanks in advance
view thread (3+ messages) latest in thread
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: could not read block 0 in file Error
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox