/var with capacity -1%

Scott Lambert lambert at lambertfam.org
Wed Apr 2 16:10:43 UTC 2008


On Wed, Apr 02, 2008 at 10:25:48AM +0200, Ingeborg Hellemo wrote:
> 
> koitsu at freebsd.org said:
> > Did you have any recent crashes, panics, or anything that could (even
> > remotely) cause filesystem inconsistencies? 
> 
> No, that was why I was asking in the first place. The system was freshly 
> installed from 7.0-RELEASE-amd64-disc1.iso with no error messages during the 
> install.
> 
> Since nobody else has reported this I guess it is not a bug, but rather due to 
> sunspot activity -  or just my _negative_ attitude :-P

You are not alone.  I've been thinking it was no big deal due to not
seeing any issues with use of that partition.  I don't know when it
started or if we had a crash near that time.

11:02:34 Wed Apr 02 $ df
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad0s1a    496M    129M    328M    28%    /
devfs          1.0K    1.0K      0B   100%    /dev
/dev/ad0s1e    989M    377M    534M    41%    /tmp
/dev/ad0s1f     14G    1.7G     11G    13%    /usr
/dev/ad0s1d    1.9G    488M    1.3G    27%    /var
/dev/ad2s1d     72G   -1.5G     68G    -2%    /dumps
devfs          1.0K    1.0K      0B   100%    /var/named/dev

11:02:50 Wed Apr 02 $ sudo umount /dumps

11:03:23 Wed Apr 02 $ sudo fsck  /dev/ad2s1d
** /dev/ad2s1d
** Last Mounted on /dumps
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? [yn] y

SUMMARY INFORMATION BAD
SALVAGE? [yn] y

BLK(S) MISSING IN BIT MAPS
SALVAGE? [yn] y

4 files, 4 used, 37842672 free (32 frags, 4730330 blocks, 0.0% fragmentation)

***** FILE SYSTEM MARKED CLEAN *****

***** FILE SYSTEM WAS MODIFIED *****

11:04:06 Wed Apr 02 $ sudo mount /dumps

11:04:35 Wed Apr 02 $ df
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad0s1a    496M    129M    328M    28%    /
devfs          1.0K    1.0K      0B   100%    /dev
/dev/ad0s1e    989M    377M    534M    41%    /tmp
/dev/ad0s1f     14G    1.7G     11G    13%    /usr
/dev/ad0s1d    1.9G    488M    1.3G    27%    /var
devfs          1.0K    1.0K      0B   100%    /var/named/dev
/dev/ad2s1d     72G    8.0K     66G     0%    /dumps

-- 
Scott Lambert                    KC5MLE                       Unix SysAdmin
lambert at lambertfam.org




More information about the freebsd-stable mailing list