1753899 Members
7871 Online
108809 Solutions
New Discussion юеВ

I/O read error

 
Sergio Crespo
Advisor

I/O read error

Hi all !!!!

I'm facing a problem with a disk, with a defective block. The issue is that it is a datafile and I can't copy it into another location due to I/O read errors .... Is there a way to force the copy? Will it be safe to do a fsck?

Thankx
SRBC
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: I/O read error

Hi Sergio,

Difficult question, If you have a good backup I would replace the drive and restore the data. You could try a fsck, but there are changes you will loose the diffective block.

Hope this helps,
Robert-Jan
Henry Chua
Super Advisor

Re: I/O read error

Hi Sergie,

I am assuming that you were prompted the error in the transfer process. Sad to say if the data lies on a physically bad block, it will be quite impossible to recover it using fsck - FSCK cant fix physical faults.. I am not aware of any other methods that can do the trick either.

do a "dd if=/dev/rdsk/ of=/dev/null bs=1024k" if an I/O error is returned... u should change the disk before more damage is done.

This is all I know...
Sunil Sharma_1
Honored Contributor

Re: I/O read error

Hi,

There is no option for force copy here. You have to change disk and restor data from latest good backup

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Sergio Crespo
Advisor

Re: I/O read error

Thank you all...

I've been trying even with a full fsck and I could not workaround that I/O error.
I'll have to replace the disk...

Cya
SRC
SRBC