Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2003 13:45:30 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        freebsd_deamon@gmx.net
Cc:        freebsd-hardware@freebsd.org
Subject:   Re: HDD does not work up to capacity
Message-ID:  <20030613114530.GA19740@falcon.midgard.homeip.net>
In-Reply-To: <10667.1055503952@www65.gmx.net>
References:  <10667.1055503952@www65.gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 13, 2003 at 01:32:32PM +0200, freebsd_deamon@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
bytes.
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@student.uu.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030613114530.GA19740>