<?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 result in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-result/m-p/2988080#M123802</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a J6000 workstation/HP-UX 10.20.&lt;BR /&gt;#bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     139541   40471   85115   32% /&lt;BR /&gt;/dev/vg00/lvol1      83733   31686   43673   42% /stand&lt;BR /&gt;/dev/vg00/lvol8    1967605 1716272   54572   97% /var&lt;BR /&gt;/dev/vg00/lvol7    1601771  621868  819725   43% /usr&lt;BR /&gt;/dev/vg00/lvol4    1441109  182072 1114926   14% /tmp&lt;BR /&gt;/dev/vg00/lvol6    1025027  451710  470814   49% /opt&lt;BR /&gt;/dev/vg00/lvol5    6291456 1962370 4060884   33% /home&lt;BR /&gt;&lt;BR /&gt;# du -k /var | sort -nr |more&lt;BR /&gt;347876  /var&lt;BR /&gt;294805  /var/adm&lt;BR /&gt;293736  /var/adm/sw&lt;BR /&gt;268157  /var/adm/sw/patch&lt;BR /&gt;26611   /var/opt&lt;BR /&gt;24968   /var/adm/sw/patch/PHSS_21454&lt;BR /&gt;24755   /var/adm/sw/patch/PHSS_21454/opt&lt;BR /&gt;24754   /var/adm/sw/patch/PHSS_21454/opt/graphics&lt;BR /&gt;22743   /var/adm/sw/products&lt;BR /&gt;..........................&lt;BR /&gt;&lt;BR /&gt;bdf shows that /var filesystem is 1.9 GB and is 1.7 GB used i.e., 97% full. But the du shows that /var is 347 MB used.&lt;BR /&gt;&lt;BR /&gt;I don't think there is 1.7 GB data in /var.&lt;BR /&gt;&lt;BR /&gt;What needs to be done?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.</description>
    <pubDate>Wed, 04 Jun 2003 02:24:36 GMT</pubDate>
    <dc:creator>Sanjiv Sharma_1</dc:creator>
    <dc:date>2003-06-04T02:24:36Z</dc:date>
    <item>
      <title>bdf result</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-result/m-p/2988080#M123802</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a J6000 workstation/HP-UX 10.20.&lt;BR /&gt;#bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     139541   40471   85115   32% /&lt;BR /&gt;/dev/vg00/lvol1      83733   31686   43673   42% /stand&lt;BR /&gt;/dev/vg00/lvol8    1967605 1716272   54572   97% /var&lt;BR /&gt;/dev/vg00/lvol7    1601771  621868  819725   43% /usr&lt;BR /&gt;/dev/vg00/lvol4    1441109  182072 1114926   14% /tmp&lt;BR /&gt;/dev/vg00/lvol6    1025027  451710  470814   49% /opt&lt;BR /&gt;/dev/vg00/lvol5    6291456 1962370 4060884   33% /home&lt;BR /&gt;&lt;BR /&gt;# du -k /var | sort -nr |more&lt;BR /&gt;347876  /var&lt;BR /&gt;294805  /var/adm&lt;BR /&gt;293736  /var/adm/sw&lt;BR /&gt;268157  /var/adm/sw/patch&lt;BR /&gt;26611   /var/opt&lt;BR /&gt;24968   /var/adm/sw/patch/PHSS_21454&lt;BR /&gt;24755   /var/adm/sw/patch/PHSS_21454/opt&lt;BR /&gt;24754   /var/adm/sw/patch/PHSS_21454/opt/graphics&lt;BR /&gt;22743   /var/adm/sw/products&lt;BR /&gt;..........................&lt;BR /&gt;&lt;BR /&gt;bdf shows that /var filesystem is 1.9 GB and is 1.7 GB used i.e., 97% full. But the du shows that /var is 347 MB used.&lt;BR /&gt;&lt;BR /&gt;I don't think there is 1.7 GB data in /var.&lt;BR /&gt;&lt;BR /&gt;What needs to be done?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.</description>
      <pubDate>Wed, 04 Jun 2003 02:24:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-result/m-p/2988080#M123802</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2003-06-04T02:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: bdf result</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-result/m-p/2988081#M123803</link>
      <description>Hi Sanjiv&lt;BR /&gt;&lt;BR /&gt;Looks to me like a file has been removed whilst a process was still writing to it. To free the space you will have to unmount /var and remount. This will have to be done in single user mode&lt;BR /&gt;&lt;BR /&gt;You can do this remotely&lt;BR /&gt;&lt;BR /&gt;shutdown -y 0&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 04 Jun 2003 02:32:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-result/m-p/2988081#M123803</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2003-06-04T02:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: bdf result</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-result/m-p/2988082#M123804</link>
      <description>You have a file(s) open (still in memory) that have been deleted. The only way the two will match (bdf &amp;amp; du) is when the process that carries the file(s) in memory are terminated. &lt;BR /&gt;&lt;BR /&gt;Unless you can identify it you have a problem. Obviously a reboot will free this up, but it is not what you want. &lt;BR /&gt;&lt;BR /&gt;Check the open processes using fuser and tools like 'lsof' &lt;BR /&gt;&lt;BR /&gt;# fuser /var&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Michael&lt;BR /&gt;"When I have trouble spelling, it's called fat finger syndrome" &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jun 2003 02:36:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-result/m-p/2988082#M123804</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-06-04T02:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: bdf result</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-result/m-p/2988083#M123805</link>
      <description>I agree that this sounds like a file that was being accessed at the time you removed it.&lt;BR /&gt;&lt;BR /&gt;You do not necessarily have to umount /var to remedy this though.  You simply need to figure what process is accessing the file that was removed and somehow stop that process.&lt;BR /&gt;&lt;BR /&gt;Since the file was in /var my first inclination is that the file was in /var/stm/logs/sys and may have been the activity_log file.  That file can grow quite large if a machine has problems and the diagnostic daemon starts writing messages to it.&lt;BR /&gt;&lt;BR /&gt;If you want to try out this theory you can do a &lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/diagnostic stop&lt;BR /&gt;&lt;BR /&gt;and wait and see if the space gets freed up.  If it doesn't it may be more difficult to figure out.&lt;BR /&gt;&lt;BR /&gt;You can start by doing an&lt;BR /&gt;&lt;BR /&gt;# fuser -cu /var &lt;BR /&gt;&lt;BR /&gt;and see what all processes are accessing /var.  Unfortunately the list may be quite long and the easiest option may be to reboot the machine.&lt;BR /&gt;&lt;BR /&gt;Good luck.</description>
      <pubDate>Wed, 04 Jun 2003 02:42:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-result/m-p/2988083#M123805</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-06-04T02:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: bdf result</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-result/m-p/2988084#M123806</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I have run into this problem a number of times and as has been stated above it is likely to be a result of deleting an open file.&lt;BR /&gt;&lt;BR /&gt;As there seems to be a large descrepancy between the du &amp;amp; bdf output sizes, it should be possible to identify the offending file.  Use lsof /var and look for any large files that could be culprits.  Check if the file shows up when doing a normal ls -la on the directory.  If not, then that it is likely to be your culprit.  You will need to kill the process that is holding that file open, that should then free up the space.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
      <pubDate>Wed, 04 Jun 2003 02:59:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-result/m-p/2988084#M123806</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-06-04T02:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: bdf result</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bdf-result/m-p/2988085#M123807</link>
      <description>Best option in my opinion is to boot the box.&lt;BR /&gt;&lt;BR /&gt;shutdown -ry now&lt;BR /&gt;&lt;BR /&gt;If that is not possible,&lt;BR /&gt;&lt;BR /&gt;fuser -cu /var can help you identify the process, if you can't figure it out, then fuser -cuk /var&lt;BR /&gt;&lt;BR /&gt;the k stands for kill and will dump all users out of your system.&lt;BR /&gt;&lt;BR /&gt;If you can't clear processes off the filesystem then you will not be able to umount /var&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 04 Jun 2003 04:08:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bdf-result/m-p/2988085#M123807</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-06-04T04:08:53Z</dc:date>
    </item>
  </channel>
</rss>

