RE [ILUG] Last block on disk bad

gerodonoghue at sigma-sl.ie gerodonoghue at sigma-sl.ie
Thu Sep 28 10:26:51 IST 2000


> I run a cron job weekly to scan my disks for badblocks.  On my brand-new
> IBM UDMA-100 75GXP 30GB disk, the very last block is showing up as
> bad.
>
> Partition table is:
>
>    [root at excalibur /root]# fdisk -l /dev/hda
>
>    Disk /dev/hda: 255 heads, 63 sectors, 3737 cylinders
>    Units = cylinders of 16065 * 512 bytes
>
>       Device Boot    Start       End    Blocks   Id  System
>    /dev/hda1   *         1        31    248976   83  Linux
>    /dev/hda2            32        62    249007+  82  Linux swap
>    /dev/hda3            63      3737  29519437+  83  Linux
>
> Running badblocks on /dev/hda3 says that 29519436 is bad.  Running it on
> /dev/hda2 shows 249004, 249005 and 249006 are bad.
>
> I'm thinking that this is due to the partitions not ending with an
> multiple-of-4 blocks (hence the + after the block count above).
>
> Is this hypothesis correct, or do I really have a failing disk
> (and it's just pure chance that the bad blocks are exactly at the
> ends of partitions)?
>
> Later,
> Kenn
>
Kenn

The plus at the end indicates that the there is 249007.5 blocks in the
partition hda2 i.e. 31*255*63/2.
What did you use to check your disk as it may read blocks in groups of 4
rather then 1 ??

I have the same senario on a 12 GB Drive with + at end of some
partitions. And could try and verify this as well.

Regareds ger





More information about the ILUG mailing list