From owner-freebsd-scsi Sat Nov 30 14:40:25 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13A3237B401 for ; Sat, 30 Nov 2002 14:40:23 -0800 (PST) Received: from rly-ip05.mx.aol.com (rly-ip05.mx.aol.com [64.12.138.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D5CE43ED1 for ; Sat, 30 Nov 2002 14:40:18 -0800 (PST) (envelope-from daniel.geske@yoc.de) Received: from logs-to.proxy.aol.com (logs-to.proxy.aol.com [152.163.204.2]) by rly-ip05.mx.aol.com (v89.10) with ESMTP id RELAYIN8-1130174006; Sat, 30 Nov 2002 17:40:06 1900 Received: from Bowman (AC9CA744.ipt.aol.com [172.156.167.68]) by logs-to.proxy.aol.com (8.10.0/8.10.0) with ESMTP id gAUMd8g06301; Sat, 30 Nov 2002 17:39:11 -0500 (EST) From: "Daniel Geske" To: "'Andy Farkas'" , Subject: RE: fsck: PLEASE RERUN FSCK - does not fix problem :-( Date: Sat, 30 Nov 2002 23:36:20 +0100 Organization: YOC AG Message-ID: <000101c298c0$f0c46220$a52efea9@Bowman> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20021201074308.N15913-100000@hewey.af.speednet.com.au> X-Apparently-From: BigOnLRAR@aol.com Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear Andy, > # camcontrol defects da0 > camcontrol: no defect list format specified > > Is that good or bad? Neither good nor bad. You need to specify more parameters. 'man camcontrol' gives you this: camcontrol defects [device id] [generic args] <-f format> [-P] [-G] defects Send the SCSI READ DEFECT DATA (10) command (0x37) to the given device, and print out any combination of: the total number of defects, the primary defect list (PLIST), and the grown defect list (GLIST). -f format The three format options are: block, to print out the list as logical blocks, bfi, to print out the list in bytes from index format, and phys, to print out the list in physical sector format. The format argument is required. Most drives support the physical sector format. Some drives support the logical block format. Many drives, if they don't support the requested for- mat, return the data in an alternate format, along with sense information indicating that the requested data format isn't supported. The camcontrol utility attempts to detect this, and print out whatever format the drive returns. If the drive uses a non-standard sense code to report that it doesn't support the requested format, camcontrol will probably see the error as a failure to complete the request. -G Print out the grown defect list. This is a list of bad blocks that have been remapped since the disk left the factory. -P Print out the primary defect list. If neither -P nor -G is specified, camcontrol will print out the number of defects given in the READ DEFECT DATA header returned from the drive. ...means that you must at least run 'camcontrol defects' with these parameters: 1) device identifier:da0 in you case, and 2) the format you wish to get your defects report in, like '-f block' etc. Go on from here. Much success! Greetings Daniel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message