From owner-freebsd-questions Thu Mar 13 16:56: 2 2003 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 026D437B401 for ; Thu, 13 Mar 2003 16:56:00 -0800 (PST) Received: from sub21-156.member.dsl-only.net (sub21-156.member.dsl-only.net [63.105.21.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id E684343FAF for ; Thu, 13 Mar 2003 16:55:58 -0800 (PST) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: from nkinkade by sub21-156.member.dsl-only.net with local (Exim 4.10) id 18tdUM-0002Ho-00; Thu, 13 Mar 2003 16:55:58 -0800 Date: Thu, 13 Mar 2003 16:55:58 -0800 From: Nathan Kinkade To: Michael Cc: freebsd-questions@freebsd.org Subject: Re: Disk size measured incorrectly. Message-ID: <20030314005558.GI7222@sub21-156.member.dsl-only.net> Reply-To: nkinkade@fastmail.fm Mail-Followup-To: Michael , freebsd-questions@freebsd.org References: <2508.192.168.1.10.1047602402.squirrel@email.unixhideout.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7SrMUQONj8Rl9QNG" Content-Disposition: inline In-Reply-To: <2508.192.168.1.10.1047602402.squirrel@email.unixhideout.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --7SrMUQONj8Rl9QNG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 13, 2003 at 07:40:02PM -0500, Michael wrote: >=20 > Hello once again boys and girls. I added two drives to my server via > /stand/sysinstall. they are one western digital, 120 gig and a maxtor, 120 > gig. > This is what i see via df >=20 > /dev/ad1s1e 113G 89G 15G 86% /mirror > /dev/ad2s1e 110G 12K 101G 0% /mirror2 >=20 > I dont _need_ the space. Not even close. but it cant hurt to use the disk > at its most, and mostly though im obsessive compulsive and i would prefer > to see the output below :) as i got another 120 gig drive on the way. Did > i initialize them wrong or something? The bios is set to have both drives > auto detected and the access mode is auto as well. Thanks guys. >=20 > /dev/ad1s1e 120G 89G 15G 86% /mirror > /dev/ad2s1e 120G 12K 101G 0% /mirror2 The drive manufacturers are probably measuring a gigabyte at 1 billion byes, whereas as true gigabyte, in binary terms is 1073741824 bytes. Dividing 120000000000/1073741824 yields about 112GB, or close to what you are seeing. Although, this is just a guess. Nathan --=20 GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc --7SrMUQONj8Rl9QNG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+cSieWZYS9EJQoEwRArBPAJ9sgI4FeaOfjUO0VCw6g4pILw3b6wCfZ+mO QLL6zNyfNGunGy/3l5RfPWA= =KU6E -----END PGP SIGNATURE----- --7SrMUQONj8Rl9QNG-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message