From owner-freebsd-questions Tue Oct 29 01:46:50 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA10622 for questions-outgoing; Tue, 29 Oct 1996 01:46:50 -0800 (PST) Received: from mail12.digital.com (mail12.digital.com [192.208.46.20]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id BAA10617 for ; Tue, 29 Oct 1996 01:46:47 -0800 (PST) From: garyj@frt.dec.com Received: from cssmuc.frt.dec.com by mail12.digital.com (8.7.5/UNX 1.5/1.0/WV) id EAA07200; Tue, 29 Oct 1996 04:41:29 -0500 (EST) Received: from localhost by cssmuc.frt.dec.com; (5.65v3.2/1.1.8.2/14Nov95-0232PM) id AA17796; Tue, 29 Oct 1996 10:41:04 +0100 Message-Id: <9610290941.AA17796@cssmuc.frt.dec.com> X-Mailer: exmh version 1.6.4 10/10/95 To: Tony Kimball Cc: questions@freebsd.org In-Reply-To: Message from Tony Kimball of Mon, 28 Oct 96 17:17:01 CST. Reply-To: gjennejohn@frt.dec.com Subject: Re: bad sectors Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 29 Oct 96 10:41:04 +0100 X-Mts: smtp Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk alk@Think.COM writes: > > I want to map out bad sectors on a disk. > I tried 'bad144 sd1' and here is an excerpt: > > sn=509571, cn=11316, tn=59, sn=56 > sn=1100276, cn=24436, tn=111, sn=101 > sn=1145378, cn=25446, tn=50, sn=58 > bad144: /dev/rsd1c: bad flag in bad-sector table > bad144: /dev/rsd1c: bad magic number > bad144: cyl/trk/sect out of range in existing entry: sn=682930, cn=15163, tn= -119, sn=0 > bad144: cyl/trk/sect out of range in existing entry: sn=1272565, cn=28265, tn -=105, sn=115 > > Does this mean that the bad sector information on this disk is corrupt > and not useful? Or does it mean that bad144 only applies to wd > devices? Or does it mean something else altogether? bad144 is not for SCSI disks, it's for [E]IDE disks. SCSI disks are supposed to re-map bad sectors automatically. Every SCSI disk has a region (which is not accessible to the user) with spare sectors. Do not use bad144 on SCSI disks. --- Gary Jennejohn (work) gjennejohn@frt.dec.com (home) Gary.Jennejohn@munich.netsurf.de (play) gj@freebsd.org