Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 96 10:41:04 +0100
From:      garyj@frt.dec.com
To:        Tony Kimball <alk@Think.COM>
Cc:        questions@freebsd.org
Subject:   Re: bad sectors 
Message-ID:  <9610290941.AA17796@cssmuc.frt.dec.com>
In-Reply-To: Message from Tony Kimball <alk@Think.COM>  of Mon, 28 Oct 96  17:17:01 CST.

next in thread | previous in thread | raw e-mail | index | archive | help

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





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