1748011 Members
4572 Online
108757 Solutions
New Discussion юеВ

Re: BDF Output

 
Wilder Mellotto
Frequent Advisor

BDF Output

Please, help me with the output.

# bdf /var
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol7 1572864 718070 801396 47% /var

and

# bdf /dev/vg00/lvol7
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol7 1572864 718070 854794 46% /var

Why the same Lvol shows different output?
2 REPLIES 2
Mridul Shrivastava
Honored Contributor

Re: BDF Output

bdf on that lvol is showing the total space assigned for the lvol. If you sum up the used and free it will be equal to total space.

However bdf agains the filesystem is showing the space available in filesystem since some space is being used for keeping inodes etc so the sum of used and free space won't be equal to total space.
Time has a wonderful way of weeding out the trivial
David Child_1
Honored Contributor

Re: BDF Output

I can't tell you for sure why it works this way, but that is normal behavior. Perhaps when running against the file system (/var) it takes out the journal/superblock, etc. When running against the logical volume it just looks at the whole thing.

David