Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2003 21:23:55 -0600
From:      Tillman <tillman@seekingfire.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Disk size measured incorrectly.
Message-ID:  <20030313212355.B13016@seekingfire.com>
In-Reply-To: <2508.192.168.1.10.1047602402.squirrel@email.unixhideout.com>; from mike@unixhideout.com on Thu, Mar 13, 2003 at 07:40:02PM -0500
References:  <2508.192.168.1.10.1047602402.squirrel@email.unixhideout.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 13, 2003 at 07:40:02PM -0500, Michael wrote:
> 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
> 
> /dev/ad1s1e   113G    89G    15G    86%    /mirror
> /dev/ad2s1e   110G    12K   101G     0%    /mirror2
> 
> 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.
> 
> /dev/ad1s1e   120G    89G    15G    86%    /mirror
> /dev/ad2s1e   120G    12K   101G     0%    /mirror2

Don't forget that 8% of the drive (by default, it's configurable) is
reserved. Thus, a drive that shows 110G is actually right about 120G in
size (110 * 1.08 = 118.8).

`tunefs -p <device>` will give you the actual value that is reserved for
any particular filesystem.

-T

-- 
Page 30: Leaving a terminal logged in is like leaving your car unlocked
with the keys in the ignition.
	- Harley Hahn, _The Unix Companion_

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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