UFS2 partition with negative used space

Julien Gabel jpeg at thilelli.net
Fri Jun 10 15:04:02 GMT 2005


Hello,

> Hi, Julien,
>
> 在 2005-06-10五的 07:09 +0200,Julien Gabel写道:
>>> Hi,
>>>
>>> Filesystem                             Size    Used   Avail Capacity
>>> Mounted on
>>> /dev/ad0s1e                            989M    -46M    956M    -5%
>>> /var/tmp
>>>
>>> Any hints?

>> I had to run fsck(8) on /tmp, which was in the same state as shown here,
>> three time in the last five months.

> You may want to have mount -f -u -ordonly /tmp before running fsck in
> foreground, and then mount -u /tmp to restore its mount options.

I had use 'mount -u -o ro /tmp' (don't know that the -f option may help
in this case before you write it :), but since the problem appears on a
desktop, i was able to switch to single user to umount/fsck/mount the
corresponding file system.

Thank for the -f tip anyway!

-- 
-jpeg.



More information about the freebsd-stable mailing list