Hard drives these days are cheep. I agree that you should get the data off
if you can and buy another drive. 

If you really want to check the drive and verify it has errors then check
out the binary called badblocks. I do not believe OpenBSD has badblocks but
you can use the cd distro "system rescue cd" and run badblocks from there
without removing the drive from the current machine.  

NON-destructive BadBlock test (1gig ram in machine)
      badblocks -b 4096 -c 98304 -p 0 -s /dev/hda

For a more detailed explanation http://calomel.org/badblocks_wipe.html

--
 Calomel @ http://calomel.org

On Fri, Sep 28, 2007 at 08:17:22AM -0300, Leonardo Marques wrote:
>Hey guys,
>
>I've a HD which are returning a lot of errors. Someone know some good
>tool to analyze this disk and tell me if i've to replace it or if
>exist some way to repair it?
>
>HD: WDC WD1200JD-00HBB0
>
>Errors:
>
>dmesg |grep -i wd0
>wd0 at pciide0 channel 0 drive 0: <WDC WD1200JD-00HBB0>
>wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
>wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
>dkcsum: wd0 matches BIOS drive 0x82
>wd0(pciide0:0:0): timeout
>wd0a: device timeout reading fsbn 96 of 96-127 (wd0 bn 159; cn 0 tn 2
>sn 33), retrying
>wd0a: device timeout reading fsbn 96 of 96-127 (wd0 bn 159; cn 0 tn 2
>sn 33), retrying
>wd0a: device timeout reading fsbn 96 of 96-127 (wd0 bn 159; cn 0 tn 2
>sn 33), retrying
>wd0a: device timeout reading fsbn 96 of 96-127 (wd0 bn 159; cn 0 tn 2
>sn 33), retrying
>wd0a: device timeout reading fsbn 96 of 96-127 (wd0 bn 159; cn 0 tn 2
>sn 33), retrying
>wd0a: device timeout reading fsbn 96 of 96-127 (wd0 bn 159; cn 0 tn 2 sn 33)
>wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
>wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
>wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
>wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
>wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
>wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
>
>Thanks for all attention.
>
>-- 
>---------------------------
>Leonardo Marques
>---------------------------
>Blog: BeNerd.analyx.org
>Website: www.analyx.org

Reply via email to