Operating System - HP-UX
1834149 Members
2298 Online
110064 Solutions
New Discussion

Re: Bad block in optical disk

 
romano r
Frequent Advisor

Bad block in optical disk

Hi all,
I've an archive stored in a Magneto-optical library (HP 200fx). Running fsck on 4 of 30 mo disks it reports: Cannot read: BLK xxxxx.
I guess this is a phisical disk error, so I must replace the disk. I need to know If there is any other chance to correct this error and if I can determine at which file the bad blocks belong to.

Thank you
Romano
4 REPLIES 4
T G Manikandan
Honored Contributor

Re: Bad block in optical disk

Romano,

Try re-creating the file system on that disk.

After re-creation use fsck to check the file system.

It still the problem persists you need to replace the drive.

thanks
Jose Mosquera
Honored Contributor

Re: Bad block in optical disk

Hi,

Try **formating** the disk with mediainit command ("man mediainit" for details).

Rgds.

Volker Borowski
Honored Contributor

Re: Bad block in optical disk

Hi,
did you try to read the complete data form the raw-device using "dd" ?
If this is possible, try to set up a logical volume on a real disk and "dd" the data to the lvol. May be the fsck is correctable on the lvol and with luck you will be able to restore the filesystem.

good luck
Volker
Eugeny Brychkov
Honored Contributor

Re: Bad block in optical disk

If Volker's idea will not work (dd will fail somewhere in the middle) then you should backup all files accessible from the disk to another media and throw this current media away. In addition, why not to try HP LTT http://www.hp.com/cposupport/information_storage/support_doc/lpg50128.html ? BTW, did you try to read this 'bad' media by both drives? Maybe one drive is faulty, not disks? Please pay special attention to environment - dusty one can cause such intermittent or solid disk failures
Eugeny