pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_dump: ERROR: cannot read block 1055 of summary: Input/output error
4+ messages / 2 participants
[nested] [flat]
* pg_dump: ERROR: cannot read block 1055 of summary: Input/output error
@ 2003-06-27 21:53 Dimitri Nagiev <dnagiev@gmx.de>
2003-06-28 03:12 ` Re: pg_dump: ERROR: cannot read block 1055 of summary: Input/output error Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: Dimitri Nagiev @ 2003-06-27 21:53 UTC (permalink / raw)
To: pgsql-admin; +Cc: dmagiev@gmx.de
Hi all,
using pg_dump I get the following error message:
pg_dump stats > stats.sql
pg_dump: ERROR: cannot read block 1055 of summary: Input/output error
pg_dump: lost synchronization with server, resetting connection
pg_dump: SQL command to dump the contents of table "summary" failed:
PQendcopy() failed.
pg_dump: Error message from server: pg_dump: The command was: COPY
public.summary (id, timestamp, user, keyfigure, total, absolutedifference,
relativedifference) TO stdout;
calls from psql give me similar trouble:
# select count(*) from summary;
ERROR: cannot read block 1055 of summary: Interrupted system call
some more info:
- we are using postgresql 7.3.2
- before the problems, the table had approx. 200.000 records without any
problems
- a regular import is (was) feeding about 500 records a day into the table.
There's a good backup from yesterday, but still I am very concerned. Any
ideas on how to fix the problem ? Any reasons why it does occur ?
thanks
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pg_dump: ERROR: cannot read block 1055 of summary: Input/output error
2003-06-27 21:53 pg_dump: ERROR: cannot read block 1055 of summary: Input/output error Dimitri Nagiev <dnagiev@gmx.de>
@ 2003-06-28 03:12 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-06-28 10:22 ` Re: pg_dump: ERROR: cannot read block 1055 of summary: Input/output error Dimitri Nagiev <dnagiev@gmx.de>
2003-06-28 11:58 ` Re: pg_dump: ERROR: cannot read block 1055 of summary: Input/output error Dimitri Nagiev <dnagiev@gmx.de>
0 siblings, 2 replies; 4+ messages in thread
From: Tom Lane @ 2003-06-28 03:12 UTC (permalink / raw)
To: Dimitri Nagiev <dnagiev@gmx.de>; +Cc: pgsql-admin; dmagiev@gmx.de
Dimitri Nagiev <dnagiev@gmx.de> writes:
> using pg_dump I get the following error message:
> pg_dump: ERROR: cannot read block 1055 of summary: Input/output error
> calls from psql give me similar trouble:
> ERROR: cannot read block 1055 of summary: Interrupted system call
> There's a good backup from yesterday, but still I am very concerned.
As you should be. It sounds like your disk has developed a bad sector.
I'd recommend replacing the disk --- where one sector has gone bad,
others may soon follow.
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pg_dump: ERROR: cannot read block 1055 of summary: Input/output error
2003-06-27 21:53 pg_dump: ERROR: cannot read block 1055 of summary: Input/output error Dimitri Nagiev <dnagiev@gmx.de>
2003-06-28 03:12 ` Re: pg_dump: ERROR: cannot read block 1055 of summary: Input/output error Tom Lane <tgl@sss.pgh.pa.us>
@ 2003-06-28 10:22 ` Dimitri Nagiev <dnagiev@gmx.de>
1 sibling, 0 replies; 4+ messages in thread
From: Dimitri Nagiev @ 2003-06-28 10:22 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin; dmagiev@gmx.de
> Dimitri Nagiev <dnagiev@gmx.de> writes:
> > using pg_dump I get the following error message:
> > pg_dump: ERROR: cannot read block 1055 of summary: Input/output error
> > calls from psql give me similar trouble:
> > ERROR: cannot read block 1055 of summary: Interrupted system call
>
> > There's a good backup from yesterday, but still I am very concerned.
>
> As you should be. It sounds like your disk has developed a bad sector.
> I'd recommend replacing the disk --- where one sector has gone bad,
> others may soon follow.
>
> regards, tom lane
>
thanks, yes it could be a hard disk issue, at least when I'm trying to zip
the whole psql directory I get the following message:
adding: pgsql/data/base/892124/937757 zip warning: file size changed
while zi (deflated 88%)
as the postmaster has been shut down, nobody should change files in the
pgsql directory tree.
rgds
dimitri
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pg_dump: ERROR: cannot read block 1055 of summary: Input/output error
2003-06-27 21:53 pg_dump: ERROR: cannot read block 1055 of summary: Input/output error Dimitri Nagiev <dnagiev@gmx.de>
2003-06-28 03:12 ` Re: pg_dump: ERROR: cannot read block 1055 of summary: Input/output error Tom Lane <tgl@sss.pgh.pa.us>
@ 2003-06-28 11:58 ` Dimitri Nagiev <dnagiev@gmx.de>
1 sibling, 0 replies; 4+ messages in thread
From: Dimitri Nagiev @ 2003-06-28 11:58 UTC (permalink / raw)
To: pgsql-admin; +Cc: dnagiev@gmx.de
yes, it was a problem with the hard disk.
thanks & best regards
dimitri
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2003-06-28 11:58 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-06-27 21:53 pg_dump: ERROR: cannot read block 1055 of summary: Input/output error Dimitri Nagiev <dnagiev@gmx.de>
2003-06-28 03:12 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-06-28 10:22 ` Dimitri Nagiev <dnagiev@gmx.de>
2003-06-28 11:58 ` Dimitri Nagiev <dnagiev@gmx.de>
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