<?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: HP-UX 10.20 root space running out in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567918#M227702</link>
    <description>140 megs for / is OK as far as root for 10.20. Unfortunately, the online diagnostics store some log files in /etc, a big NO-NO for all Unix flavors. Normally, these logs don't grow very much but they do need to be watched as far as size. If they grow rapidly, it usually means there is a problem with the hardware or perhaps with the diagnostics. Make sure you have the latest (Dec 2001) diagnostic and HWE (hardware enablement) patches installed.&lt;BR /&gt; &lt;BR /&gt;The best command to locate problems is NOT find, but du (I call it directory usage). Find the biggest directories first. Deleting big files (like vmunix) is not always helpful and can sometimes be a disaster. Use this to locate the biggest directories:&lt;BR /&gt; &lt;BR /&gt;du -kx / | sort -rn | head -20&lt;BR /&gt; &lt;BR /&gt;For a typical 10.20 system, this is the result:&lt;BR /&gt; &lt;BR /&gt;26423   /&lt;BR /&gt;14796   /sbin&lt;BR /&gt;6897    /etc&lt;BR /&gt;3182    /sbin/fs&lt;BR /&gt;2966    /etc/opt&lt;BR /&gt;2520    /etc/opt/resmon&lt;BR /&gt;2318    /root&lt;BR /&gt;1796    /etc/lvmconf&lt;BR /&gt;1366    /sbin/fs/vxfs&lt;BR /&gt;1154    /sbin/fs/hfs&lt;BR /&gt; &lt;BR /&gt;The du -kx / says to look only at /, and report size on Kbytes. Note thast /dev should be at the bottom of the list, perhaps 96 or 128 Kbytes maximum. Larger values indicate that someone (with root privileges) stored an ordinary file in /dev, a big NO-NO. If some other directory pops up towards the top of the list, then look inside using ll (and sort by size):&lt;BR /&gt; &lt;BR /&gt;ll /some_dir | sort -rnk5 | more</description>
    <pubDate>Wed, 22 Jun 2005 07:33:58 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2005-06-22T07:33:58Z</dc:date>
    <item>
      <title>HP-UX 10.20 root space running out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567908#M227692</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;My HP-UX/9000 server root directory is gradually running out of space. I am not sure why. Can anyone tell me what I can move/delete to gain space back? I have attached the output from bdf.&lt;BR /&gt;&lt;BR /&gt;Any help is appreciated.</description>
      <pubDate>Tue, 21 Jun 2005 13:11:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567908#M227692</guid>
      <dc:creator>BJ Hu</dc:creator>
      <dc:date>2005-06-21T13:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 10.20 root space running out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567909#M227693</link>
      <description>To start with, your "/" filesystem is very small. If you have any space, I would suggest bumping it up to 300MB or more if you have more space. It will require taking the system down making an ignite tape and re-igniting your server. Search "extend root filesystem" to find the "how-to" text in forums.&lt;BR /&gt;&lt;BR /&gt;To remedy the situation at hand, look for large files (files size &amp;gt;1MB ) on / with:&lt;BR /&gt;&lt;BR /&gt;find / -xdev -size +1000000c &lt;BR /&gt;&lt;BR /&gt;and see if any of these files can be deleted or moved to other places.</description>
      <pubDate>Tue, 21 Jun 2005 13:20:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567909#M227693</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-06-21T13:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 10.20 root space running out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567910#M227694</link>
      <description>Run "du -sk /* | sort -n", ignoring any mounted file systems in the output.  This should give you a good idea of the major space occupiers and you can proceed from there.  You should probably also check for core files:  "find / -type f -name core".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 21 Jun 2005 13:23:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567910#M227694</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-06-21T13:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 10.20 root space running out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567911#M227695</link>
      <description>Hi BJ,&lt;BR /&gt;&lt;BR /&gt;  Check if there are some log files or temporary files being sent to your root file system by some external application or program, if possible redirect them to another FS (maybe /tmp), or create a FS for these files if you find this is the case.  Also if you can find that a  directory within root FS that is not part of the OS is growing, you may consider make a FS to store that data.</description>
      <pubDate>Tue, 21 Jun 2005 15:37:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567911#M227695</guid>
      <dc:creator>Alberto Ochoa</dc:creator>
      <dc:date>2005-06-21T15:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 10.20 root space running out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567912#M227696</link>
      <description>Hi,&lt;BR /&gt;try this command sequence to display the 10 biggest files in the root partition:&lt;BR /&gt;# find / -type f -xdev -exec ls -l {} \; |  sort -k5n | tail -10&lt;BR /&gt; &lt;BR /&gt;and be patient; if the output - when it comes - does not look suspicious, then try looking for the 20 biggest files. It sounds as if someone, who should not, keeps writing in the root partition - which I think is   big enough.&lt;BR /&gt; &lt;BR /&gt;regards,&lt;BR /&gt;John K.&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Jun 2005 15:59:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567912#M227696</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2005-06-21T15:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 10.20 root space running out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567913#M227697</link>
      <description>Another thing to check is for core files and files under /dev which are actually not special files  but some one redirected some out put in a wrong way so one of the device files is now huge. This typically happens on /dev/rmt/ devices.</description>
      <pubDate>Tue, 21 Jun 2005 18:45:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567913#M227697</guid>
      <dc:creator>AMAT SA</dc:creator>
      <dc:date>2005-06-21T18:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 10.20 root space running out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567914#M227698</link>
      <description>Hi Hu,&lt;BR /&gt;&lt;BR /&gt;   1)&lt;BR /&gt;   When i saw ur BDF output, i found three VG's..vg00,vg01 and vg05..&lt;BR /&gt;&lt;BR /&gt;   assuming that in the past vg02,vg03 and vg04 were there and removed.. Please go to the directory /etc/lvm.conf/ and remove files vg02.conf,....vg04.conf. Safely enough you could deleted other *.conf file in /etc/lvmtab except that of vg00,vg01 and vgo5's... To be even safer could backup and deleted the unused VG's conf file.&lt;BR /&gt;&lt;BR /&gt;    2)&lt;BR /&gt;    Then ofcourse you could check for core files and deleted them...&lt;BR /&gt;&lt;BR /&gt;    find / -xdev -name core -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;    3)&lt;BR /&gt;    Investigate the /root dir, usually , sys admin tend to ingnore the fact that /root is a part of / FS and tend to keep there scripts and other analysed data in /root.. make sure the dir doesnot contain any other files and dir except for start up profiles and etc...&lt;BR /&gt;&lt;BR /&gt;    4) &lt;BR /&gt;    Could also investigate the /dev dir for regular files.. where sometime , admins tend to writed regular file will involking "tar" with a wrong device file...&lt;BR /&gt;&lt;BR /&gt;Hope these help..&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Senthil</description>
      <pubDate>Wed, 22 Jun 2005 00:28:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567914#M227698</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2005-06-22T00:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 10.20 root space running out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567915#M227699</link>
      <description>typo in the first pointer..it is dir /etc/lvmconf and not /etc/lvmtab</description>
      <pubDate>Wed, 22 Jun 2005 00:29:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567915#M227699</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2005-06-22T00:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 10.20 root space running out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567916#M227700</link>
      <description>Hi BJ,&lt;BR /&gt;&lt;BR /&gt;You can use sam to trim the log files or &lt;BR /&gt;in routine tasks check for selective file removal and system log files. Check the files which you can remove safely or trim them.&lt;BR /&gt;&lt;BR /&gt;Cheers !!!&lt;BR /&gt;eknath&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Jun 2005 04:48:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567916#M227700</guid>
      <dc:creator>Eknath</dc:creator>
      <dc:date>2005-06-22T04:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 10.20 root space running out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567917#M227701</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;Thanks for all the replies. I have found that there are some log files on the /etc/opt/resmon/log directory. I moved them to another location. I did use the search function provided by some and they help me locat the log files. &lt;BR /&gt;&lt;BR /&gt;I appreciate all the helps.&lt;BR /&gt;&lt;BR /&gt;Cheers.</description>
      <pubDate>Wed, 22 Jun 2005 06:22:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567917#M227701</guid>
      <dc:creator>BJ Hu</dc:creator>
      <dc:date>2005-06-22T06:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 10.20 root space running out</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567918#M227702</link>
      <description>140 megs for / is OK as far as root for 10.20. Unfortunately, the online diagnostics store some log files in /etc, a big NO-NO for all Unix flavors. Normally, these logs don't grow very much but they do need to be watched as far as size. If they grow rapidly, it usually means there is a problem with the hardware or perhaps with the diagnostics. Make sure you have the latest (Dec 2001) diagnostic and HWE (hardware enablement) patches installed.&lt;BR /&gt; &lt;BR /&gt;The best command to locate problems is NOT find, but du (I call it directory usage). Find the biggest directories first. Deleting big files (like vmunix) is not always helpful and can sometimes be a disaster. Use this to locate the biggest directories:&lt;BR /&gt; &lt;BR /&gt;du -kx / | sort -rn | head -20&lt;BR /&gt; &lt;BR /&gt;For a typical 10.20 system, this is the result:&lt;BR /&gt; &lt;BR /&gt;26423   /&lt;BR /&gt;14796   /sbin&lt;BR /&gt;6897    /etc&lt;BR /&gt;3182    /sbin/fs&lt;BR /&gt;2966    /etc/opt&lt;BR /&gt;2520    /etc/opt/resmon&lt;BR /&gt;2318    /root&lt;BR /&gt;1796    /etc/lvmconf&lt;BR /&gt;1366    /sbin/fs/vxfs&lt;BR /&gt;1154    /sbin/fs/hfs&lt;BR /&gt; &lt;BR /&gt;The du -kx / says to look only at /, and report size on Kbytes. Note thast /dev should be at the bottom of the list, perhaps 96 or 128 Kbytes maximum. Larger values indicate that someone (with root privileges) stored an ordinary file in /dev, a big NO-NO. If some other directory pops up towards the top of the list, then look inside using ll (and sort by size):&lt;BR /&gt; &lt;BR /&gt;ll /some_dir | sort -rnk5 | more</description>
      <pubDate>Wed, 22 Jun 2005 07:33:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-10-20-root-space-running-out/m-p/3567918#M227702</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-06-22T07:33:58Z</dc:date>
    </item>
  </channel>
</rss>

