Fwd: Re: How to calculate bsdlabel size

From: Harald Schmalzbauer <h_at_schmalzbauer.de>
Date: Thu, 5 Feb 2004 19:08:09 +0100
Hi all,

since I got no answer on questions_at_ I' mforwarding it to current_at_, the system 
is a 5.2.1-RC

----------  Forwarded Message  ----------

On Wednesday 04 February 2004 21:56, Danny Pansters wrote:
> On Wednesday 04 February 2004 21:31, Harald Schmalzbauer wrote:
> > Hi all,
> >
> > I manually created disklabels with a size number of 10485760.
> > I wanted to have 5 GigaByte big labels, so 5*1024*1024*1024/512=10485760.
> > Now after doing a newfs and mounting the new label, df -h reports a size
> > of 4.8GB.
> > Can someone please enlighten me?
> >
> > Thanks,
> >
> > -Harry
>
> Per default, 5% of the space is reserved for root, so that in the worse
> case you can always write at least *something* to it as root. When running
> out of disk space you can actually get a 'df' of 106% or so because of
> this. It's a FAQ.

But it's not my problem. What you mean results in limited available space,
 but doesn't have any influence on Size summary. Btw I did a newfs with -m 0
 so it can't be the reaseon.

-Harry

> HTH
>
> Dan

-------------------------------------------------------



Received on Thu Feb 05 2004 - 09:08:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:41 UTC