From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 04:45:37 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22A4937B404 for ; Fri, 13 Jun 2003 04:45:37 -0700 (PDT) Received: from falcon.midgard.homeip.net (h76n3fls20o913.telia.com [213.67.148.76]) by mx1.FreeBSD.org (Postfix) with SMTP id 6B17243FDF for ; Fri, 13 Jun 2003 04:45:32 -0700 (PDT) (envelope-from ertr1013@student.uu.se) Received: (qmail 19765 invoked by uid 1001); 13 Jun 2003 11:45:30 -0000 Date: Fri, 13 Jun 2003 13:45:30 +0200 From: Erik Trulsson To: freebsd_deamon@gmx.net Message-ID: <20030613114530.GA19740@falcon.midgard.homeip.net> Mail-Followup-To: freebsd_deamon@gmx.net, freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org References: <10667.1055503952@www65.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10667.1055503952@www65.gmx.net> User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org cc: freebsd-hardware@freebsd.org Subject: Re: HDD does not work up to capacity X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 11:45:37 -0000 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 > -- Erik Trulsson ertr1013@student.uu.se