<?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: File system cleanup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-cleanup/m-p/2826072#M940541</link>
    <description>Try this .. (version 4.64)&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.64/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.64/&lt;/A&gt;</description>
    <pubDate>Tue, 15 Oct 2002 14:20:44 GMT</pubDate>
    <dc:creator>S.K. Chan</dc:creator>
    <dc:date>2002-10-15T14:20:44Z</dc:date>
    <item>
      <title>File system cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-cleanup/m-p/2826066#M940535</link>
      <description>It is not my first time to meet this problem, any idea?&lt;BR /&gt;&lt;BR /&gt;For example, /var hit 95%, I found a huge log file there, then &lt;BR /&gt;&lt;BR /&gt;mv /var/logfile /var/logfile.bk&lt;BR /&gt;touch /var/logfile&lt;BR /&gt;compress /var/logfile.bk&lt;BR /&gt;&lt;BR /&gt;After that, use du -sk /var to double check, I found the space has been free up, however, when I use bdf, it still say 95%?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Oct 2002 13:52:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-cleanup/m-p/2826066#M940535</guid>
      <dc:creator>Victor_5</dc:creator>
      <dc:date>2002-10-15T13:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: File system cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-cleanup/m-p/2826067#M940536</link>
      <description>Hi Victor,&lt;BR /&gt;&lt;BR /&gt;Check this thread - I think the situation Michael Tully describes might be yours as well:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4965c1c4ceddd61190050090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4965c1c4ceddd61190050090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 15 Oct 2002 13:58:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-cleanup/m-p/2826067#M940536</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-10-15T13:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: File system cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-cleanup/m-p/2826068#M940537</link>
      <description>The process writing in the logfile is still running . U need to stop that process before u can see the required space in bdf . use lsof to find out which process is using that file .</description>
      <pubDate>Tue, 15 Oct 2002 14:01:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-cleanup/m-p/2826068#M940537</guid>
      <dc:creator>Ashwani Kashyap</dc:creator>
      <dc:date>2002-10-15T14:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: File system cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-cleanup/m-p/2826069#M940538</link>
      <description>After mv'ing the file it may be still opened by some process... which makes it impossible for the kernel to free up space.&lt;BR /&gt;&lt;BR /&gt;This should work:&lt;BR /&gt;&lt;BR /&gt;# compress -c /var/logfile &amp;gt; /var/logfile.bk.Z&lt;BR /&gt;# &amp;gt; /var/logfile&lt;BR /&gt;&lt;BR /&gt;The "&amp;gt; /var/logfile" truncates the file... and allows the kernel to free the space.&lt;BR /&gt;&lt;BR /&gt;Regards...&lt;BR /&gt; Dietmar.</description>
      <pubDate>Tue, 15 Oct 2002 14:03:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-cleanup/m-p/2826069#M940538</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2002-10-15T14:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: File system cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-cleanup/m-p/2826070#M940539</link>
      <description>The bdf and du commands works differently. du will reflect the FS changed very quickly, but bdf doesn't. Check and make sure that no processes are kept locking the file which you moved (lsof, fuser). Try doing a 'lvsync' and check again. I would wait for sometime to get the correct output from 'bdf'. You might want to take a look at the system patch level too.</description>
      <pubDate>Tue, 15 Oct 2002 14:04:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-cleanup/m-p/2826070#M940539</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-10-15T14:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: File system cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-cleanup/m-p/2826071#M940540</link>
      <description>I can not access this link, where can I get the lsof?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.61/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.61/&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Oct 2002 14:16:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-cleanup/m-p/2826071#M940540</guid>
      <dc:creator>Victor_5</dc:creator>
      <dc:date>2002-10-15T14:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: File system cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-cleanup/m-p/2826072#M940541</link>
      <description>Try this .. (version 4.64)&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.64/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.64/&lt;/A&gt;</description>
      <pubDate>Tue, 15 Oct 2002 14:20:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-cleanup/m-p/2826072#M940541</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-10-15T14:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: File system cleanup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-cleanup/m-p/2826073#M940542</link>
      <description>Just to make it clear... there is NO need to stop the process for your cleanup. Just truncate the file, that's it.</description>
      <pubDate>Tue, 15 Oct 2002 14:39:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-cleanup/m-p/2826073#M940542</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2002-10-15T14:39:00Z</dc:date>
    </item>
  </channel>
</rss>

