SCSI Hard drive "MEDIUM ERROR"

Dan Nelson dnelson at allantgroup.com
Mon Nov 22 19:45:54 PST 2004


In the last episode (Nov 22), Ryan J. Cavicchioni said:
> AWRE (Auto Write Reallocation Enbld):  1
> ARRE (Auto Read Reallocation Enbld):  1
> TB (Transfer Block):  0
> RC (Read Continuous):  0
> EER (Enable Early Recovery):  0
> PER (Post Error):  0
> DTE (Disable Transfer on Error):  0
> Read Retry Count:  255
> Write Retry Count:  255
> 
> It seems to be enabled. Is there anything else that I can do?

ARRE only works if the data is recoverable, and AWRE only works on
writes, so if the bad block has already been assigned to a file, it's
difficult to fix unless you know the filename.  You can try doing a
"tar xvfl /dev/null /mountpoint" and see where it stops, then dd
/dev/zero onto the file to force a write. Another way is to get the
drive to check all the blocks on the disk by running a Verify operation
from your SCSI BIOS.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list