<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: df -k and bdf do not show the same total in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/df-k-and-bdf-do-not-show-the-same-total/m-p/2560909#M918481</link>
    <description>df/bdf do not account for any disk space used&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;bdf will show inconsistent results for VxFS mount points versus the corresponding device file.  For the HFS filesystem, inodes and&lt;BR /&gt;superblocks are preset via newfs but for the Journaled File System there are no fixed inode allocations.  Instead, VxFS filesystems&lt;BR /&gt;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).&lt;BR /&gt;&lt;BR /&gt;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&lt;BR /&gt;reduced.&lt;BR /&gt;&lt;BR /&gt;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&lt;BR /&gt;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.</description>
    <pubDate>Fri, 03 Aug 2001 00:49:15 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2001-08-03T00:49:15Z</dc:date>
    <item>
      <title>df -k and bdf do not show the same total</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/df-k-and-bdf-do-not-show-the-same-total/m-p/2560906#M918478</link>
      <description>Why does df -k and bdf show different totals on JFS file systems? The used and avail outputs seem to be the same and the df -k total seems to add up while the bdf total seems to be higher?</description>
      <pubDate>Thu, 02 Aug 2001 18:30:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/df-k-and-bdf-do-not-show-the-same-total/m-p/2560906#M918478</guid>
      <dc:creator>Joseph Hoh</dc:creator>
      <dc:date>2001-08-02T18:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: df -k and bdf do not show the same total</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/df-k-and-bdf-do-not-show-the-same-total/m-p/2560907#M918479</link>
      <description>This question has come up before in the forum and the basic answer is that df and bdf look at different ways of determining "free" file space. &lt;BR /&gt;&lt;BR /&gt;If you look at the man page for bdf, it states&lt;BR /&gt;  "Non-HFS file systems may have other items not accounted for by this command."&lt;BR /&gt;&lt;BR /&gt;-- Rod H&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Aug 2001 18:43:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/df-k-and-bdf-do-not-show-the-same-total/m-p/2560907#M918479</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2001-08-02T18:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: df -k and bdf do not show the same total</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/df-k-and-bdf-do-not-show-the-same-total/m-p/2560908#M918480</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;sometimes files get deleted and are still in use and then the kernel doesn't release the space.&lt;BR /&gt;&lt;BR /&gt;Check if a reboot will clear up the differences if you have a maintenance window.&lt;BR /&gt;&lt;BR /&gt;Steffi Jones</description>
      <pubDate>Fri, 03 Aug 2001 00:04:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/df-k-and-bdf-do-not-show-the-same-total/m-p/2560908#M918480</guid>
      <dc:creator>Steffi Jones_1</dc:creator>
      <dc:date>2001-08-03T00:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: df -k and bdf do not show the same total</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/df-k-and-bdf-do-not-show-the-same-total/m-p/2560909#M918481</link>
      <description>df/bdf do not account for any disk space used&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;bdf will show inconsistent results for VxFS mount points versus the corresponding device file.  For the HFS filesystem, inodes and&lt;BR /&gt;superblocks are preset via newfs but for the Journaled File System there are no fixed inode allocations.  Instead, VxFS filesystems&lt;BR /&gt;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).&lt;BR /&gt;&lt;BR /&gt;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&lt;BR /&gt;reduced.&lt;BR /&gt;&lt;BR /&gt;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&lt;BR /&gt;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.</description>
      <pubDate>Fri, 03 Aug 2001 00:49:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/df-k-and-bdf-do-not-show-the-same-total/m-p/2560909#M918481</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-08-03T00:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: df -k and bdf do not show the same total</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/df-k-and-bdf-do-not-show-the-same-total/m-p/2560910#M918482</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;df reports the total size minus the 'minfree %' &lt;BR /&gt;bdf reports the total size &lt;BR /&gt;&lt;BR /&gt;bdf_total * (100 - minfree %) = df_total &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Federico&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Aug 2001 05:44:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/df-k-and-bdf-do-not-show-the-same-total/m-p/2560910#M918482</guid>
      <dc:creator>federico_3</dc:creator>
      <dc:date>2001-08-03T05:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: df -k and bdf do not show the same total</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/df-k-and-bdf-do-not-show-the-same-total/m-p/2560911#M918483</link>
      <description>Have a look at this link which should explain at least one possible reason for tis happening..&lt;BR /&gt;Ignore my replies!!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x4103a22d6d27d5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x4103a22d6d27d5118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Fri, 03 Aug 2001 05:50:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/df-k-and-bdf-do-not-show-the-same-total/m-p/2560911#M918483</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-08-03T05:50:41Z</dc:date>
    </item>
  </channel>
</rss>

