UFS2 partition with negative used space

Kris Kennaway kris at obsecurity.org
Fri Jun 10 02:59:52 GMT 2005


On Fri, Jun 10, 2005 at 10:32:04AM +0800, David Adam wrote:
> (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.

Look closer :-)

In comment to the original question: when unmounting filesystems on
5.x and 6.x which have had a lot of activity I commonly see status
messages about negative number of files/blocks being used:

ffs_vfsops.c:           printf("%s: unmount pending error: blocks %jd files %d\n",

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20050609/713c60c7/attachment.bin


More information about the freebsd-fs mailing list