<?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 100% in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006408#M127526</link>
    <description>Hi Shem &lt;BR /&gt;&lt;BR /&gt;i been face the same problem....&lt;BR /&gt;and i try with this script and it help me lot.</description>
    <pubDate>Wed, 25 Jun 2003 01:39:10 GMT</pubDate>
    <dc:creator>Punithan</dc:creator>
    <dc:date>2003-06-25T01:39:10Z</dc:date>
    <item>
      <title>Root 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006402#M127520</link>
      <description>What can I clear off to get some free space without adverse effect?</description>
      <pubDate>Wed, 25 Jun 2003 01:04:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006402#M127520</guid>
      <dc:creator>Shem_1</dc:creator>
      <dc:date>2003-06-25T01:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Root 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006403#M127521</link>
      <description>If / is 100% then try these commands:&lt;BR /&gt;&lt;BR /&gt;# find /dev -type f&lt;BR /&gt;&lt;BR /&gt;# find / -xdev -ctime 0 (* files accessed today *)&lt;BR /&gt;&lt;BR /&gt;du -x / | sort -rn | more (* list largest first *)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Jun 2003 01:07:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006403#M127521</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-06-25T01:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Root 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006404#M127522</link>
      <description>Have a look for any core files &lt;BR /&gt;find / -type f -name "core" -xdev -print&lt;BR /&gt;&lt;BR /&gt;Core dump files can quickly fill / filesystem.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
      <pubDate>Wed, 25 Jun 2003 01:12:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006404#M127522</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-06-25T01:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Root 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006405#M127523</link>
      <description>This is an extremely serious situation and can quickly render your server useless and in need of disaster recovery.&lt;BR /&gt;&lt;BR /&gt;Follow the previous advice and if possible shut down oracle and everything else running on this machine until the situation is resolved.&lt;BR /&gt;&lt;BR /&gt;Running an 11.00 system like this can lead to the /etc/group or /etc/passwd file being hammered and dropped to zero bytes.&lt;BR /&gt;&lt;BR /&gt;Running an 11.11 system can like this can result in the system suddenly refusing logins.&lt;BR /&gt;&lt;BR /&gt;Another place to look for big files is /dev/rmt&lt;BR /&gt;&lt;BR /&gt;You should see a bunch of files that look strange with ll or ls -la command.  Those are tape drivers.&lt;BR /&gt;&lt;BR /&gt;A common mistake when archiving to tape with say cpio is to direct the output to /dev/rmt/Om instead of zerom 0M&lt;BR /&gt;&lt;BR /&gt;This can create a large file that quickly fills the root filesystem.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 25 Jun 2003 01:21:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006405#M127523</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-06-25T01:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Root 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006406#M127524</link>
      <description>Hi,&lt;BR /&gt;Are there any file(s) really necessary to be put on /? Just get rid of some unnecessary file(s) follow the way given by Steel &amp;amp; Con. You always should put file(s) to a mount point first.&lt;BR /&gt;&lt;BR /&gt;BTW,please assign points to others who really help you! ..."This member has assigned points to 0 of 30 responses to his/her questions."&lt;BR /&gt;&lt;BR /&gt;-ux</description>
      <pubDate>Wed, 25 Jun 2003 01:21:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006406#M127524</guid>
      <dc:creator>Fragon</dc:creator>
      <dc:date>2003-06-25T01:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Root 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006407#M127525</link>
      <description>2 ways to get more free space:&lt;BR /&gt;- remove some unnecessary files, such as core dump, very large logfiles...&lt;BR /&gt;# find / -xdev -size +1000 -depth -print &lt;BR /&gt;- check how much "Free PE" on vg00 could be allocated to lvol3(/)&lt;BR /&gt;# vgdisplay /dev/vg00</description>
      <pubDate>Wed, 25 Jun 2003 01:30:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006407#M127525</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-06-25T01:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Root 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006408#M127526</link>
      <description>Hi Shem &lt;BR /&gt;&lt;BR /&gt;i been face the same problem....&lt;BR /&gt;and i try with this script and it help me lot.</description>
      <pubDate>Wed, 25 Jun 2003 01:39:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006408#M127526</guid>
      <dc:creator>Punithan</dc:creator>
      <dc:date>2003-06-25T01:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Root 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006409#M127527</link>
      <description>Thanks guys for the feedback.&lt;BR /&gt;&lt;BR /&gt;Are you suggesting that I should delete these files?</description>
      <pubDate>Wed, 25 Jun 2003 02:00:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006409#M127527</guid>
      <dc:creator>Shem_1</dc:creator>
      <dc:date>2003-06-25T02:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Root 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006410#M127528</link>
      <description>What files are you talking about?&lt;BR /&gt;If you mean core files, then yes its OK to delete them. I would be very careful removing any other files from / Filesystem unless you know what they are.&lt;BR /&gt;&lt;BR /&gt;If you post the name of the files that you believe are causing the problem then I'm sure someone can advise you.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
      <pubDate>Wed, 25 Jun 2003 02:03:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006410#M127528</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-06-25T02:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Root 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006411#M127529</link>
      <description>Here is the fastest way to locate large areas that need attention (notice I didn't say large files?):&lt;BR /&gt;&lt;BR /&gt;du -kx / | sort -rn | head -20&lt;BR /&gt;&lt;BR /&gt;This will give you a list something like this (for a 'normal' root directory):&lt;BR /&gt;&lt;BR /&gt;29213   /&lt;BR /&gt;18979   /sbin&lt;BR /&gt;8586    /etc&lt;BR /&gt;6345    /etc/opt&lt;BR /&gt;3676    /sbin/fs&lt;BR /&gt;3259    /etc/opt/samba&lt;BR /&gt;3235    /etc/opt/samba/codepages&lt;BR /&gt;2733    /etc/opt/resmon&lt;BR /&gt;1657    /sbin/fs/vxfs&lt;BR /&gt;1585    /root&lt;BR /&gt;1550    /sbin/fs/hfs&lt;BR /&gt;&lt;BR /&gt;(I didn't paste anything smaller than 1000kb)&lt;BR /&gt;&lt;BR /&gt;So / is only 29megs and /sbin is 19megs, pretty typical. If ANY directory pops to the top larger than that, then look inside the directory for big files. /etc is a common one because a spelling error can create massive files by accident. /etc should be about 8-12 megs.&lt;BR /&gt;&lt;BR /&gt;Another common problem are bad applications that store themselves in / instead of /opt or /usr. These apps need to be moved and if the aqpps can't run properly in the correct directory structure, use symlinks to fool the app. &lt;BR /&gt;&lt;BR /&gt;You can remove all core files. You may also find giant files in / because this is the (terrible) default location for root's home. It is best to create a separate /root or perhaps /home/root in order to keep root 'droppings under control. The sysadmin ideal is to NEVER allow ordinary files in /, just directories and mountpoints.&lt;BR /&gt;&lt;BR /&gt;Post the contents of some big directories and we can tell what to do with the files.</description>
      <pubDate>Wed, 25 Jun 2003 02:39:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006411#M127529</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-06-25T02:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Root 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006412#M127530</link>
      <description>To twang,&lt;BR /&gt;You said "- check how much "Free PE" on vg00 could be allocated to lvol3(/)", do you mean extend / FS?&lt;BR /&gt;I think it's difficult and hardly success!&lt;BR /&gt;In my mind, if / is full, just one way(99%):rm or mv!&lt;BR /&gt;Have a good day!&lt;BR /&gt;&lt;BR /&gt;:p&lt;BR /&gt;-ux &lt;BR /&gt;</description>
      <pubDate>Wed, 25 Jun 2003 02:47:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006412#M127530</guid>
      <dc:creator>Fragon</dc:creator>
      <dc:date>2003-06-25T02:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Root 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006413#M127531</link>
      <description>The key point in Bill's post is that we need to see the files to know which ones to delete.  Almost every root full situation is a little different.&lt;BR /&gt;&lt;BR /&gt;Nothing you find other than core files is automatically delete bait.&lt;BR /&gt;&lt;BR /&gt;In addition, its possible your search will lead to no files.&lt;BR /&gt;&lt;BR /&gt;If a file gets copied into a folder while its not mounted and then it gets mounted later its invisible.&lt;BR /&gt;&lt;BR /&gt;Example.&lt;BR /&gt;&lt;BR /&gt;Got a folder(directory) called /steve/&lt;BR /&gt;I copy in a 50 Mb depot file called steve.depot&lt;BR /&gt;&lt;BR /&gt;cd /steve&lt;BR /&gt;ll &lt;BR /&gt;-rwx------ steve.depot 500000000 &lt;BR /&gt;&lt;BR /&gt;Then I say mount /dev/vg01/lvol9 /steve&lt;BR /&gt;cd /steve&lt;BR /&gt;ll&lt;BR /&gt;Nothing shows.&lt;BR /&gt;&lt;BR /&gt;The space however is still allocated.&lt;BR /&gt;&lt;BR /&gt;What is more common in these situations is a filesystem like /var fails to mount and logs get written to root.  You reboot the system and don't even know it happened some time.&lt;BR /&gt;&lt;BR /&gt;How to fix:?&lt;BR /&gt;&lt;BR /&gt;boot to single user mode.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;shutdown -ry now&lt;BR /&gt;&lt;BR /&gt;Interupt the startup at the 10 second prompt&lt;BR /&gt;&lt;BR /&gt;bo&lt;BR /&gt;&lt;BR /&gt;Y Interact with the ISL&lt;BR /&gt;&lt;BR /&gt;hpux -is&lt;BR /&gt;&lt;BR /&gt;Now you are in single user mode.&lt;BR /&gt;&lt;BR /&gt;nothing is mounted.&lt;BR /&gt;&lt;BR /&gt;cd /usr&lt;BR /&gt;&lt;BR /&gt;ls -la&lt;BR /&gt;&lt;BR /&gt;mount /usr &lt;BR /&gt;&lt;BR /&gt;Do this so normal utilities start to work.&lt;BR /&gt;&lt;BR /&gt;cd /var&lt;BR /&gt;&lt;BR /&gt;ls -la&lt;BR /&gt;&lt;BR /&gt;You shouldn't see anything.&lt;BR /&gt;&lt;BR /&gt;cd /steve&lt;BR /&gt;&lt;BR /&gt;ls -la&lt;BR /&gt;&lt;BR /&gt;You should see the magic disappeared steve.depot&lt;BR /&gt;&lt;BR /&gt;Good Luck.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;The</description>
      <pubDate>Wed, 25 Jun 2003 04:27:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006413#M127531</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-06-25T04:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Root 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006414#M127532</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can use the du -k command to check which are the large files,&lt;BR /&gt;&lt;BR /&gt;also can use the find / -xdev -ctime xx to check which are the files that been accessed for xx days&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;SRi</description>
      <pubDate>Fri, 25 Jul 2003 09:47:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006414#M127532</guid>
      <dc:creator>Sritharan</dc:creator>
      <dc:date>2003-07-25T09:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Root 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006415#M127533</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;Check for core files, some temp files that&lt;BR /&gt;leaved on the lv.&lt;BR /&gt;Check files than not have to be on the /&lt;BR /&gt;&lt;BR /&gt;Caesar</description>
      <pubDate>Fri, 25 Jul 2003 12:20:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006415#M127533</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-07-25T12:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Root 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006416#M127534</link>
      <description>People:&lt;BR /&gt;&lt;BR /&gt;This thread is a MONTH OLD!!&lt;BR /&gt;&lt;BR /&gt;I certainly hope Shem has fixed his problem by now.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jul 2003 12:27:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-100/m-p/3006416#M127534</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-07-25T12:27:53Z</dc:date>
    </item>
  </channel>
</rss>

