Dealing with bad blocks on a hard disc

Marc van Woerkom marc.vanwoerkom at FernUni-Hagen.de
Mon Dec 18 07:18:22 PST 2006


Hi,

my notebook's hard drive seems to be damaged:

Dec 18 15:49:13 hokage kernel: ad0: FAILURE - READ_DMA 
status=51<READY,DSC,ERROR> error=40<UNCORRECTABLE> LBA=9919567
Dec 18 15:49:13 hokage kernel: 
g_vfs_done():ad0s1f[READ(offset=1360723968, length=32768)]error = 5
Dec 18 15:49:13 hokage kernel: vnode_pager_getpages: I/O read error
Dec 18 15:49:13 hokage kernel: vm_fault: pager read error, pid 1048 (cvsup)
Dec 18 15:49:17 hokage kernel: ad0: FAILURE - READ_DMA 
status=51<READY,DSC,ERROR> error=40<UNCORRECTABLE> LBA=9919567
Dec 18 15:49:17 hokage kernel: 
g_vfs_done():ad0s1f[READ(offset=1360723968, length=32768)]error = 5
Dec 18 15:49:17 hokage kernel: vnode_pager_getpages: I/O read error
Dec 18 15:49:17 hokage kernel: vm_fault: pager read error, pid 1048 (cvsup)
Dec 18 15:49:17 hokage kernel: pid 1048 (cvsup), uid 0: exited on signal 6

Is it possible to check the disc for bad blocks and to mark them as 
unusable,
thus allowing me continue using the hard drive?

Or what would you recommend?

Funny, I use FreeBSD about 10 years, this is the first time I have
that problem and it seems not to be addressed in the handbook.

Regards,
Marc



More information about the freebsd-questions mailing list