From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 03:03:56 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB08516A4CE for ; Tue, 23 Nov 2004 03:03:56 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F56243D58 for ; Tue, 23 Nov 2004 03:03:53 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.1) id iAN33qn0091898; Mon, 22 Nov 2004 21:03:52 -0600 (CST) (envelope-from dan) Date: Mon, 22 Nov 2004 21:03:51 -0600 From: Dan Nelson To: "Ryan J. Cavicchioni" Message-ID: <20041123030351.GA31803@dan.emsphone.com> References: <41A2A7B2.4000601@confabulator.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41A2A7B2.4000601@confabulator.net> X-OS: FreeBSD 5.3-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: SCSI Hard drive "MEDIUM ERROR" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2004 03:03:56 -0000 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