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

Barry K. Nathan
2002-03-19T20:47:01Z

> 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>