Re: cannot read block 319 - Input/output Error

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: shreedhar <shreedhar(at)lucidindia(dot)net>
Cc: Postgre Admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: cannot read block 319 - Input/output Error
Date: 2003-07-01 12:43:14
Message-ID: Pine.LNX.4.33.0307010641110.16127-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message scott.marlowe 2003-07-01 13:00:45 Re: Max file size
Previous Message mauricio 2003-07-01 12:17:24 Max file size