Can fdisk or mkfs badify blocks?  I just low-level formatted my hard drive
and one of the first things I did after setting up partitions and creating
the ext3 filesystems (and installing fedora) was do a badblocks check.  
There are 12 bad blocks.  fdisk shows they are the three last blocks on
each of four partitions.

# echo /dev/hda1-8 && badblocks /dev/hda1-8
/dev/hda1
/dev/hda2
/dev/hda3
15727632
15727633
15727634
/dev/hda5
15727600
15727601
15727602
/dev/hda6
15727600
15727601
15727602
/dev/hda7
15727600
15727601
15727602
/dev/hda8
# fdisk /dev/hda

Disk /dev/hda: 120.0 GB, 120000000000 bytes
255 heads, 63 sectors/track, 14589 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1        16    128488+  83  Linux
/dev/hda2            17       408   3148740   82  Linux swap
/dev/hda3           409      2366  15727635   83  Linux
/dev/hda4          2367     14589  98181247+   5  Extended
/dev/hda5          2367      4324  15727603+  83  Linux
/dev/hda6          4325      6282  15727603+  83  Linux
/dev/hda7          6283      8240  15727603+  83  Linux
/dev/hda8          8241     14589  50998311   83  Linux


This is the third time I have seen this peculiar badblocks tagging.  It's
also the third time I checked for bad blocks.

Is mkfs unwittingly damaging these penultimate blocks?  Could this be a
badblocks bug?  Or the fault of a proprietary abstraction layer in the
harddrive box that is doing notty things?


Justin


_______________________________________________
newbies mailing list
[EMAIL PROTECTED]
http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies

Reply via email to