From owner-freebsd-questions@FreeBSD.ORG Tue Aug 11 08:30:52 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 B3907106566B for ; Tue, 11 Aug 2009 08:30:52 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 3D9BB8FC3E for ; Tue, 11 Aug 2009 08:30:51 +0000 (UTC) Received: by fxm24 with SMTP id 24so3925090fxm.36 for ; Tue, 11 Aug 2009 01:30:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=GO1f+ZmVCm1DziF0mZEeTvB8ub6foqk7FsK/YAKE8hU=; b=hjrzx27LJBltTdH89eSjy13Q9NAC5b/nNU+yFCkOTHSyZLoPnVwWUN828qXJZUxonF /T/r3hWfHQjRb8f1uvrMhIA5LoR+QQPwpanvXdPwVFDrpwgye9gXlD9RA865ryNoH1V3 zoNG4fD9jyjos+YjKQHCES9KunhR4TJ5IQU9Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=J1wdhd6zn0LGDuPGL7BE7udLY25MGJnL2NI0pbsmdOZ7NOvbsEHGqSpE9GDHUwnZmT FSg5fRfy+d2PWPsx/UPBO2FRRhEXO50kA00coguduMa4kZ2MBi6nrHYnUhiUK0nIOUsc d7pq7WvTuyBLFEoZCmy3wxWNomxXrI3zhqQxo= MIME-Version: 1.0 Received: by 10.102.215.19 with SMTP id n19mr1464595mug.79.1249979450627; Tue, 11 Aug 2009 01:30:50 -0700 (PDT) In-Reply-To: References: Date: Tue, 11 Aug 2009 09:30:50 +0100 Message-ID: From: chris scott To: mojo fms 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, Naeem Afzal 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 08:30:52 -0000 2009/8/11 mojo fms > 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 assumpti= on > > 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 > is > > 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.org< > http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=3DPID2= 3391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009_________________________= ______________________%0Afreebsd-questions@freebsd.org>mailing > 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 th= e > 512k partition bigger accounting for those things and you should be able = to > get it really close to 512k available. > > -- > Who knew > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > why do you want something that small? Could you not use an md device or tmpfs, they would probably be more efficient