Re: New IBM IDE drive recognized as 40 GB but is 80 GB

Barry K. Nathan (barryn@pobox.com)
Tue, 19 Mar 2002 12:47:10 -0800 (PST)


> We have bought a new IDE hard drive:
>
> hdb: IC35L040AVVA07-0, ATA DISK drive
^^ 40GB (well, according to IBM, "41.17GB")

Look here if you don't believe me:
http://www.storage.ibm.com/hdd/support/d120gxp/d120gxpmod.htm

> This is wrongly recognized as 40GB (should be 80GB) drive:
[snip]
> [root@apu /root]# cat /proc/ide/hdb/capacity
> 80418240 <--------------------------------- this is correct
> [root@apu /root]#
>
> shows the right capacity.

80418240 512-byte sectors is about 40GB.

The kernel is reporting the correct size... 40GB.

-Barry K. Nathan <barryn@pobox.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/