filesystem size after newfs
chris scott
kraduk at googlemail.com
Tue Aug 11 08:30:52 UTC 2009
2009/8/11 mojo fms <fbsdlilly at gmail.com>
> On Mon, Aug 10, 2009 at 3:55 PM, Naeem Afzal <nafzal at 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=121K 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®.
> >
> >
> http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_express:082009_______________________________________________
> > freebsd-questions at freebsd.org<
> http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=PID23391::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 at 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.
>
> --
> Who knew
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>
why do you want something that small? Could you not use an md device or
tmpfs, they would probably be more efficient
More information about the freebsd-questions
mailing list