<?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 Clearing Disk Space in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364950#M194702</link>
    <description>Hi all,&lt;BR /&gt;I have a HP 9000 and am running out of disk space to even apply patches.&lt;BR /&gt;&lt;BR /&gt;I see some files that can possible be deleted/&lt;BR /&gt;for example., in /var, there is an rbootd directory, what is this?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 25 Aug 2004 12:22:40 GMT</pubDate>
    <dc:creator>jeff go</dc:creator>
    <dc:date>2004-08-25T12:22:40Z</dc:date>
    <item>
      <title>Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364950#M194702</link>
      <description>Hi all,&lt;BR /&gt;I have a HP 9000 and am running out of disk space to even apply patches.&lt;BR /&gt;&lt;BR /&gt;I see some files that can possible be deleted/&lt;BR /&gt;for example., in /var, there is an rbootd directory, what is this?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Aug 2004 12:22:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364950#M194702</guid>
      <dc:creator>jeff go</dc:creator>
      <dc:date>2004-08-25T12:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364951#M194703</link>
      <description>Don't know what that dir is. &lt;BR /&gt;&lt;BR /&gt;Is the crash/dump area in the /var filesystems or is it's own filesystem? If it in /var are there files you can compress/remove in there?&lt;BR /&gt;How about sar files? (/var/adm/sa) Have you done patch cleanups using the cleanup command?&lt;BR /&gt;Have you rotated and/or removed the syslog.log and mail.log files?&lt;BR /&gt;&lt;BR /&gt;Run this command to see what the biggest offenders are:&lt;BR /&gt;&lt;BR /&gt;    # cd /var&lt;BR /&gt;    # du . -x -ka | sort -nr | more&lt;BR /&gt;&lt;BR /&gt;The output will list in ascending order the biggest files to the smallest.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Aug 2004 12:30:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364951#M194703</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-25T12:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364952#M194704</link>
      <description>I would be surprised if there was anything in /var/rbootd.  What you really need to look at is the large directories under /var.  Use "du -sk /var/* |sort -n" to list the directories in ascending order of size.  Concentrate your efforts on those larger directories by again using du and/or ll to examine the contents and see what can be eliminated.  &lt;BR /&gt;&lt;BR /&gt;Do NOT remove anything under /var/adm/sw - this is where old versions of patched software are stored so that patches can be removed later - use the cleanup command instead.&lt;BR /&gt;&lt;BR /&gt;Also look at log file.  SAM, under "routine tasks" has a pretty good tool for trimming log files.  Take a look at that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 25 Aug 2004 12:30:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364952#M194704</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-08-25T12:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364953#M194705</link>
      <description>You can clear space in the /tmp directory.  &lt;BR /&gt;&lt;BR /&gt;Modify /etc/rc.config.d/clean_tmps and set to 1 the CLEAN_TMP variable.  Reboot machine and it will delete files in the /tmp directory - and will continue to do so every reboot.&lt;BR /&gt;&lt;BR /&gt;Check /var/adm/crash to see if there are crash files.  Unless you are doing a failure analysis, these files can be deleted (and they are usually very large).&lt;BR /&gt;&lt;BR /&gt;Check /var/adm/syslog directory for large files.  These can usually be trimmed.  &lt;BR /&gt;&lt;BR /&gt;Speaking of trimming, there is a function within sam:&lt;BR /&gt;&lt;BR /&gt;Routine Tasks -&amp;gt; System Log Files which shows you various log files and allows them to be trimmed.</description>
      <pubDate>Wed, 25 Aug 2004 12:34:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364953#M194705</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2004-08-25T12:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364954#M194706</link>
      <description>hi all&lt;BR /&gt;&lt;BR /&gt;you guys are excellent...thanks for the tips.&lt;BR /&gt;&lt;BR /&gt;I saw my syslog file and it is huge...&lt;BR /&gt;my question is, if I delete this, it will be rcreated automatically, right?</description>
      <pubDate>Wed, 25 Aug 2004 12:41:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364954#M194706</guid>
      <dc:creator>jeff go</dc:creator>
      <dc:date>2004-08-25T12:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364955#M194707</link>
      <description>NO. Do a `cat /dev/null &amp;gt; syslog.log`&lt;BR /&gt;&lt;BR /&gt;This will 0 the file a continue.</description>
      <pubDate>Wed, 25 Aug 2004 12:44:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364955#M194707</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-25T12:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364956#M194708</link>
      <description>Don't delete it.  Use SAM to trim it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 25 Aug 2004 12:45:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364956#M194708</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-08-25T12:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364957#M194709</link>
      <description>Here's what I do with syslog when it becomes too large:&lt;BR /&gt;&lt;BR /&gt;cd /var/adm/syslog&lt;BR /&gt;# Keep a gzip'ed copy of syslog.log&lt;BR /&gt;cp syslog.log syslog.log.old&lt;BR /&gt;gzip syslog.log.old&lt;BR /&gt;&lt;BR /&gt;# Empty syslog.log&lt;BR /&gt;cat /dev/null &amp;gt; syslog.log&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Aug 2004 12:46:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364957#M194709</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2004-08-25T12:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364958#M194710</link>
      <description>thanks..&lt;BR /&gt;i used SAM to trim more log files..&lt;BR /&gt;&lt;BR /&gt;looking at my / directory, it is still at 95% and this could be because of the /etc directory...&lt;BR /&gt;here is a draft:&lt;BR /&gt;/home                  (/dev/vg00/lvol5       ) :    19608 total allocated Kb&lt;BR /&gt;                                                     13565 free allocated Kb&lt;BR /&gt;                                                      6043 used allocated Kb&lt;BR /&gt;                                                        30 % allocation used&lt;BR /&gt;/opt                   (/dev/vg00/lvol6       ) :   542270 total allocated Kb&lt;BR /&gt;                                                    226940 free allocated Kb&lt;BR /&gt;                                                    315330 used allocated Kb&lt;BR /&gt;                                                        58 % allocation used&lt;BR /&gt;/tmp                   (/dev/vg00/lvol4       ) :    63886 total allocated Kb&lt;BR /&gt;                                                     25426 free allocated Kb&lt;BR /&gt;                                                     38460 used allocated Kb&lt;BR /&gt;                                                        60 % allocation used&lt;BR /&gt;/usr                   (/dev/vg00/lvol7       ) :  1239355 total allocated Kb&lt;BR /&gt;                                                    394943 free allocated Kb&lt;BR /&gt;                                                    844412 used allocated Kb&lt;BR /&gt;                                                        68 % allocation used&lt;BR /&gt;/var                   (/dev/vg00/lvol8       ) :  1145738 total allocated Kb&lt;BR /&gt;                                                    516222 free allocated Kb&lt;BR /&gt;                                                    629516 used allocated Kb&lt;BR /&gt;                                                        54 % allocation used&lt;BR /&gt;/stand                 (/dev/vg00/lvol1       ) :    75359 total allocated Kb&lt;BR /&gt;                                                     38183 free allocated Kb&lt;BR /&gt;                                                     37176 used allocated Kb&lt;BR /&gt;                                                        49 % allocation used&lt;BR /&gt;/                      (/dev/vg00/lvol3       ) :   142934 total allocated Kb&lt;BR /&gt;                                                      7136 free allocated Kb&lt;BR /&gt;                                                    135798 used allocated Kb&lt;BR /&gt;                                                        95 % allocation used&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Wed, 25 Aug 2004 12:53:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364958#M194710</guid>
      <dc:creator>jeff go</dc:creator>
      <dc:date>2004-08-25T12:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364959#M194711</link>
      <description>From the root directory (/) run the following:&lt;BR /&gt;&lt;BR /&gt;# du . -x -ka | sort -nr | more&lt;BR /&gt;&lt;BR /&gt;This command will list the files in ascending order. From this list you can get a better idea of what is the biggest offender.&lt;BR /&gt;&lt;BR /&gt;Also, did you check for core files?&lt;BR /&gt;These can be hugh and if you don't save them you can remove them (make sure you don't save them)</description>
      <pubDate>Wed, 25 Aug 2004 12:59:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364959#M194711</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-25T12:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364960#M194712</link>
      <description>Can you post the output from "bdf -l"?  Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 25 Aug 2004 13:02:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364960#M194712</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-08-25T13:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364961#M194713</link>
      <description>Issue the following command:&lt;BR /&gt;&lt;BR /&gt;du -k /etc | sort -rn&lt;BR /&gt;&lt;BR /&gt;Largest directories will appear on the top of the list.  (sort -n if you want largest on the bottom).&lt;BR /&gt;&lt;BR /&gt;Once you get this list, then go into the directory and see what files are present.</description>
      <pubDate>Wed, 25 Aug 2004 13:02:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364961#M194713</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2004-08-25T13:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364962#M194714</link>
      <description>&lt;BR /&gt;'nother command to find potentially offensive files:&lt;BR /&gt;&lt;BR /&gt;find / -xdev -size +5000&lt;BR /&gt;or&lt;BR /&gt;find / -xdev -size +5000 -exec ls -l {} \;&lt;BR /&gt;&lt;BR /&gt;The -xdev makes sure find sticks to /&lt;BR /&gt;The -size asks for anything over 5000 blocks of 512 or 2.5MB&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You might just find a bunch of large&lt;BR /&gt;/etc/lvmconf/xxxxxxx.conf.old  files.&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Aug 2004 13:23:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364962#M194714</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-08-25T13:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364963#M194715</link>
      <description>Jeff (I assume),&lt;BR /&gt;&lt;BR /&gt;We've got some issues here to clear up.&lt;BR /&gt;&lt;BR /&gt;1)  You originally stated that you were running out of disk space and specifically mentioned /var&lt;BR /&gt;&lt;BR /&gt;2)  You have now mentioned that your / directory is 95% full&lt;BR /&gt;&lt;BR /&gt;3)  You tried to associate your 95% / directory with your /etc directory&lt;BR /&gt;&lt;BR /&gt;What we need is a "bdf -l" output so we can see what your filesystems look like.  Hopefully we've already addressed some of the issues in /var.  The rest of your filesystems should be separate from /, so /etc being full should not be too much of an issue - we'll need to look at / by itself.&lt;BR /&gt;&lt;BR /&gt;When / fills, because most everything else is a separate file system, the most likely causes are:&lt;BR /&gt;&lt;BR /&gt;1)  a mis-directed backup to, for example, /dev/rmt/Om (that's a capital letter oh).  Check /dev for regular files with find:&lt;BR /&gt;find /dev -type f -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;2)  core files - again you can use find:&lt;BR /&gt;find / -name core -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;3)  something that got written to an unmounted filesystem - for example if /var was unmounted and a large file was placed in /var, it would be written into the mountpoint under /, rather than into the /var filesystem itself.  The only way to check for this is to unmount each filesystem and look under the mount point for files.  The easiest way to do this is to reboot in single user mode and do an "ll" on each mount point before they are mounted.&lt;BR /&gt;&lt;BR /&gt;I hope this helps clarify.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 25 Aug 2004 13:27:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364963#M194715</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-08-25T13:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364964#M194716</link>
      <description>Hi Pete&lt;BR /&gt;&lt;BR /&gt;here is the outpit of bdf command:&lt;BR /&gt;&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     143360  135548    7369   95% /&lt;BR /&gt;/dev/vg00/lvol1      83733   37176   38183   49% /stand&lt;BR /&gt;/dev/vg00/lvol8    1179648  629610  516134   55% /var&lt;BR /&gt;/dev/vg00/lvol7    1265664  844054  395279   68% /usr&lt;BR /&gt;/dev/vg00/lvol4      65536   38460   25426   60% /tmp&lt;BR /&gt;/dev/vg00/lvol6     557056  315330  226940   58% /opt&lt;BR /&gt;/dev/vg00/lvol5      20480    6043   13565   31% /home&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thank you again for your help and i am sorry if i am coming across as a neophyte..:)</description>
      <pubDate>Wed, 25 Aug 2004 15:43:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364964#M194716</guid>
      <dc:creator>jeff go</dc:creator>
      <dc:date>2004-08-25T15:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364965#M194717</link>
      <description>If you've done a lot of patching on this server, /var/adm/sw may be getting big from all of the surperceded patches.  In some cases, you may have several levels of superceded patches.  You may want to consider committing some of your patches using the cleanup command.  &lt;BR /&gt;&lt;BR /&gt;By running:&lt;BR /&gt;cleanup -p -c &lt;NUMBER&gt;&lt;BR /&gt;&lt;BR /&gt;You can see how much space can be recovered by committing patches which have been superceded by at least &lt;NUMBER&gt; of times.&lt;BR /&gt;&lt;BR /&gt;Be careful when using this command though.  Once you've removed a superseded patch, you will no longer be able to rollback to it.&lt;BR /&gt;&lt;/NUMBER&gt;&lt;/NUMBER&gt;</description>
      <pubDate>Wed, 25 Aug 2004 15:46:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364965#M194717</guid>
      <dc:creator>john kingsley</dc:creator>
      <dc:date>2004-08-25T15:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364966#M194718</link>
      <description>ok so the problem is in '/' could you send the output from the command 'du -sk /*'.</description>
      <pubDate>Wed, 25 Aug 2004 15:52:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364966#M194718</guid>
      <dc:creator>Jannik</dc:creator>
      <dc:date>2004-08-25T15:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364967#M194719</link>
      <description># du -sk /*&lt;BR /&gt;0       /bin&lt;BR /&gt;0       /cdrom&lt;BR /&gt;2       /cpu&lt;BR /&gt;13      /dev&lt;BR /&gt;113857  /etc&lt;BR /&gt;4870    /home&lt;BR /&gt;0       /lib&lt;BR /&gt;0       /lost+found&lt;BR /&gt;0       /nsmail&lt;BR /&gt;102     /nsr&lt;BR /&gt;312093  /opt&lt;BR /&gt;18967   /sbin&lt;BR /&gt;37176   /stand&lt;BR /&gt;36959   /tmp&lt;BR /&gt;0       /tmp_mnt&lt;BR /&gt;836960  /usr&lt;BR /&gt;620563  /var&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Aug 2004 15:56:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364967#M194719</guid>
      <dc:creator>jeff go</dc:creator>
      <dc:date>2004-08-25T15:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364968#M194720</link>
      <description>U have a small dir /cpu and then U have /etc; etc is really thaking a lot of space, but that could be ok.&lt;BR /&gt;That about none directories in the / directory (like .sh_history and .bash_history) ?&lt;BR /&gt;does the command 'find / -name core' come up with anything?&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Aug 2004 16:06:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364968#M194720</guid>
      <dc:creator>Jannik</dc:creator>
      <dc:date>2004-08-25T16:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing Disk Space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364969#M194721</link>
      <description>Seeing the output you have provided - the / filesystem is relatively small.&lt;BR /&gt;&lt;BR /&gt;You may want to look at using Ignite to resize the / filesystem and others - give you some more breathing room.</description>
      <pubDate>Wed, 25 Aug 2004 16:10:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/clearing-disk-space/m-p/3364969#M194721</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-25T16:10:18Z</dc:date>
    </item>
  </channel>
</rss>

