LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

RE [ILUG] Last block on disk bad

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
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell