1834196 Members
2691 Online
110065 Solutions
New Discussion

Re: bdf output

 
SOLVED
Go to solution
Sanjiv Sharma_1
Honored Contributor

bdf output

Hi,

If we see that the bdf o/p below. It can be seen that space available for the /miw fs is 2222052 which not equal to 48088393-41057501.
The same query is tru for the other filesystem too.

root/ #bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 172032 114335 54811 68% /
/dev/vg00/lvol1 95701 24992 61138 29% /stand
/dev/vg00/lvol9 524288 285407 224202 56% /var
/dev/vg00/lvol8 491520 289955 189047 61% /usr
/dev/vg00/lvol7 262144 12949 233665 5% /tmp
/dev/VgRcs/lv_rcs 8014641 4270549 2942627 59% /rcs
/dev/vg00/lvol6 524288 428622 89737 83% /opt
/dev/vgMiw/lv_miw 48088393 41057501 2222052 95% /miw
/dev/vg00/lvol5 3072000 151615 2737914 5% /home

Why is it so? What needs to be done to resolve this?

Thanks,
Everything is possible
5 REPLIES 5
Armin Feller
Honored Contributor

Re: bdf output

Hi,

please read the manpage of newfs (newfs(1M) decreases the available disk usage size by 10%).

"used" + "avail" equals 90 percent of "kbytes"

See also manpage for bdf, df and newfs.

Regards ...
Armin
Sanjiv Sharma_1
Honored Contributor

Re: bdf output

My environment is K460/HP-UX 10.20.
The same problem has been seen in HP-UX 11.X too.
Everything is possible
Sanjiv Sharma_1
Honored Contributor

Re: bdf output

Hi Armin,

Thanks for your quick reply.

I am unable to find any such information in the manpage of newfs, newfs(1M),bdf nor df.
Everything is possible
V. V. Ravi Kumar_1
Respected Contributor

Re: bdf output

Hi,

The following lines are from the man page of bdf.

The bdf command does not account for any disk space reserved for swap space, or used for the HFS boot block (8 KB, 1 per file system), HFS superblocks (8 KB each, 1 per disk cylinder), HFS cylinder group blocks (1 KB - 8 KB each, 1 per cylinder group), and inodes (currently 128 bytes reserved for each inode).

Non-HFS file systems may have other items not accounted for by this command.



Regards
Never Say No
Armin Feller
Honored Contributor
Solution

Re: bdf output

Hi,

please check the reserved minfree space area on this filesystem:

# tunefs -v /dev/vgMiw/lv_miw

The default for minfree is 10%. Else see if 'du' shows the same space size, perhaps there are removed files where the inode is halted by any prozess and because of that the space is not shown as free till now.

Regards ...
Armin