<?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: Full partition, but nothing in it in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897354#M104232</link>
    <description>Kim,&lt;BR /&gt;&lt;BR /&gt;Probably the only way to find the villain is to use lsof.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Wed, 05 Feb 2003 14:25:42 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2003-02-05T14:25:42Z</dc:date>
    <item>
      <title>Full partition, but nothing in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897353#M104231</link>
      <description>We have a /tmp partition that is 2GB. Last night, it hit 100% full. Someone went in and removed some files.&lt;BR /&gt;&lt;BR /&gt;Later, it hit 100% full again. I went in this time and anything that didn't have a current date stamp was removed. What was left amounted to 1-2MB.&lt;BR /&gt;&lt;BR /&gt;The %used (from bdf command), never seemed to go down. And sure enough, /tmp filled up again. But there are no files or directories that can account for the 2GB.&lt;BR /&gt;&lt;BR /&gt;My hunch is that the first time someone removed files from /tmp, they ended up removing something that was open for write, and the system never gave up that space in memory, and that may be hanging onto (allocated) disk space.&lt;BR /&gt;&lt;BR /&gt;Any other ideas of why? And any ideas how to find the villan?</description>
      <pubDate>Wed, 05 Feb 2003 14:23:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897353#M104231</guid>
      <dc:creator>Kim Kendall</dc:creator>
      <dc:date>2003-02-05T14:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Full partition, but nothing in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897354#M104232</link>
      <description>Kim,&lt;BR /&gt;&lt;BR /&gt;Probably the only way to find the villain is to use lsof.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 05 Feb 2003 14:25:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897354#M104232</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-02-05T14:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Full partition, but nothing in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897355#M104233</link>
      <description>Sounds like the process that was the villiam was still running and even if you deleted the file until the process goes away the space will not show up.</description>
      <pubDate>Wed, 05 Feb 2003 14:25:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897355#M104233</guid>
      <dc:creator>Ken Hubnik_2</dc:creator>
      <dc:date>2003-02-05T14:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Full partition, but nothing in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897356#M104234</link>
      <description>The file system /tmp is used for all temporary work area of all the processes.&lt;BR /&gt;Probably when the system is rebooted the /tmp is cleared.&lt;BR /&gt;&lt;BR /&gt;Also,&lt;BR /&gt;&lt;BR /&gt;Now /tmp is full is that some process is filling up the fil e system.&lt;BR /&gt;you need to identify the process that is causing this.&lt;BR /&gt;&lt;BR /&gt;you can use lsof for this.&lt;BR /&gt;Check this link for the download site for lsof.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x346d402f24d5d61190050090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x346d402f24d5d61190050090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;shutdown this process and then start.&lt;BR /&gt;&lt;BR /&gt;That should clear up the space</description>
      <pubDate>Wed, 05 Feb 2003 14:31:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897356#M104234</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-02-05T14:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Full partition, but nothing in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897357#M104235</link>
      <description>Try this command,&lt;BR /&gt;&lt;BR /&gt;fuser -ck /tmp &lt;BR /&gt;&lt;BR /&gt;and check for larger files again under that partition ..&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Karthik</description>
      <pubDate>Wed, 05 Feb 2003 14:33:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897357#M104235</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-02-05T14:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Full partition, but nothing in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897358#M104236</link>
      <description>steven has a suggestion on to find the number of open files by a process&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfa2a8f960573d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfa2a8f960573d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;check it</description>
      <pubDate>Wed, 05 Feb 2003 14:40:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897358#M104236</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-02-05T14:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Full partition, but nothing in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897359#M104237</link>
      <description>Hi!&lt;BR /&gt;I have such problem months ago, and&lt;BR /&gt;#fsck -p &lt;BR /&gt;was my solution.&lt;BR /&gt;Regards, Stan</description>
      <pubDate>Wed, 05 Feb 2003 14:45:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897359#M104237</guid>
      <dc:creator>Stanimir</dc:creator>
      <dc:date>2003-02-05T14:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Full partition, but nothing in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897360#M104238</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;At first I would like to strongly un-recommend you to do the "fuser -ck /tmp" !!&lt;BR /&gt;&lt;BR /&gt;This will kill all open processes in /tmp, i.e. it will kill your system.&lt;BR /&gt;The best you can do is a "fuser -cu /tmp", This will tell you the current processes open in /tmp. &lt;BR /&gt;The reason for your error is that someone has removed a file while a process still had the file open for writing. Therefor always first check a file before deleting it, escpecialy when residing in /tmp. You can do this using "fuser -fu /tmp/&lt;FILE&gt;".&lt;BR /&gt;&lt;BR /&gt;Ok, what to do :&lt;BR /&gt;- bdf /tmp&lt;BR /&gt;- cd /tmp; du -ks .&lt;BR /&gt;&lt;BR /&gt;These two should differ a lot (df counts, bdf looks up free space).&lt;BR /&gt;If so, do the "fuser -cu /tmp" to see all the current open processes in /tmp. ps -ef | grep &lt;PROC&gt;  all of them to see if this could be your file. When killing the right process bdf immediatly shows you the correct free space.&lt;BR /&gt;Of course you can compare this again with "df-ks .".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Never delete a file in /tmp without checking the file first with "fuser -fu /tmp/&lt;FILE&gt;&lt;/FILE&gt;&lt;BR /&gt;And if the file is in use, but has to be deleted, then always use : "&amp;gt; /tmp/&lt;FILE&gt;" &lt;BR /&gt;&lt;BR /&gt;This will only zero the file and will not change the inode, etc.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck !!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regs David&lt;/FILE&gt;&lt;/PROC&gt;&lt;/FILE&gt;</description>
      <pubDate>Wed, 05 Feb 2003 14:47:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897360#M104238</guid>
      <dc:creator>David_246</dc:creator>
      <dc:date>2003-02-05T14:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Full partition, but nothing in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897361#M104239</link>
      <description>&lt;BR /&gt;&amp;gt;&amp;gt; And if the file is in use, but has to be deleted, then always use : "&amp;gt; /tmp/&lt;FILE&gt;" &lt;BR /&gt;&lt;BR /&gt;Yeah, I wish he would have done this, or cat'd /dev/null into it.&lt;BR /&gt;&lt;BR /&gt;I already used du to to see what was in tmp as a whole. There's nothing in there besides a few small files.&lt;BR /&gt;&lt;BR /&gt;tried lsof /tmp and the output doesn't give me the files that are open. Just the dir. (see attached)&lt;/FILE&gt;</description>
      <pubDate>Wed, 05 Feb 2003 15:14:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897361#M104239</guid>
      <dc:creator>Kim Kendall</dc:creator>
      <dc:date>2003-02-05T15:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Full partition, but nothing in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897362#M104240</link>
      <description>Stanimir -&lt;BR /&gt;&lt;BR /&gt;What kind of system do you use that you can use a -p option with fsck?</description>
      <pubDate>Wed, 05 Feb 2003 15:24:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897362#M104240</guid>
      <dc:creator>Kim Kendall</dc:creator>
      <dc:date>2003-02-05T15:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Full partition, but nothing in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897363#M104241</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;#umount /tmp&lt;BR /&gt;#fsck -o full /dev/vg00/lvol4&lt;BR /&gt;&lt;BR /&gt;may solve problem</description>
      <pubDate>Wed, 05 Feb 2003 15:36:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897363#M104241</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2003-02-05T15:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Full partition, but nothing in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897364#M104242</link>
      <description>You can't unmount /tmp (unless you're prepared to go to single user)&lt;BR /&gt;&lt;BR /&gt;Also tried lsof -s +D /tmp&lt;BR /&gt;(see attached)&lt;BR /&gt;&lt;BR /&gt;Nothing that accounts for a full 2GB fils system.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Feb 2003 15:51:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897364#M104242</guid>
      <dc:creator>Kim Kendall</dc:creator>
      <dc:date>2003-02-05T15:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Full partition, but nothing in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897365#M104243</link>
      <description>From some of your attachments, it may be oracle that has a file open.  Can you stop and restart the database?</description>
      <pubDate>Wed, 05 Feb 2003 16:19:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897365#M104243</guid>
      <dc:creator>Vincent Fleming</dc:creator>
      <dc:date>2003-02-05T16:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Full partition, but nothing in it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897366#M104244</link>
      <description>Yeah, that was my guess as well.</description>
      <pubDate>Wed, 05 Feb 2003 18:02:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-partition-but-nothing-in-it/m-p/2897366#M104244</guid>
      <dc:creator>Kim Kendall</dc:creator>
      <dc:date>2003-02-05T18:02:40Z</dc:date>
    </item>
  </channel>
</rss>

