<?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 ROOT file system almost full in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033110#M491111</link>
    <description>&lt;P&gt;We have a new RX2800 system with HP-UX 11i v3 and I noticed the root file system is at 93% full.&amp;nbsp; We also have an RX2660 with 11i v3 and when I compare all the files/directories that make up the root file system with the RX2800 the RX2660 has more used space but the root file system on the RX2660 is only at 23% full. I can't seem to find what is filling up the root file system on our RX2800.&lt;/P&gt;&lt;P&gt;Any ideas or suggestions?&lt;/P&gt;</description>
    <pubDate>Thu, 31 Jan 2019 15:17:32 GMT</pubDate>
    <dc:creator>Darrell Albee</dc:creator>
    <dc:date>2019-01-31T15:17:32Z</dc:date>
    <item>
      <title>ROOT file system almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033110#M491111</link>
      <description>&lt;P&gt;We have a new RX2800 system with HP-UX 11i v3 and I noticed the root file system is at 93% full.&amp;nbsp; We also have an RX2660 with 11i v3 and when I compare all the files/directories that make up the root file system with the RX2800 the RX2660 has more used space but the root file system on the RX2660 is only at 23% full. I can't seem to find what is filling up the root file system on our RX2800.&lt;/P&gt;&lt;P&gt;Any ideas or suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 15:17:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033110#M491111</guid>
      <dc:creator>Darrell Albee</dc:creator>
      <dc:date>2019-01-31T15:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: ROOT file system almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033185#M491112</link>
      <description>&lt;P&gt;&amp;gt; [...] when I compare all the files/directories that make up the root&lt;BR /&gt;&amp;gt; file system [...]&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "compare" how, exactly?&amp;nbsp; How big are these file systems?&amp;nbsp; "93%" of&lt;BR /&gt;not much might easily be smaller than "23%" of some big thing.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] I can't seem to find what is filling up the root file system on&lt;BR /&gt;&amp;gt; our RX2800.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "find" how, exactly?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "lsof" might be useful if there's some large, open file.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.89/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.89/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 05:06:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033185#M491112</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2019-02-01T05:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: ROOT file system almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033296#M491113</link>
      <description>&lt;P&gt;By compare I mean I went through each directory in the mount point and did a "du -sk" to get the total size for the directory and in most cases the exact same directory on our RX2660 was the same size or slightly larger. On our RX2800 the current size of / is 1.37GB and on our RX2660 the current size of / is 1.04GB. The % used on our RX2800 is 93% and on our RX2660 the % used is 23%.&lt;/P&gt;&lt;P&gt;I tried rebooting in case something large was open but even after the reboot the / filesystem was still at 93% used.&lt;/P&gt;&lt;P&gt;I will download and try the "lsof" to see if it shows anything I am not seeing. Thanks for the suggestion!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 18:50:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033296#M491113</guid>
      <dc:creator>Darrell Albee</dc:creator>
      <dc:date>2019-02-01T18:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: ROOT file system almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033300#M491114</link>
      <description>&lt;P&gt;How large are the root file systems?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the '/' mount point on the rx2800 is 1.5 GB and you're using 1.37 GB, then your usage will be in the 90+% range.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the '/' mount point on the rx2660&amp;nbsp; is 4.0 GB in size and you're using 1 GB, then you will be in the 20% range.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You cannot go just on % utilized.&amp;nbsp; You have to look at how large the file system is versus how much is used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can show the complete 'bdf' output from both servers that will tell us a whole lot more.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 19:37:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033300#M491114</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2019-02-01T19:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: ROOT file system almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033379#M491115</link>
      <description>&lt;P&gt;When troubleshooting file space issues. it is always better to look for the big directories first.&lt;BR /&gt;This is the easiest way to find big directories:&lt;/P&gt;&lt;PRE&gt;# du -kx / | sort -rn | head -20&lt;/PRE&gt;&lt;P&gt;You can replace / with /tmp or /var to analyze space on other mountpoints.&lt;BR /&gt;The / directory is often misused by inexperienced root administrators.&lt;BR /&gt;It should never be the $HOME directory for root and should not be a default drop box for files. Use /var/tmp and /tmp.&lt;/P&gt;&lt;P&gt;Run the above command and paste the results. We can then look at what is occupying your / filesystem.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Feb 2019 06:47:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033379#M491115</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2019-02-03T06:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: ROOT file system almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033556#M491116</link>
      <description>&lt;P&gt;Patrick, attached is a wordpad document showing the bdf command on both systems. The newer system (rx2800) has a larger root filesystem and yet the space used is 70% higher than our older system (rx2660).&lt;/P&gt;&lt;P&gt;I'm at a total loss here. We have had HP-UX systems here for over 20 years now and I have never run into this before.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 18:58:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033556#M491116</guid>
      <dc:creator>Darrell Albee</dc:creator>
      <dc:date>2019-02-04T18:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: ROOT file system almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033557#M491117</link>
      <description>&lt;P&gt;Thanks for that info Bill. I will run the "du" command as suggested and compare.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 19:00:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033557#M491117</guid>
      <dc:creator>Darrell Albee</dc:creator>
      <dc:date>2019-02-04T19:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: ROOT file system almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033559#M491118</link>
      <description>&lt;P&gt;Unfortunately, the newest incarnation of the forums prevents attaching virtually any file.&lt;/P&gt;&lt;P&gt;The output from bdf and du are small enough to copy/paste.&lt;BR /&gt;To retain the formatting, use the forum Insert Code tool &amp;lt;/&amp;gt; to paste into.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 19:40:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033559#M491118</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2019-02-04T19:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: ROOT file system almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033562#M491119</link>
      <description>&lt;P&gt;And once you find an unusually big or unrecognized directory, use this to sort the files by size:&lt;/P&gt;&lt;PRE&gt;# ls -la | sort -rnk5 | head -20&lt;/PRE&gt;&lt;P&gt;There may be a big file lurking in the / directory.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 19:55:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033562#M491119</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2019-02-04T19:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: ROOT file system almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033613#M491120</link>
      <description>&lt;P&gt;If you still cannot find files with the suggested commands, then those files maybe located under one of the mount-points. (e.g. /var, or /tmp), and not visible/accessible.&lt;/P&gt;&lt;P&gt;There are 2 ways to check/find them.&lt;/P&gt;&lt;P&gt;1. Boot into single-user mode.&lt;/P&gt;&lt;P&gt;In single-user-mode only the root-filesystem is mounted and&amp;nbsp; you should check if there are files in /usr, /var, /tmp, /opt etc...&lt;/P&gt;&lt;P&gt;Note that in this mode you only have a limited set of commands that can be run as /usr is not mounted.&lt;/P&gt;&lt;P&gt;2. The second way does not require a reboot. You simply NFS-export the root-filesystem and then nfs-mount it as a loopback-nfs mount :&lt;/P&gt;&lt;P&gt;In the following example i assume that your system-hostname is "rx2800", if not change the hostname...&lt;/P&gt;&lt;P&gt;# mkdir /newroot&lt;/P&gt;&lt;P&gt;#share -o root=rx2800 /&lt;/P&gt;&lt;P&gt;#mount -o vers=3 rx2800:/ /newroot&lt;/P&gt;&lt;P&gt;Now you can "cd" into /newroot directory and search from there.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There should not be any files in /newroot/var, /newroot/tmp etc....&lt;/P&gt;&lt;P&gt;After the check you can use the following commands to umount/unshare:&lt;/P&gt;&lt;P&gt;umount /newroot&lt;/P&gt;&lt;P&gt;unshare /&lt;/P&gt;&lt;P&gt;rmdir /newroot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 08:59:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-almost-full/m-p/7033613#M491120</guid>
      <dc:creator>Bertram Stoeckler</dc:creator>
      <dc:date>2019-02-05T08:59:39Z</dc:date>
    </item>
  </channel>
</rss>

