From owner-freebsd-questions@FreeBSD.ORG Tue Aug 11 02:14:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE7481065672 for ; Tue, 11 Aug 2009 02:14:00 +0000 (UTC) (envelope-from fbsdlilly@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id 97E928FC25 for ; Tue, 11 Aug 2009 02:14:00 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id d14so1118872and.13 for ; Mon, 10 Aug 2009 19:13:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=dyzZW2TCDGFrWYR/53PwbWtQyxOD0VGN/l8cm58R7wc=; b=V9S6tNV4R4g3F1skGmlObjwYISIsH1lu54PkCSZ4hYr+FI+2U1JJvh7Ee/9w506y5D lWuuv3ks+X4tN0pNMK/VLou0W+6yE0tc4KQjS1J7p1+wra9iSDoXSEMow2HEsKw330CN mddhiuZB8ZQbXEauN8fV5YbnNaCSw6EN+6Idw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=w6oaITSaHtrODBL2aJB4wqnWAkLwAck7HRm3ZV2QR4G11yumh/pYthCxgDMesa1JqP cWZYC3c2EIQPt2oNt0o1jQOaX/n9Kz0rlqhYq39xITU9/vQp26JoEunH3Y3SnU8i2awK cH5of8vZc1Y5b+civ6TFfVbJdS3VSVDZyhOQk= MIME-Version: 1.0 Received: by 10.100.11.16 with SMTP id 16mr4542177ank.39.1249956839672; Mon, 10 Aug 2009 19:13:59 -0700 (PDT) In-Reply-To: References: Date: Mon, 10 Aug 2009 19:13:59 -0700 Message-ID: From: mojo fms To: Naeem Afzal Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: filesystem size after newfs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2009 02:14:01 -0000 On Mon, Aug 10, 2009 at 3:55 PM, Naeem Afzal wrote: > > I created this small partition of 512K bytes on disk, I am noticing > about 24% is used up before system can be mounted and used. My assumption > was about 4% is supposed to be used if minfree is set to 0. > > #newfs -U -l -m 0 -n -o space /dev/ad1d > /dev/ad1d: 0.5MB (1024 sectors) block size 16384, fragment size 2048 > using 1 cylinder groups of 0.50MB, 32 blks, 64 inodes with soft updates > super-block backups (for fsck -b #) at: > 160 > #mount /dev/ad1d /test > #df -H /test > Filesystem Size Used Avail Capacity Mounted on > /dev/ad1d 391k 2.0k 389k 1% /test > Could someone explain where the 512-391=3D121K of disk space went to? = What > is the relation between this used of space and total paritition size or i= s > it some fixed ratio? > Thanks & Regards > Naeem > _________________________________________________________________ > Express your personality in color! Preview and select themes for Hotmail= =AE. > > http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=3DPID2= 3391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009_________________________= ______________________ > freebsd-questions@freebsd.orgmailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > 5% to root, and the rest i am assuming file system blocks. Try making the 512k partition bigger accounting for those things and you should be able to get it really close to 512k available. --=20 Who knew