- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- df -k and bdf do not show the same total
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2001 11:30 AM
08-02-2001 11:30 AM
df -k and bdf do not show the same total
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2001 11:43 AM
08-02-2001 11:43 AM
Re: df -k and bdf do not show the same total
If you look at the man page for bdf, it states
"Non-HFS file systems may have other items not accounted for by this command."
-- Rod H
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2001 05:04 PM
08-02-2001 05:04 PM
Re: df -k and bdf do not show the same total
sometimes files get deleted and are still in use and then the kernel doesn't release the space.
Check if a reboot will clear up the differences if you have a maintenance window.
Steffi Jones
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2001 05:49 PM
08-02-2001 05:49 PM
Re: df -k and bdf do not show the same total
by the underlying file system structures such as the superblock, cylinder blocks, inodes and so on. Swap space usage is only reported with the -b option.
bdf will show inconsistent results for VxFS mount points versus the corresponding device file. For the HFS filesystem, inodes and
superblocks are preset via newfs but for the Journaled File System there are no fixed inode allocations. Instead, VxFS filesystems
consist of a number of dynamic attributes that describe the filesystem. These dynamic attributes are called structural files and they are kept in a separate fileset (Fileset 1) from the user files (Fileset 999).
Since these structures are dynamic and can grow as more files are added to the filesystem, it is impossible to determine how much space will be used used by structural files and how much space will be used by user files. Unlike an HFS filesystem, where all the inodes are preallocated when the filesystem is created, a VxFS filesystem can continue to allocate more inodes as needed. However, each time a new block of inodes is allocated, the number of actual data blocks are
reduced.
So bdf and du must guess as to the number of inodes that might be needed and the space available. The bdf 'used' column represents
space used by both user files and structural files. The bdf 'avail' column represents the Kbytes available after subtracting the actual Kbytes used and the estimated Kbytes needed for inodes.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2001 10:44 PM
08-02-2001 10:44 PM
Re: df -k and bdf do not show the same total
df reports the total size minus the 'minfree %'
bdf reports the total size
bdf_total * (100 - minfree %) = df_total
Federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2001 10:50 PM
08-02-2001 10:50 PM
Re: df -k and bdf do not show the same total
Ignore my replies!!
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x4103a22d6d27d5118fef0090279cd0f9,00.html
Later,
Bill