HDD does not work up to capacity

Erik Trulsson ertr1013 at student.uu.se
Fri Jun 13 04:45:37 PDT 2003

On Fri, Jun 13, 2003 at 01:32:32PM +0200, freebsd_deamon at gmx.net wrote:
> this might be an incredible stupid question but since i am not that familiar
> with disk geometry i ask it anyway:
> I just bought an Hitachi DeskStar 180GXP HDD (it's the same as IBM) which is
> supposed to have a capacity of 61.4 GB but i can only get approx 58 to 59
> out of it.
> why?

Remember that harddisk manufacturers use 1GB=10^9 = 1000000000 bytes
(which is arguably the correct definition) while most OS's use 
1GB = 2^30 = 1073741824 bytes. 
This probably accounts for the difference.

So there is not really any problem, it is just that the gigabytes that
the manufacturer claims the disk has are not the same size as the
gigabytes that the OS claims to see.

> is there a way arounf it?
> some additional data are:
> model: IC35L060AVV207-0
> LBA: 120.103.200 sectors

According to this the disk has 120103200 sectors, each of which is 512
This gives a total size of 61492838400 bytes.

Divide this by 10^9 and you get 61.49 GB
Divide it by 2^30 and you get 57.27 GB

Those are probably the numbers you are getting, and if so everything
should be OK.

> CHS: 16383/16/63
> i am using an ASUS CUL2 m/b

<Insert your favourite quote here.>
Erik Trulsson
ertr1013 at student.uu.se

More information about the freebsd-questions mailing list