From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,9f70fa4a61373d59 X-Google-Attributes: gidfa528,public 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 Message-ID: <8t27ba$q57$1@mailint03.im.hou.compaq.com>#1/1 X-Deja-AN: 684955902 Distribution: world References: <39F462FB.FBA6E7@nospam.guacamole.com> <8t1t3q$o9a$1@mailint03.im.hou.compaq.com> <39F48A2A.24ADF0E9@nospam.guacamole.com> X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 972333226 26791 16.82.16.67 (23 Oct 2000 20:33:46 GMT) Organization: Digital Equipment Corporation Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) NNTP-Posting-Date: 23 Oct 2000 20:33:46 GMT Newsgroups: comp.unix.tru64 In article <39F48A2A.24ADF0E9@nospam.guacamole.com>, Marble Head 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