From shreedhar@lucidindia.net Tue Jul 1 07:03:20 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 1FFAA30FDFA for ; Tue, 1 Jul 2003 07:03:20 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 91418-03 for ; Tue, 1 Jul 2003 04:03:09 -0300 (ADT) Received: from lucidindia.net (unknown [61.11.73.194]) by svr1.postgresql.org (Postfix) with ESMTP id EF65530F616 for ; Tue, 1 Jul 2003 04:03:03 -0300 (ADT) Received: from a4005 ([192.168.1.18]) by lucidindia.net (8.11.6/8.11.6) with SMTP id h61731026288 for ; Tue, 1 Jul 2003 12:33:02 +0530 Message-ID: <013a01c33f9e$c93740d0$1201a8c0@a4005> From: "shreedhar" To: "Postgre Admin" Subject: cannot read block 319 - Input/output Error Date: Tue, 1 Jul 2003 12:32:49 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0137_01C33FCC.E20A4CF0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests=BAYES_20, HTML_30_40, RCVD_IN_OSIRUSOFT_COM, RCVD_IN_RFCI X-Spam-Level: X-Archive-Number: 200307/6 X-Sequence-Number: 9347 This is a multi-part message in MIME format. ------=_NextPart_000_0137_01C33FCC.E20A4CF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Why I could not able to take total backup of my database. Either I take bac= kup or Vaccum I am getting error in following table. How Can I solve this p= roblem. NOTICE: --Relation tblprojectfunctions-- ERROR: cannot read block 319 of tblprojectfunctions: Input/output error vacuumdb: vacuum pmnew_4 failed Thanks alot, Sreedhar Bhaskararaju ------=_NextPart_000_0137_01C33FCC.E20A4CF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Why I could not able to take total backup = of my=20 database. Either I take backup or Vaccum I am getting error in following ta= ble.=20 How Can I solve this problem.
 
NOTICE:  --Relation=20 tblprojectfunctions--
ERROR:  cannot read block 319 of=20 tblprojectfunctions: Input/output error
vacuumdb: vacuum  pmnew_4= =20 failed
 
Thanks alot,
 
Sreedhar Bhaskararaju
<= /HTML> ------=_NextPart_000_0137_01C33FCC.E20A4CF0-- From scott.marlowe@ihs.com Tue Jul 1 12:49:52 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 9E88F310A82 for ; Tue, 1 Jul 2003 12:49:52 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 52841-10 for ; Tue, 1 Jul 2003 09:49:42 -0300 (ADT) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by svr1.postgresql.org (Postfix) with ESMTP id C8DDC310A90 for ; Tue, 1 Jul 2003 09:49:41 -0300 (ADT) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.9/8.12.9) with ESMTP id h61CmtQX014891; Tue, 1 Jul 2003 06:48:59 -0600 (MDT) Date: Tue, 1 Jul 2003 06:43:14 -0600 (MDT) From: "scott.marlowe" To: shreedhar Cc: Postgre Admin Subject: Re: cannot read block 319 - Input/output Error In-Reply-To: <013a01c33f9e$c93740d0$1201a8c0@a4005> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner: Found to be clean X-MailScanner-SpamCheck: X-Archive-Number: 200307/14 X-Sequence-Number: 9355 On Tue, 1 Jul 2003, shreedhar wrote: > Why I could not able to take total backup of my database. Either I take > backup or Vaccum I am getting error in following table. How Can I solve > this problem. > > NOTICE: --Relation tblprojectfunctions-- > ERROR: cannot read block 319 of tblprojectfunctions: Input/output error > vacuumdb: vacuum pmnew_4 failed You've likely got a bad block on your hard drive. Does the backup complete except for that one table being munged? If so, try backing up as much of the table as you can (i.e. figure out which records cause the error and backup all the other ones in that table). The data in that sector is most likely gone.