Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2004 21:03:51 -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:  <20041123030351.GA31803@dan.emsphone.com>
In-Reply-To: <41A2A7B2.4000601@confabulator.net>
References:  <41A2A7B2.4000601@confabulator.net>

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



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