SCSI Hard drive "MEDIUM ERROR"

Dan Nelson dnelson at allantgroup.com
Mon Nov 22 19:03:56 PST 2004


In the last episode (Nov 22), Ryan J. Cavicchioni said:
> What would this mean? I get it during heavy FTP transfers on a drive
> that is 75% full.
> 
> (da1:ahc0:0:8:0): MEDIUM ERROR info:381b12 csi:ff,ff,ff,ff asc:11,1
> (da1:ahc0:0:8:0): Read retries exhausted actual retry count: 104
> (da1:ahc0:0:8:0): Retrying Command (per Sense Data)
> (da1:ahc0:0:8:0): READ(10). CDB: 28 0 0 38 1a a0 0 0 80 0
> (da1:ahc0:0:8:0): CAM Status: SCSI Status Error
> (da1:ahc0:0:8:0): SCSI Status: Check Condition

A medium error is a physical media error.  The drive tried reading a
sector 104 times and couldn't recover the data.  If you have AWRE
enabled, writing to that disk block should cause the drive to mark it
bad and use a spare sector.  "camcontrol modepage da1 -m 1 -e -P 3"
will let you turn it on.  Enabling ARRE is a good idea too (if the
drive detects a bad sector but recovered it, it will reallocate the
block).

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list