frequency of dup/bad blocks on hard drive

frequency of dup/bad blocks on hard drive

Post by Michael Shane Crow » Fri, 20 Mar 1998 04:00:00



fsck is able to find stuff like this on a _daily_ basis:

Duplicate blocks found... invoking duplicate block passes.
Pass 1B: Rescan for duplicate/bad blocks
Duplicate/bad block(s) in inode 26677: 132634 132635 132636 132637
132638 132639 132640 132641 132642
Duplicate/bad block(s) in inode 26680: 132634 132635 132636 132637
132638 132639 132640 132641 132642
Pass 1C: Scan directories for inodes with dup blocks.
Pass 1D: Reconciling duplicate blocks
(There are 2 inodes containing duplicate/bad blocks.)

File /var/log/cron (inode #26680, mod time Thu Mar 19 11:01:00 1998)
  has 9 duplicate block(s), shared with 1 file(s):
        /var/log/secure (inode #26677, mod time Thu Mar 19 10:58:33
1998)
Clone duplicate/bad blocks<y>? yes

File /var/log/secure (inode #26677, mod time Thu Mar 19 10:58:33 1998)
  has 9 duplicate block(s), shared with 1 file(s):
        /var/log/cron (inode #26680, mod time Thu Mar 19 11:01:00 1998)
Duplicated blocks already reassigned or cloned.

How do I know this? I have a PC that "freezes up" every now and then. At
reboot, fsck finds stuff like this. So, periodically I've been running
fsck to see what it can find and well, here it is. This happens on 6 new
Dell PII 266's that we have. Any ideas?
Here is some hdparm info if that helps.

crchi9eb:/home/shanec% /sbin/hdparm /dev/hda

/dev/hda:
 multcount    =  0 (off)
 I/O support  =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 1023/64/63, sectors = 4124736, start = 0
crchi9eb:/home/shanec% /sbin/hdparm -i /dev/hda

/dev/hda:

 Model=QUANTUM FIREBALL ST2.1A, FwRev=A0F.0900, SerialNo=15272076
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=4092/16/63, TrkSize=32256, SectSize=512, ECCbytes=4
 BuffType=3(DualPortCache), BuffSize=81kB, MaxMultSect=16, MultSect=off
 DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
 CurCHS=4092/16/63, CurSects=4124736, LBA=yes, LBAsects=4124736
 tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0 mword1
mword2
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4