Operating System - HP-UX
1838589 Members
3363 Online
110128 Solutions
New Discussion

vxfs/jfs: bavail vs. bfree

 
Paul Tibbitts
Advisor

vxfs/jfs: bavail vs. bfree

Mostly, these values (from fstyp -v) seem fairly close on our jfs/vxfs filesystems, like this:

f_bfree: 171000
f_bavail: 158784

Except for one filesystem (/var), similar sized to the above:

f_bfree: 82895
f_bavail: 0

Using bdf (or df) on /var shows 90% used, but some programs fail (vi won't create temporary files in /var/tmp.) However, at the same time, users (not just root) can copy files to /var without errors.

Thanks for any suggestions.

Paul
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: vxfs/jfs: bavail vs. bfree

bavail normally means blocks available to a non-superuser but that should only apply to hfs filesystems. It would help if you displayed the entire fstyp -v output, the df -t output, the output of mkfs -F vxfs -m /dev/vg00/lvol8 (or whatever the device node for /var is) would also be helpful. Note that the -m version of mkfs does not create a filesystem but displays the options used to build the filesystem.
If it ain't broke, I can fix that.
Paul Tibbitts
Advisor

Re: vxfs/jfs: bavail vs. bfree

vxfs
version: 3
f_bsize: 1024
f_frsize: 1024
f_blocks: 819200
f_bfree: 78213
f_bavail: 0
f_files: 19200
f_ffree: 1073771904
f_favail: 1073771904
f_fsid: 1073741832
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 0
f_fsindex: 7
f_size: 819200


--------

mkfs -F vxfs -o ninode=unlimited,bsize=1024,version=3,inosize=256,logsize=1024,nolargefiles /dev/vg00/rlvol8 819200