<?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 bdf and du -sk differ - can I correct it without a reboot in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-sk-differ-can-i-correct-it-without-a-reboot/m-p/3461883#M210260</link>
    <description>All, a bdf shows a filesystem at 352321536 KB, 335468848 used with 16724584 Available.  A 52GB file was deleted and bdf did not change but a du -sk shows 278863624 used which seems to coorelate with what was deleted.  How do you correct bdf?  In the past we have had to reboot. The server is a N4000-440 running HPUX11.0</description>
    <pubDate>Wed, 12 Jan 2005 16:19:23 GMT</pubDate>
    <dc:creator>Roland Rebstock_1</dc:creator>
    <dc:date>2005-01-12T16:19:23Z</dc:date>
    <item>
      <title>bdf and du -sk differ - can I correct it without a reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-sk-differ-can-i-correct-it-without-a-reboot/m-p/3461883#M210260</link>
      <description>All, a bdf shows a filesystem at 352321536 KB, 335468848 used with 16724584 Available.  A 52GB file was deleted and bdf did not change but a du -sk shows 278863624 used which seems to coorelate with what was deleted.  How do you correct bdf?  In the past we have had to reboot. The server is a N4000-440 running HPUX11.0</description>
      <pubDate>Wed, 12 Jan 2005 16:19:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-sk-differ-can-i-correct-it-without-a-reboot/m-p/3461883#M210260</guid>
      <dc:creator>Roland Rebstock_1</dc:creator>
      <dc:date>2005-01-12T16:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: bdf and du -sk differ - can I correct it without a reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-sk-differ-can-i-correct-it-without-a-reboot/m-p/3461884#M210261</link>
      <description>hi, &lt;BR /&gt; &lt;BR /&gt;the file deleted was still in use by a process.  Killing/stopping that process will release the free space.&lt;BR /&gt; &lt;BR /&gt;"fuser /filesystem" might show the process, or else use "lsof".&lt;BR /&gt; &lt;BR /&gt;regards,&lt;BR /&gt;Thierry.</description>
      <pubDate>Wed, 12 Jan 2005 16:22:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-sk-differ-can-i-correct-it-without-a-reboot/m-p/3461884#M210261</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2005-01-12T16:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: bdf and du -sk differ - can I correct it without a reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-sk-differ-can-i-correct-it-without-a-reboot/m-p/3461885#M210262</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Was there a process using the file that was deleted. If the process was still running, the space will not be released even though the file was deleted. you have to shutdown the process to get the space back. A reboot would shutdown and restart the process, thus releasing the space.&lt;BR /&gt;&lt;BR /&gt;Do you have lsof on the system. It would help you identify the process that has a file open (if any).&lt;BR /&gt;&lt;BR /&gt;If you don't have lsof downlaod from this link,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.73/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.73/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you have lsof, try this link from itrc which might help you in identifying the process that may have a deleted file open.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000072657091" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000072657091&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The itrc doc id is KBRC00008039.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jan 2005 16:28:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-sk-differ-can-i-correct-it-without-a-reboot/m-p/3461885#M210262</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2005-01-12T16:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: bdf and du -sk differ - can I correct it without a reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-sk-differ-can-i-correct-it-without-a-reboot/m-p/3461886#M210263</link>
      <description>When you removed the file (presumably via the rm command) you actually unlink()'ed it. The unlink system call reduces the link count of a filename by one and if the link count is now 0, the directory entry is removed; however, the space occupied by the file is only returned to the filesystem's free list when all the processes which had the file open either close the file or terminate. You now need to kill a process or two to free the space. Lsof (list open files) can be used to find these processes.&lt;BR /&gt;&lt;BR /&gt;Man 2 unlink for a good explanation of what you are seeing.&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jan 2005 16:30:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-sk-differ-can-i-correct-it-without-a-reboot/m-p/3461886#M210263</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-01-12T16:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: bdf and du -sk differ - can I correct it without a reboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-sk-differ-can-i-correct-it-without-a-reboot/m-p/3461887#M210264</link>
      <description>Thanks, found backups running on the filesystem in question, just finished and bdf now speaks the same as du, used fuser to identify.. Thanks</description>
      <pubDate>Wed, 12 Jan 2005 16:33:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-and-du-sk-differ-can-i-correct-it-without-a-reboot/m-p/3461887#M210264</guid>
      <dc:creator>Roland Rebstock_1</dc:creator>
      <dc:date>2005-01-12T16:33:52Z</dc:date>
    </item>
  </channel>
</rss>

