From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: Hard Drive Bad Blocks
Date: 2000/10/23 [thread overview]
Message-ID: <8t27ba$q57$1@mailint03.im.hou.compaq.com> (raw)
In-Reply-To: 39F48A2A.24ADF0E9@nospam.guacamole.com
In article <39F48A2A.24ADF0E9@nospam.guacamole.com>, Marble Head <Marble.Head@nospam.guacamole.com> writes:
>> "reassign lba". Most well behaved drives will try fairly extensive
>> error recovery and if allowed by their firmware options will replace
>> the block themselves. The driver will do the same thing they and
>
>Correct me if I'm wrong, but the FS stores a list of blocks that belong to a file. Right? So if block
>reassignment is done transparently at the hardware/firmware level, the block numbering must be rearranged, so
>it is no longer linear, and the same block number now corresponds to different physical data. This implies
>that prior to the reassignment, there existed a finite number of blocks, to which no block numbering had been
>assigned.
>If this is the case, I have more confusion, but it's probably wrong somehow.
The scu(8) command calls it "lba" for a reason; logical block address. The
drive handles the level of indirection needed to presents a linear logical
block space where the underlying physical blocks may be elsewhere. Good
disk design ensures that some replacement blocks are "nearby" so that
the performance loss of using a replacement block is minimal. Since
most drives have some replaced blocks as shipped from the factor, there's
always some need to go a little out of the way to get the data.
I think the general layout on some of our old MSCP disks was; a block
or two on each track (no more than a rotation away), a whole surface
of blocks (one track per cylinder, just a head switch away) and
a bunch of spare cylinders on the inside or outside.
--
Alan Rollow alan@nabeth.cxo.dec.com
prev parent reply other threads:[~2000-10-23 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-23 4:00 Hard Drive Bad Blocks Marble Head
2000-10-23 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2000-10-23 4:00 ` Marble Head
2000-10-23 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox