Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2004 21:45:53 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        "Ryan J. Cavicchioni" <ryan@confabulator.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SCSI Hard drive "MEDIUM ERROR"
Message-ID:  <20041123034553.GB48882@dan.emsphone.com>
In-Reply-To: <41A2CCFA.4000408@confabulator.net>
References:  <41A2A7B2.4000601@confabulator.net> <20041123030351.GA31803@dan.emsphone.com> <41A2CCFA.4000408@confabulator.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041123034553.GB48882>