pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_dump: dumpBlobs(): error reading large object: ERROR:
4+ messages / 3 participants
[nested] [flat]

* pg_dump: dumpBlobs(): error reading large object: ERROR:
@ 2003-07-17 14:41  Sergio Pili <sergio.pili@spm.com.ar>
  0 siblings, 0 replies; 4+ messages in thread

From: Sergio Pili @ 2003-07-17 14:41 UTC (permalink / raw)
  To: pgsql-admin

Hi!

I could not able to take total backup of my database:

uname -a:
Linux mail 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown


select version(); :
 PostgreSQL 7.2.1 on i686-pc-linux-gnu, compiled by GCC 2.96

pg_dump command:
pg_dump -d base -Fc -Z9 -b -v -f base.dmp 

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?

How can i do to recover database without lost blobs? Or to lose the smaller
amount of information?

Thanks,

Sergio Pili









^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pg_dump: dumpBlobs(): error reading large object: ERROR:
@ 2003-07-17 14:51  Sergio Pili <sergio.pili@spm.com.ar>
  0 siblings, 1 reply; 4+ messages in thread

From: Sergio Pili @ 2003-07-17 14:51 UTC (permalink / raw)
  To: pgsql-admin

Hi!

I could not able to take total backup of my database:

uname -a:
Linux mail 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown


select version(); :
 PostgreSQL 7.2.1 on i686-pc-linux-gnu, compiled by GCC 2.96

pg_dump command:
pg_dump -d base -Fc -Z9 -b -v -f base.dmp 

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?

How can i do to recover database without lost blobs? Or to lose less
information?

Thanks,

Sergio Pili



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pg_dump: dumpBlobs(): error reading large object: ERROR:
@ 2003-07-17 18:32  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Sergio Pili <sergio.pili@spm.com.ar>
  0 siblings, 1 reply; 4+ messages in thread

From: Tom Lane @ 2003-07-17 18:32 UTC (permalink / raw)
  To: Sergio Pili <sergio.pili@spm.com.ar>; +Cc: pgsql-admin

Sergio Pili <sergio.pili@spm.com.ar> 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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pg_dump: dumpBlobs(): error reading large object: ERROR:
@ 2003-07-18 08:32  Dani Oderbolz <oderbolz@ecologic.de>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Dani Oderbolz @ 2003-07-18 08:32 UTC (permalink / raw)
  To: pgsql-admin

Tom Lane wrote:

>Sergio Pili <sergio.pili@spm.com.ar> 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.
>  
>
But still, I would not go on much longer with that Harddisk...





^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2003-07-18 08:32 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-07-17 14:41 pg_dump: dumpBlobs(): error reading large object: ERROR: Sergio Pili <sergio.pili@spm.com.ar>
2003-07-17 14:51 pg_dump: dumpBlobs(): error reading large object: ERROR: Sergio Pili <sergio.pili@spm.com.ar>
2003-07-17 18:32 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-07-18 08:32   ` Dani Oderbolz <oderbolz@ecologic.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