Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2005 10:32:04 +0800 (WST)
From:      David Adam <zanchey@ucc.gu.uwa.edu.au>
To:        Jean-Yves Lefort <jylefort@FreeBSD.org>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: UFS2 partition with negative used space
Message-ID:  <Pine.LNX.4.58.0506101026180.2328@mussel.ucc.gu.uwa.edu.au>
In-Reply-To: <20050610042211.5d214150.jylefort@FreeBSD.org>
References:  <20050610042211.5d214150.jylefort@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
(The mail to this node is rather slow, so I'm sure someone else will have
replied by now.)

On Fri, 10 Jun 2005, Jean-Yves Lefort wrote:
> Filesystem                             Size    Used   Avail Capacity  Mounted on
> /dev/ad0s1e                            989M    -46M    956M    -5%    /var/tmp
>
> Any hints?

Yep: delete some files on /var/tmp. :-)

If you're asking 'how can I have negative disk space?', you might want to
read newfs(8) and tunefs(8), particularly the sections dealing with the
-m flag.

Basically, FreeBSD reserves 8% of the disk by default for maintenance
reasons: it prevents fragmentation, among other things. The super-user can
override these limitations, but it's a bad idea for any length of time.

(I think I'm going to tell other Windows people that it just shows how
much more efficient BSD is with your disk space.)

Cheers,

David Adam
zanchey@ucc.gu.uwa.edu.au




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