From owner-freebsd-questions@FreeBSD.ORG Mon Nov 3 01:52:06 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 70F7216A4CF for ; Mon, 3 Nov 2003 01:52:06 -0800 (PST) Received: from smtp.salzburg-online.at (smtp.salzburg-online.at [213.153.32.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DE9C43FBD for ; Mon, 3 Nov 2003 01:52:05 -0800 (PST) (envelope-from mad-ml@madness.at) Received: from [213.153.32.181] (helo=madness.at) by smtp.salzburg-online.at with esmtp (Exim 4.24) id 1AGbNQ-0005Lo-I6; Mon, 03 Nov 2003 10:52:00 +0100 Message-ID: <3FA6253F.4050101@madness.at> Date: Mon, 03 Nov 2003 10:51:59 +0100 From: Alexander Marx User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: de, de-at, en-us MIME-Version: 1.0 To: Odhiambo Washington References: <20031103090715.GC20234@ns2.wananchi.com> In-Reply-To: <20031103090715.GC20234@ns2.wananchi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: How does FreeBSD calculate disk sizes 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: Mon, 03 Nov 2003 09:52:06 -0000 Odhiambo Washington wrote: > Hello users, > > I have a disk which is actually 72GB. 2GB has been used as swap while > the rest was given to /. > > Can someone explain to me what I could be missing here, because what > I am seeing isn't what I expect. Perhaps it's just right while I am > the dumb one. Why isn't the whole size reported? [...] first of all, a "72GB harddisk" isn't actually a 72GB harddisk; this might sound funny, but harddisk manufacturers are engineering people and they are usually thinking in terms of 1000s (see http://www.seagate.com/support/kb/disc/bytes.html) so your disk actually only holds 72000000000 bytes (~69GB) ... which is perfectly consistent with your fdisk output. further, reading tunefs(8) you will find, that per default your filesystem reserves some space (8%) for root ... : -m minfree : Specify the percentage of space held back from normal users; the : minimum free space threshold. The default value used is 8%. .. subtracting 8% from the remaining 69GB roughly gives 64GB. so your disk is just fine. regards, alex.