Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Aug 2009 19:13:59 -0700
From:      mojo fms <fbsdlilly@gmail.com>
To:        Naeem Afzal <nafzal@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: filesystem size after newfs
Message-ID:  <f151ba00908101913o58de0catf912233ff6397bc0@mail.gmail.com>
In-Reply-To: <COL111-W45F597BC11398A6DA2CB42D1060@phx.gbl>
References:  <COL111-W45F597BC11398A6DA2CB42D1060@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 10, 2009 at 3:55 PM, Naeem Afzal <nafzal@hotmail.com> 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.org<http://www.windowslive-hotmail.com/LearnMor=
e/personalize.aspx?ocid=3DPID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:0=
82009_______________________________________________%0Afreebsd-questions@fr=
eebsd.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 the
512k partition bigger accounting for those things and you should be able to
get it really close to 512k available.

--=20
Who knew



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