<?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: Root fs getting a little full. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879430#M3299</link>
    <description>I would have used a slightly different command:&lt;BR /&gt;&lt;BR /&gt;du -xm --max-depth=1&lt;BR /&gt;&lt;BR /&gt;(only show sub-dirs on the current file-system, one level deep)&lt;BR /&gt;&lt;BR /&gt;'sbin' at about 5-10 MB doesn't look all that un-usual.&lt;BR /&gt;&lt;BR /&gt;Here's a dump from one of my systems (RH7.2), with only / and /boot filesystems:&lt;BR /&gt;&lt;BR /&gt;1       ./lost+found&lt;BR /&gt;202     ./var&lt;BR /&gt;1       ./tmp&lt;BR /&gt;1       ./dev&lt;BR /&gt;11      ./etc&lt;BR /&gt;3141    ./usr&lt;BR /&gt;6       ./bin&lt;BR /&gt;1267    ./home&lt;BR /&gt;44      ./lib&lt;BR /&gt;34      ./mnt&lt;BR /&gt;47      ./opt&lt;BR /&gt;1866    ./root&lt;BR /&gt;10      ./sbin&lt;BR /&gt;1       ./.automount&lt;BR /&gt;1       ./tftpboot&lt;BR /&gt;&lt;BR /&gt;Are /home, /root, and /var on the root FS, or on another?&lt;BR /&gt;&lt;BR /&gt;Either show us a mount table, or the output from the command above, and we'll help you a bit further, but it doesn't really look as if anything is out-of-place.</description>
    <pubDate>Tue, 14 Jan 2003 01:22:51 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2003-01-14T01:22:51Z</dc:date>
    <item>
      <title>Root fs getting a little full.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879425#M3294</link>
      <description>Prior to my last Red Hat update.&lt;BR /&gt;&lt;BR /&gt;/ fs was around 46% full,  set for 500 Meg.&lt;BR /&gt;&lt;BR /&gt;Now its 77%&lt;BR /&gt;&lt;BR /&gt;The new kernels' wouldn't boot, so I did this:&lt;BR /&gt;&lt;BR /&gt;cd /boot&lt;BR /&gt;rm the offending kernels and their source ans system files&lt;BR /&gt;&lt;BR /&gt;vi grub/grub.conf&lt;BR /&gt;&lt;BR /&gt;Adjusted the setting there to remove the delete kernels.&lt;BR /&gt;&lt;BR /&gt;I did not touch any file named vmxxxxx&lt;BR /&gt;&lt;BR /&gt;I'm still hanging around 72%&lt;BR /&gt;&lt;BR /&gt;Any ideas on how to find and safely cut the fat?&lt;BR /&gt;&lt;BR /&gt;On my HP-UX enterprise servers at work, we have a maintenance window and I can down the servers, put them in single user mode and just poke around the root with nothing mounted.&lt;BR /&gt;&lt;BR /&gt;Interestingly enough, I can't do that with the Red Hat box so easily because its a 24/7 web hosting business.&lt;BR /&gt;&lt;BR /&gt;Yes, I have a backup server, but I've not tested my switchover methodology yet and I want to do some cron work so that the DNS server BIND and httpd servers are always the same as the production server.&lt;BR /&gt;&lt;BR /&gt;Then, down the network on prod, up the network by script on backup and we're on the backup server.&lt;BR /&gt;&lt;BR /&gt;I really feel the need to clear the root fs now though.  So, what other files can I safely delete.&lt;BR /&gt;&lt;BR /&gt;I'm assuming some of the vmxxx files can go, but am not sure which ones.&lt;BR /&gt;&lt;BR /&gt;What other areas of root fs do I need to look out to clear out those nasty  new kernels?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Points will be awarded liberally for useful help.&lt;BR /&gt;&lt;BR /&gt;Heck, tell me the weather, and I'll give you two points.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 10 Jan 2003 18:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879425#M3294</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-10T18:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Root fs getting a little full.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879426#M3295</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;It depends on how what your partition table looks like. Is /usr on it's own partition? If not, use "make clean" of "make mrproper" in /usr/src/linux to clean up compiled kernel drivers etc.&lt;BR /&gt;&lt;BR /&gt;To find out which directories might be responsible for / growing larger and larger, use&lt;BR /&gt;&lt;BR /&gt;find / -xdev -type d&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Vincent</description>
      <pubDate>Sun, 12 Jan 2003 13:56:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879426#M3295</guid>
      <dc:creator>Vincent Stedema</dc:creator>
      <dc:date>2003-01-12T13:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Root fs getting a little full.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879427#M3296</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;run this&lt;BR /&gt;&lt;BR /&gt;$ du -sm `ls -A /` | sort -n&lt;BR /&gt;&lt;BR /&gt;and check for the biggest directory / files that are *not* mountpoints.&lt;BR /&gt;&lt;BR /&gt;If you're not sure what to do then just post results of the above command and from&lt;BR /&gt;&lt;BR /&gt;$ df&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;   Jochen</description>
      <pubDate>Mon, 13 Jan 2003 11:32:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879427#M3296</guid>
      <dc:creator>Jochen Heuer</dc:creator>
      <dc:date>2003-01-13T11:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Root fs getting a little full.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879428#M3297</link>
      <description>Thank you, I'll give it a try this evening and post results.</description>
      <pubDate>Mon, 13 Jan 2003 17:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879428#M3297</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-13T17:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Root fs getting a little full.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879429#M3298</link>
      <description>Just wondering based on this output where to look...&lt;BR /&gt;&lt;BR /&gt;[root@jerusalem /]# du -sm `ls -A /` | sort -n&lt;BR /&gt;du: `proc/12981/fd/3': No such file or directory&lt;BR /&gt;0       .autofsck&lt;BR /&gt;1       dev&lt;BR /&gt;1       initrd&lt;BR /&gt;1       lost+found&lt;BR /&gt;1       misc&lt;BR /&gt;1       mnt&lt;BR /&gt;1       opt&lt;BR /&gt;1       proc&lt;BR /&gt;1       tmp&lt;BR /&gt;6       bin&lt;BR /&gt;6       etc&lt;BR /&gt;10      sbin&lt;BR /&gt;22      boot&lt;BR /&gt;34      root&lt;BR /&gt;79      backups&lt;BR /&gt;217     var&lt;BR /&gt;240     home&lt;BR /&gt;247     lib&lt;BR /&gt;1808    usr&lt;BR /&gt;&lt;BR /&gt;sbin looks a little fat, boot looks a little fat, everything else is a mounted fs&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Jan 2003 23:44:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879429#M3298</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-13T23:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Root fs getting a little full.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879430#M3299</link>
      <description>I would have used a slightly different command:&lt;BR /&gt;&lt;BR /&gt;du -xm --max-depth=1&lt;BR /&gt;&lt;BR /&gt;(only show sub-dirs on the current file-system, one level deep)&lt;BR /&gt;&lt;BR /&gt;'sbin' at about 5-10 MB doesn't look all that un-usual.&lt;BR /&gt;&lt;BR /&gt;Here's a dump from one of my systems (RH7.2), with only / and /boot filesystems:&lt;BR /&gt;&lt;BR /&gt;1       ./lost+found&lt;BR /&gt;202     ./var&lt;BR /&gt;1       ./tmp&lt;BR /&gt;1       ./dev&lt;BR /&gt;11      ./etc&lt;BR /&gt;3141    ./usr&lt;BR /&gt;6       ./bin&lt;BR /&gt;1267    ./home&lt;BR /&gt;44      ./lib&lt;BR /&gt;34      ./mnt&lt;BR /&gt;47      ./opt&lt;BR /&gt;1866    ./root&lt;BR /&gt;10      ./sbin&lt;BR /&gt;1       ./.automount&lt;BR /&gt;1       ./tftpboot&lt;BR /&gt;&lt;BR /&gt;Are /home, /root, and /var on the root FS, or on another?&lt;BR /&gt;&lt;BR /&gt;Either show us a mount table, or the output from the command above, and we'll help you a bit further, but it doesn't really look as if anything is out-of-place.</description>
      <pubDate>Tue, 14 Jan 2003 01:22:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879430#M3299</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-01-14T01:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Root fs getting a little full.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879431#M3300</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;/lib is taking lots of space. Have a look at /lib/modules. Check for how many kernels there are modules available? Are they all required?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;   Jochen</description>
      <pubDate>Tue, 14 Jan 2003 08:01:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879431#M3300</guid>
      <dc:creator>Jochen Heuer</dc:creator>
      <dc:date>2003-01-14T08:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Root fs getting a little full.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879432#M3301</link>
      <description>So many great suggestions.  I will cut and paste and run a few commands and see if I can find the fat.&lt;BR /&gt;&lt;BR /&gt;I'm never comfortable running a root fs over 50%.  Since this one is a 512 MB fs, that should be a reasonable goal.&lt;BR /&gt;&lt;BR /&gt;Thanks and keep them coming, the best is going into a script for future use ad posting to thos forum.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 14 Jan 2003 13:45:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879432#M3301</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-14T13:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Root fs getting a little full.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879433#M3302</link>
      <description>Stuart, your command is the winner. &lt;BR /&gt;&lt;BR /&gt;Its now part of my toolkit.&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;&lt;BR /&gt;Post another reply to pick up the full 10 points.</description>
      <pubDate>Tue, 14 Jan 2003 18:28:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879433#M3302</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-14T18:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Root fs getting a little full.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879434#M3303</link>
      <description>Hey, Steve,&lt;BR /&gt;&lt;BR /&gt;The weather here in Indianapolis is clear and cold, with bright sunshine.&lt;BR /&gt;&lt;BR /&gt;;-)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Jan 2003 14:11:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-fs-getting-a-little-full/m-p/2879434#M3303</guid>
      <dc:creator>Trever Furnish</dc:creator>
      <dc:date>2003-01-15T14:11:49Z</dc:date>
    </item>
  </channel>
</rss>

