<?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: maintaining root filesystem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/maintaining-root-filesystem/m-p/3065331#M139552</link>
    <description>Check out this recent question: &lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x79e46933fb5d45439a142af8db73d1c6,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x79e46933fb5d45439a142af8db73d1c6,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The root filesystem can fill up with a few large files but it is much more important to locate large directories. 10,000 small files in a junk directory is just as bad as a few big files.</description>
    <pubDate>Mon, 08 Sep 2003 00:54:52 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2003-09-08T00:54:52Z</dc:date>
    <item>
      <title>maintaining root filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maintaining-root-filesystem/m-p/3065327#M139548</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have an rp8400/HP-UX 11i.&lt;BR /&gt;&lt;BR /&gt;My root filesystem is 99% full. Now I am not able to figure out which all files are occupying spaces in root.&lt;BR /&gt;&lt;BR /&gt;Generelly foor the other filesystem like say /var. I use.&lt;BR /&gt;# du -a /var | sort -nr | more&lt;BR /&gt;&lt;BR /&gt;Kindly let me know the best possible way to identify the unwanted files under root filesystem.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;</description>
      <pubDate>Sun, 07 Sep 2003 23:59:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maintaining-root-filesystem/m-p/3065327#M139548</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2003-09-07T23:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: maintaining root filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maintaining-root-filesystem/m-p/3065328#M139549</link>
      <description>A quick check is to look at /dev/rmt and see if you have a large file called om in there.  Many people mistakenly use om instead of 0m and backups will go to disk instead of tape and fill / (root)&lt;BR /&gt;&lt;BR /&gt;Other than that, you will can check for large files as follows:&lt;BR /&gt;&lt;BR /&gt;# find / -xdev -size +10000c -exec ls -l {} \;&lt;BR /&gt;&lt;BR /&gt;That will show you all the files in / over 10Mb.  You can change the size to suit your purposes.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tim.</description>
      <pubDate>Mon, 08 Sep 2003 00:09:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maintaining-root-filesystem/m-p/3065328#M139549</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-09-08T00:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: maintaining root filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maintaining-root-filesystem/m-p/3065329#M139550</link>
      <description>Hi Sanjiv&lt;BR /&gt;&lt;BR /&gt;I'd normally use:&lt;BR /&gt;# du -kx / | sort -rn | head -30&lt;BR /&gt;This will output the top 30 largest files/directories in root fs.  &lt;BR /&gt;The "-x" limits the search to the / FS. &lt;BR /&gt;&lt;BR /&gt;Common causes of root FS filling up include:&lt;BR /&gt;- core files&lt;BR /&gt;- incorrect tape device specificied for backup (check /dev/rmt directory)&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
      <pubDate>Mon, 08 Sep 2003 00:09:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maintaining-root-filesystem/m-p/3065329#M139550</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-09-08T00:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: maintaining root filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maintaining-root-filesystem/m-p/3065330#M139551</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I usually use&lt;BR /&gt;&lt;BR /&gt;find / -xdev -type d |xargs du -sk |sort -n|tail -10 &lt;BR /&gt;&lt;BR /&gt;to find the top 10 directories with respect to size. -xdev will exclude filesystems so you will get only the directories under / filesystem.&lt;BR /&gt;&lt;BR /&gt;You can also use -size option with find along with -xdev to find the files of more than particular size.&lt;BR /&gt;&lt;BR /&gt;Below are few cases why your root filesystem may get full&lt;BR /&gt;&lt;BR /&gt;1. Due to directories under / that are not filesystems but owned by other users. &lt;BR /&gt;2. Core files. You can find them out by using find command&lt;BR /&gt;&lt;BR /&gt;find / -xdev -name core -print &lt;BR /&gt;&lt;BR /&gt;3. /etc/rc.log. Some application may tend to write their logs into rc.log if started through sbin/init.d scripts. You can find them out by "fuser" command.&lt;BR /&gt;&lt;BR /&gt;4. Device files created as normal files. Like 0m, null, log etc.,&lt;BR /&gt;&lt;BR /&gt;5. /etc/lvmconf. If you have too many filesystems and volume groups, this may become large. Check the size on it.&lt;BR /&gt;&lt;BR /&gt;6. /etc/cmcluster. Again, applications started through serviceguard may tend to write error messages into the log files in this directory. This may create problems to root file systems sometime.&lt;BR /&gt;&lt;BR /&gt;Keep a root window open on this system. Otherwise, if it becomes 100%, then you will need to reboot the box into single user mode to correct the issue.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 08 Sep 2003 00:11:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maintaining-root-filesystem/m-p/3065330#M139551</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-09-08T00:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: maintaining root filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maintaining-root-filesystem/m-p/3065331#M139552</link>
      <description>Check out this recent question: &lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x79e46933fb5d45439a142af8db73d1c6,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x79e46933fb5d45439a142af8db73d1c6,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The root filesystem can fill up with a few large files but it is much more important to locate large directories. 10,000 small files in a junk directory is just as bad as a few big files.</description>
      <pubDate>Mon, 08 Sep 2003 00:54:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maintaining-root-filesystem/m-p/3065331#M139552</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-09-08T00:54:52Z</dc:date>
    </item>
  </channel>
</rss>

