X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.192]) by svr1.postgresql.org (Postfix) with ESMTP id C05DDCC83F for ; Thu, 17 Jul 2003 18:32:01 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr4.postgresql.org [64.117.224.192]) (amavisd-new, port 10024) with ESMTP id 35485-04 for ; Thu, 17 Jul 2003 18:32:30 +0000 (GMT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 630BCCC4E3 for ; Thu, 17 Jul 2003 15:32:00 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h6HIWUQ3005792; Thu, 17 Jul 2003 14:32:30 -0400 (EDT) To: Sergio Pili Cc: "'pgsql-admin@postgresql.org'" Subject: Re: pg_dump: dumpBlobs(): error reading large object: ERROR: In-reply-to: <069B887B914BD51180420004AC33E2E80A47874C@MAILSVR_A> References: <069B887B914BD51180420004AC33E2E80A47874C@MAILSVR_A> Comments: In-reply-to Sergio Pili message dated "Thu, 17 Jul 2003 11:51:26 -0300" Date: Thu, 17 Jul 2003 14:32:30 -0400 Message-ID: <5791.1058466750@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/154 X-Sequence-Number: 9494 Sergio Pili writes: > pg_dump abort with this error: > pg_dump: dumpBlobs(): error reading large object: ERROR: cannot read block > 6389 of pg_largeobject_loid_pn_index: Input/output error > This error is caused by bad block on my hard drive? Looks like it. > How can i do to recover database without lost blobs? Or to lose less > information? If the only loss is in that index, you can rebuild the index using REINDEX. regards, tom lane