Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 2009 09:30:50 +0100
From:      chris scott <kraduk@googlemail.com>
To:        mojo fms <fbsdlilly@gmail.com>
Cc:        freebsd-questions@freebsd.org, Naeem Afzal <nafzal@hotmail.com>
Subject:   Re: filesystem size after newfs
Message-ID:  <d36406630908110130u34e9d3a5ne6763c2f3ba7c9cb@mail.gmail.com>
In-Reply-To: <f151ba00908101913o58de0catf912233ff6397bc0@mail.gmail.com>
References:  <COL111-W45F597BC11398A6DA2CB42D1060@phx.gbl> <f151ba00908101913o58de0catf912233ff6397bc0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/8/11 mojo fms <fbsdlilly@gmail.com>

> 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 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



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