<?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 File system full in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721290#M252829</link>
    <description>Hi Every one &lt;BR /&gt;&lt;BR /&gt;here is the output &lt;BR /&gt;&lt;BR /&gt; du -kx / | sort -rn | head -10&lt;BR /&gt;178264  /&lt;BR /&gt;120696  /etc&lt;BR /&gt;72336   /etc/lvmconf&lt;BR /&gt;37912   /sbin&lt;BR /&gt;26696   /etc/vx&lt;BR /&gt;21656   /etc/vx/type&lt;BR /&gt;16408   /etc/opt&lt;BR /&gt;13080   /sysinfo&lt;BR /&gt;10984   /etc/opt/resmon&lt;BR /&gt;8616    /etc/vx/type/static&lt;BR /&gt;----------------------------------------&lt;BR /&gt;bdf /&lt;BR /&gt;/dev/vg00/lvol3     204800  184352   20352   96% /&lt;BR /&gt;----------------------------------------&lt;BR /&gt;&lt;BR /&gt;the ls -lR with sort and du command will show the other mounted files also &lt;BR /&gt;&lt;BR /&gt;is there any other suggesstions where i can solve this problem&lt;BR /&gt;&lt;BR /&gt;Many Thanks &amp;amp; regards&lt;BR /&gt;Susee</description>
    <pubDate>Tue, 31 Jan 2006 13:15:30 GMT</pubDate>
    <dc:creator>susee</dc:creator>
    <dc:date>2006-01-31T13:15:30Z</dc:date>
    <item>
      <title>Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721279#M252818</link>
      <description>Hi Everybody&lt;BR /&gt;&lt;BR /&gt;Currently one of my hp servers , the root filesystem is getting increased (95% ) , as per our agreemnt to the customer the root file system should be maintained below 90 % , &lt;BR /&gt;when i use ls -lR with sort option it shows all the files under mounted directory too &lt;BR /&gt;&lt;BR /&gt;since the / file system has all important files under it , i am unable to identify which file shoud i remove or trim for that &lt;BR /&gt;&lt;BR /&gt;i also didnt  find any core files under the file system&lt;BR /&gt;&lt;BR /&gt;could any one suggest me to find the unwanted files under / and any thing can be done on the the softwares or patches so that i can limit the space</description>
      <pubDate>Tue, 31 Jan 2006 11:41:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721279#M252818</guid>
      <dc:creator>susee</dc:creator>
      <dc:date>2006-01-31T11:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721280#M252819</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;Can you post these ? &lt;BR /&gt;&lt;BR /&gt;1) # ls -lR | sort +4 -5nr | more&lt;BR /&gt;2) # bdf &lt;BR /&gt;&lt;BR /&gt;To clean patches installed on your server, &lt;BR /&gt; # cleanup -c 1 &lt;BR /&gt;&lt;BR /&gt;-Arun &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Jan 2006 11:45:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721280#M252819</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-01-31T11:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721281#M252820</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Could you post the results from&lt;BR /&gt;&lt;BR /&gt;# bdf /&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     255253   26385  203342   11% /&lt;BR /&gt;&lt;BR /&gt;# du -kx / | sort -rn | head -20&lt;BR /&gt;26229   /&lt;BR /&gt;19968   /sbin&lt;BR /&gt;5886    /etc&lt;BR /&gt;3824    /sbin/fs&lt;BR /&gt;2776    /etc/opt&lt;BR /&gt;2637    /etc/opt/resmon&lt;BR /&gt;1717    /sbin/fs/vxfs&lt;BR /&gt;1614    /sbin/fs/hfs&lt;BR /&gt;1058    /etc/lvmconf&lt;BR /&gt;1024    /etc/opt/resmon/lbin&lt;BR /&gt;981     /etc/opt/resmon/lib&lt;BR /&gt;559     /etc/opt/resmon/log&lt;BR /&gt;553     /sbin/lib&lt;BR /&gt;525     /etc/X11&lt;BR /&gt;458     /etc/hpC2400&lt;BR /&gt;438     /sbin/init.d&lt;BR /&gt;302     /root&lt;BR /&gt;225     /sbin/fs/cdfs&lt;BR /&gt;205     /root/.sw&lt;BR /&gt;201     /root/.sw/sessions&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Tue, 31 Jan 2006 11:48:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721281#M252820</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2006-01-31T11:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721282#M252821</link>
      <description>Hi susee,&lt;BR /&gt;&lt;BR /&gt;Get to / &amp;amp; run this command&lt;BR /&gt;&lt;BR /&gt;du -akx | sort -rn | more&lt;BR /&gt;&lt;BR /&gt;THe "x" is important as it will restrict the search to the / filesystem only.&lt;BR /&gt;This will list the biggest files/dirs at the top of the output - hence the | more&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 31 Jan 2006 11:48:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721282#M252821</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2006-01-31T11:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721283#M252822</link>
      <description>Hi Susee ,&lt;BR /&gt;&lt;BR /&gt;Can use find  command..&lt;BR /&gt;&lt;BR /&gt;find . -xdev -size +1000000c -exec ls -ld {} \; &lt;BR /&gt;&lt;BR /&gt;This will print files greater than 1Mb , you can make your search futher narrow by &lt;BR /&gt;increasing the file size in the search string .&lt;BR /&gt;&lt;BR /&gt;Regards ..bl.&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Jan 2006 11:49:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721283#M252822</guid>
      <dc:creator>baiju_3</dc:creator>
      <dc:date>2006-01-31T11:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721284#M252823</link>
      <description>The only things that should exist under / (that aren't mounted file systems) should be:&lt;BR /&gt;&lt;BR /&gt;/sbin/&lt;BR /&gt;/dev/&lt;BR /&gt;/etc/&lt;BR /&gt;&lt;BR /&gt;One of the most common causes for root filling up is someone doing a backup to a non-existant device, like /dev/rmt/Om (the letter "O" rather than the number "0").  A core file would also fill things up rather quickly.  And very rarely something will get written underneat a mount point, like someone writing a large file to /home when /home is not mounted.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 31 Jan 2006 11:50:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721284#M252823</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-01-31T11:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721285#M252824</link>
      <description>ls -LR is the wrong command. The root filesystem is static and will not grow unless a root administrator has made a mistake. Don't look for big files -- look for big directories. Use this command and post the results:&lt;BR /&gt; &lt;BR /&gt;du -kx / | sort -rn | head -10&lt;BR /&gt; &lt;BR /&gt;The largest directories will be /etc and /sbin. If you see anything else at the top of the list, it needs to be moved. Note that the cleanup command only modifies /var/adm/sw, not the root filesystem (unless /var is part of root and doesn't showup in bdf)</description>
      <pubDate>Tue, 31 Jan 2006 11:51:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721285#M252824</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-01-31T11:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721286#M252825</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Note that space can be taken up in a hidden way in root:&lt;BR /&gt;&lt;BR /&gt;1) A process can remain open on a file that has been deleted. In this case the space is not deleted.&lt;BR /&gt;&lt;BR /&gt;2) Files can be hidden because the folder they are in now have a filesystem mounted on them.&lt;BR /&gt;&lt;BR /&gt;Lets say the /schmo folder ahd 54 MB of files in it prior to:&lt;BR /&gt;mount /schmo&lt;BR /&gt;Now those files are taking up space on root and can not be seen or deleted.&lt;BR /&gt;&lt;BR /&gt;The old hidden file trick.&lt;BR /&gt;&lt;BR /&gt;Now to fix it, you umount /schmo and clean up.&lt;BR /&gt;&lt;BR /&gt;It becomes a harder task when the /var or other filesystem has this issue. Then you have to look at things with nothing mounted in single user mode.&lt;BR /&gt;&lt;BR /&gt;boot&lt;BR /&gt;intervene at the 10 second prompt&lt;BR /&gt;bo&lt;ENTER&gt;&lt;BR /&gt;Y Interact&lt;BR /&gt;&lt;ENTER&gt;&lt;BR /&gt;hpux -is&lt;BR /&gt;&lt;BR /&gt;cd /usr&lt;BR /&gt;ls -la&lt;BR /&gt;Mothing should be there&lt;BR /&gt;cd /var&lt;BR /&gt;ls -la&lt;BR /&gt;&lt;BR /&gt;If possible run the du -sk | sort -rn | more command. You may need to mount /usr to do this. Ignore large files in /usr if that is required.&lt;BR /&gt;&lt;BR /&gt;Clean up files that do not belong in folders mentioned as mount points in /etc/fstab&lt;BR /&gt;&lt;BR /&gt;boot again.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/ENTER&gt;&lt;/ENTER&gt;</description>
      <pubDate>Tue, 31 Jan 2006 11:54:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721286#M252825</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-01-31T11:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721287#M252826</link>
      <description>Largest dirs should be:&lt;BR /&gt;&lt;BR /&gt;/etc/lvmconf&lt;BR /&gt;/etc/vx&lt;BR /&gt;&lt;BR /&gt;and /etc/cmcluster if running MC/SG&lt;BR /&gt;&lt;BR /&gt;Jeff's du -akx command works great - except instead of more - just normal sort:&lt;BR /&gt;&lt;BR /&gt;du -akx |sort -n&lt;BR /&gt;&lt;BR /&gt;and largest will be on the bottom&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 31 Jan 2006 12:23:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721287#M252826</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-01-31T12:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721288#M252827</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Checks log files in /var/adm/syslog/*.log, gzip them.&lt;BR /&gt;&lt;BR /&gt;Also check in /etc/lvmconf/ for any old conf files..!!&lt;BR /&gt;&lt;BR /&gt;Check whats others said..!!&lt;BR /&gt;&lt;BR /&gt;Chan</description>
      <pubDate>Tue, 31 Jan 2006 12:31:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721288#M252827</guid>
      <dc:creator>Chan 007</dc:creator>
      <dc:date>2006-01-31T12:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721289#M252828</link>
      <description>&lt;BR /&gt;Susee&lt;BR /&gt;&lt;BR /&gt;you might want to check for a large file under the /dev/rmt area.  Sometimes a tape backup command is entered wrong and the backup does to the file instead of the tape.........&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Jan 2006 12:54:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721289#M252828</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2006-01-31T12:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721290#M252829</link>
      <description>Hi Every one &lt;BR /&gt;&lt;BR /&gt;here is the output &lt;BR /&gt;&lt;BR /&gt; du -kx / | sort -rn | head -10&lt;BR /&gt;178264  /&lt;BR /&gt;120696  /etc&lt;BR /&gt;72336   /etc/lvmconf&lt;BR /&gt;37912   /sbin&lt;BR /&gt;26696   /etc/vx&lt;BR /&gt;21656   /etc/vx/type&lt;BR /&gt;16408   /etc/opt&lt;BR /&gt;13080   /sysinfo&lt;BR /&gt;10984   /etc/opt/resmon&lt;BR /&gt;8616    /etc/vx/type/static&lt;BR /&gt;----------------------------------------&lt;BR /&gt;bdf /&lt;BR /&gt;/dev/vg00/lvol3     204800  184352   20352   96% /&lt;BR /&gt;----------------------------------------&lt;BR /&gt;&lt;BR /&gt;the ls -lR with sort and du command will show the other mounted files also &lt;BR /&gt;&lt;BR /&gt;is there any other suggesstions where i can solve this problem&lt;BR /&gt;&lt;BR /&gt;Many Thanks &amp;amp; regards&lt;BR /&gt;Susee</description>
      <pubDate>Tue, 31 Jan 2006 13:15:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721290#M252829</guid>
      <dc:creator>susee</dc:creator>
      <dc:date>2006-01-31T13:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721291#M252830</link>
      <description>/etc is quite large. Let's see what the biggest files are:&lt;BR /&gt;&lt;BR /&gt;ll /etc | sort -rnk5 | head -20&lt;BR /&gt; &lt;BR /&gt;The largest directory in /etc is lvmconf. Does this system have dozens of volume groups? If not, sort the lvmconf directory like this:&lt;BR /&gt;&lt;BR /&gt;ll /etc/lvmconf | sort-rnk5 | head-20&lt;BR /&gt;&lt;BR /&gt;The results of these two commands will be very helpful.</description>
      <pubDate>Tue, 31 Jan 2006 13:31:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721291#M252830</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-01-31T13:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721292#M252831</link>
      <description>Hi (again) Susee,&lt;BR /&gt;&lt;BR /&gt;Take a look in /etc/lvmconf.&lt;BR /&gt;If you have a lot of VGs you may also have a lot of vg&lt;NAME&gt;.conf.old files&lt;BR /&gt;They can be quite large - 100s of KB or even greater then 1MB.&lt;BR /&gt;These can usually be safely removed because they're not current. Just make sure you *do* have current files.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff&lt;/NAME&gt;</description>
      <pubDate>Tue, 31 Jan 2006 13:32:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721292#M252831</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2006-01-31T13:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721293#M252832</link>
      <description>You have more junk in /etc and /etc/lvmconf&lt;BR /&gt;&lt;BR /&gt;in /etc&lt;BR /&gt;type ls -lrt (find the junk)&lt;BR /&gt;&lt;BR /&gt;ls -lrt |grep ^d, to see which is the directory that has more junk created recently.&lt;BR /&gt;&lt;BR /&gt;Move them to /var/adm/crash for timebeing.&lt;BR /&gt;&lt;BR /&gt;Chan&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Jan 2006 13:43:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721293#M252832</guid>
      <dc:creator>Chan 007</dc:creator>
      <dc:date>2006-01-31T13:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721294#M252833</link>
      <description>If you have junk I would not advise you to move it to /var/adm/crash - you might need that if the system crashes.&lt;BR /&gt;&lt;BR /&gt;I tend to set up a small filesystem called /safe for stuff that appears to be junk. If in doubt, I move the files to /safe and delete them if no one has screamed after a year.&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Wed, 01 Feb 2006 03:08:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721294#M252833</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2006-02-01T03:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721295#M252834</link>
      <description>Hi Susee ,&lt;BR /&gt;&lt;BR /&gt;You can use xdev option with find to get all biggest files under root.&lt;BR /&gt;&lt;BR /&gt;# cd /&lt;BR /&gt;# find . -type f -xdev -exec ls -l {} \; &amp;gt; out.txt&lt;BR /&gt;# cat out.txt | sort +4 -5nr  &amp;gt; out1.txt&lt;BR /&gt;&lt;BR /&gt;Check the out1.txt for biggest files and they will be in serial order from biggest size.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;btw ,&lt;BR /&gt;you can also check /etc/lvmconf/*.old  files. Many times it occupies space , and *.old files can be moved to other place , and some space can be freed up.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Wed, 01 Feb 2006 03:25:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721295#M252834</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-02-01T03:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721296#M252835</link>
      <description>Try this:&lt;BR /&gt;&lt;BR /&gt;# du -x / | sort -rnk 1 | more&lt;BR /&gt;&lt;BR /&gt;It will give disk usage based report for that root (/) file system only.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Wed, 01 Feb 2006 03:46:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-full/m-p/3721296#M252835</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-01T03:46:07Z</dc:date>
    </item>
  </channel>
</rss>

