<?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: /var full in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254021#M331900</link>
    <description>It is not always best practise to look for/remove or trim larger files. Only do this if you know what they are and are sure you do not need them.&lt;BR /&gt;&lt;BR /&gt;Sometimes it is a lot of smaller files that are better candidates for deletion, but these are harder to track down and do not give the quick wins.</description>
    <pubDate>Tue, 19 Aug 2008 09:57:51 GMT</pubDate>
    <dc:creator>Mark McDonald_2</dc:creator>
    <dc:date>2008-08-19T09:57:51Z</dc:date>
    <item>
      <title>/var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254011#M331890</link>
      <description>Hi there!!!&lt;BR /&gt;&lt;BR /&gt;I'm using a HP-UX v11 with 2 rp5470 in cluster configuration. Is there a way to know the real free space on those disks, they're in cluster configuration...because the /var is full it seems there's no way to free up space, if anybody can help...it will helpfull...&lt;BR /&gt;Best Regards,&lt;BR /&gt;Marco Hernandez&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Aug 2008 16:43:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254011#M331890</guid>
      <dc:creator>Marco Antonio Hernandez</dc:creator>
      <dc:date>2008-08-18T16:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254012#M331891</link>
      <description>Hi Marco:&lt;BR /&gt;&lt;BR /&gt;# du -kx /var|sort -k1rn|more&lt;BR /&gt;&lt;BR /&gt;...will produce a descendingly sorted list of the largest directories and files. Do *NOT* manually manage the 'var/adm/sw' directory or its contents! This is your IPD (Installed Product Database). Corruption or deletion of entries herein will render you server unpatchable.&lt;BR /&gt;&lt;BR /&gt;Instead, use:&lt;BR /&gt;&lt;BR /&gt;# cleanup -c 1&lt;BR /&gt;&lt;BR /&gt;...to regain space. See the 'cleanup' man-pages for more information.&lt;BR /&gt;&lt;BR /&gt;Aside from trimming log files like 'wtmp' ('&amp;gt; /var/adm/wtmp'), you can remove old '/var/adm/crash' dumps (if any) and look for old, unused 'vi' recovery files in '/var/preserve'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 18 Aug 2008 16:55:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254012#M331891</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-08-18T16:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254013#M331892</link>
      <description>To add to JRF's post you can also use du in /var/adm/sw/save to find large patches. Then you can use swlist to find out more about the patch. You will have to judge whether the patch can be committed or not, but if so you can use this command.&lt;BR /&gt;&lt;BR /&gt;swmodify -x patch_commit=true patch_name&lt;BR /&gt;&lt;BR /&gt;I will note that once you do this you will not be able to back out of the patch. Ah, the peril's of being a sysadmin.</description>
      <pubDate>Mon, 18 Aug 2008 17:26:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254013#M331892</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-08-18T17:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254014#M331893</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;If you have ever patched&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;cleanup -c 1&lt;BR /&gt;or (brain freeze)&lt;BR /&gt;cleanup 1&lt;BR /&gt;&lt;BR /&gt;Also use sam routine functions and trim your log files&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 18 Aug 2008 17:30:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254014#M331893</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-08-18T17:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254015#M331894</link>
      <description>You can find the bigger files inside /var with below command.&lt;BR /&gt;&lt;BR /&gt;find /var -xdev -size +10000000c -exec ll {} \;&lt;BR /&gt;&lt;BR /&gt;You can clear the syslog.log, mail.log or you can gzip the sar files inside /var/adm/sa directory. Also you can remove the older crash directory if it is there inside /var/adm/crash.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;SKR</description>
      <pubDate>Mon, 18 Aug 2008 17:32:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254015#M331894</guid>
      <dc:creator>SKR_1</dc:creator>
      <dc:date>2008-08-18T17:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254016#M331895</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;Other things to look into:&lt;BR /&gt;&lt;BR /&gt;/var/adm/syslog/* &lt;BR /&gt; * maillog and syslog.log can be quite hugh&lt;BR /&gt;/var/adm/*tmp*&lt;BR /&gt; * login logging grow without bounds.  &lt;BR /&gt; * If you're interested in maintaining these (and you should be) examine fwtmp and wtmpfix man pages to learn how to truncate them.&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Mon, 18 Aug 2008 17:48:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254016#M331895</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2008-08-18T17:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254017#M331896</link>
      <description>use "du -sk * |sort -rn" to find the size of the files and directories.&lt;BR /&gt;you can trim the syslog files..&lt;BR /&gt;you can delete the files from /var/spool/mqueue.</description>
      <pubDate>Mon, 18 Aug 2008 23:52:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254017#M331896</guid>
      <dc:creator>G.Sivakumar</dc:creator>
      <dc:date>2008-08-18T23:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254018#M331897</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;check which  is consuming more space using&lt;BR /&gt;#du -kx |sort -nr | more&lt;BR /&gt;then trim it by using&lt;BR /&gt;#&amp;gt; file&lt;BR /&gt;&lt;BR /&gt;but delete it accoring to your IS policies.&lt;BR /&gt;&lt;BR /&gt;Reagards&lt;BR /&gt;Atul</description>
      <pubDate>Tue, 19 Aug 2008 02:25:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254018#M331897</guid>
      <dc:creator>Prashanth Waugh</dc:creator>
      <dc:date>2008-08-19T02:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254019#M331898</link>
      <description>Along with all the option given by the experts, you may find unnecessary files at the following locations :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/var/mail =======&amp;gt; truncate the mails here&lt;BR /&gt;&lt;BR /&gt;/var/tmp ========&amp;gt; check these file and remove&lt;BR /&gt;&lt;BR /&gt;/var/opt/ =======&amp;gt; check logs here &lt;BR /&gt;&lt;BR /&gt;also see,&lt;BR /&gt;&lt;BR /&gt;/var/opt/ignite ===&amp;gt; here in log and tmp folders you may remove the data..&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Aug 2008 06:54:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254019#M331898</guid>
      <dc:creator>prasadb</dc:creator>
      <dc:date>2008-08-19T06:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254020#M331899</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Trimming syslog is not recommended as anytime you need this info for diagnostics...&lt;BR /&gt;&lt;BR /&gt;SEP and James are absolutely correct here.&lt;BR /&gt;&lt;BR /&gt;First find the big files and analyse if these are currently in use .&lt;BR /&gt;&lt;BR /&gt;Also cleanup will free some space here.&lt;BR /&gt;&lt;BR /&gt;No problem even if you are running cluster on this system...if free space is there you can add some space into it.&lt;BR /&gt;&lt;BR /&gt;Paste...following output.&lt;BR /&gt;&lt;BR /&gt;find /var -xdev -type f -exec ls -lrt  {} \+&lt;BR /&gt;&lt;BR /&gt;and &lt;BR /&gt;&lt;BR /&gt;bdf /var&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;swlist |grep -i onlinejfs&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Aug 2008 09:51:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254020#M331899</guid>
      <dc:creator>Deepak Kr</dc:creator>
      <dc:date>2008-08-19T09:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254021#M331900</link>
      <description>It is not always best practise to look for/remove or trim larger files. Only do this if you know what they are and are sure you do not need them.&lt;BR /&gt;&lt;BR /&gt;Sometimes it is a lot of smaller files that are better candidates for deletion, but these are harder to track down and do not give the quick wins.</description>
      <pubDate>Tue, 19 Aug 2008 09:57:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254021#M331900</guid>
      <dc:creator>Mark McDonald_2</dc:creator>
      <dc:date>2008-08-19T09:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254022#M331901</link>
      <description>If you want to trim logfiles you might like to consider using SAM. This will trim the files to a predetermined size (which you can set if you do not want to keep the system default). This is useful as it keeps the most recent information - the information you might want to refer to.&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Tue, 19 Aug 2008 11:10:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254022#M331901</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2008-08-19T11:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254023#M331902</link>
      <description>Hi everybody,&lt;BR /&gt;&lt;BR /&gt;Your replies have been very usefull, I found the following:&lt;BR /&gt;&lt;BR /&gt;1. In /var/tmp/dp&lt;BR /&gt;&lt;BR /&gt;-rw-r--r--   1 root       sys        34201600 Sep 30  2003 PHSS_29143.depot&lt;BR /&gt;-rw-r--r--   1 root       sys          14790 Oct  1  2003 PHSS_29143.text&lt;BR /&gt;-rw-r--r--   1 root       sys         972800 Sep 25  2003 PHSS_29411.depot&lt;BR /&gt;-rw-r--r--   1 root       sys          10687 Sep 29  2003 PHSS_29411.text&lt;BR /&gt;-rw-r--r--   1 root       sys          17382 Sep 29  2003 PHSS_29414.text&lt;BR /&gt;-rw-r--r--   1 root       sys        4249600 Oct 30  2003 PHSS_29423.depot&lt;BR /&gt;-rw-r--r--   1 root       sys          30290 Oct 31  2003 PHSS_29423.text&lt;BR /&gt;-rw-r--r--   1 root       sys        42588160 Nov 17  2003 PHSS_29867.depot&lt;BR /&gt;-rw-r--r--   1 root       sys          24609 Nov 19  2003 PHSS_29867.text&lt;BR /&gt;-rw-r--r--   1 root       sys        68505600 Dec  1  2003 PHSS_29869.depot&lt;BR /&gt;-rw-r--r--   1 root       sys          21677 Dec  2  2003 PHSS_29869.text&lt;BR /&gt;&lt;BR /&gt;and these:&lt;BR /&gt;&lt;BR /&gt;/var/adm/crash/crash.0&lt;BR /&gt;# &lt;BR /&gt;# ls -la&lt;BR /&gt;total 392992&lt;BR /&gt;drwxr-xr-x   2 root       root          8192 Sep 14  2004 .&lt;BR /&gt;drwxr-xr-x   4 root       root            96 Dec 21  2006 ..&lt;BR /&gt;-rw-r--r--   1 root       root          1197 Sep 14  2004 INDEX&lt;BR /&gt;-rw-r--r--   1 root       root       33550336 Sep 14  2004 image.1.1&lt;BR /&gt;-rw-r--r--   1 root       root       33525760 Sep 14  2004 image.1.2&lt;BR /&gt;-rw-r--r--   1 root       root       33525760 Sep 14  2004 image.1.3&lt;BR /&gt;-rw-r--r--   1 root       root       33488896 Sep 14  2004 image.1.4&lt;BR /&gt;-rw-r--r--   1 root       root       33525760 Sep 14  2004 image.1.5&lt;BR /&gt;-rw-r--r--   1 root       root       5378048 Sep 14  2004 image.1.6&lt;BR /&gt;-rw-r--r--   1 root       root       28177128 Sep 14  2004 vmunix&lt;BR /&gt;&lt;BR /&gt;Those files are very large, but the PHSS I think they're patches or something like that, it is possible to move them to /tmp on root directory then delete them form where they are now?&lt;BR /&gt;&lt;BR /&gt;And the same quiestion for files on crash.0 directory.&lt;BR /&gt;&lt;BR /&gt;I need your advise 'cause i don't know if they're in use or not, some time ago i cp some files from /var to /tmp to freeup space...well i'll wait your advises.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Marco Hernandez&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Aug 2008 15:24:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254023#M331902</guid>
      <dc:creator>Marco Antonio Hernandez</dc:creator>
      <dc:date>2008-08-19T15:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254024#M331903</link>
      <description>You could more than likely delete the depot files. They are pretty old. Removing them won't hurt anything. If anything you may just want to back them up to tape, remove them, and see if anyone complains. If so restore them to another location. And your crash dump is also old. You could remove it.</description>
      <pubDate>Tue, 19 Aug 2008 15:54:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254024#M331903</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-08-19T15:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254025#M331904</link>
      <description>I concur with Court.&lt;BR /&gt;&lt;BR /&gt;Delete or move the depot files, you can always download again..  These are SD depots used to install patches, not actually active files on the system.&lt;BR /&gt;&lt;BR /&gt;Delete or move the crash dumps.&lt;BR /&gt;&lt;BR /&gt;The action is up to you...&lt;BR /&gt;&lt;BR /&gt;If you need the crash analyzed then keep them somewhere else.&lt;BR /&gt;&lt;BR /&gt;If you need the downloaded depot distros then move them somewhere else.&lt;BR /&gt;&lt;BR /&gt;In a nut, these files are not needed for the system to run.  They could be needed by you to admin the system.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Aug 2008 15:59:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254025#M331904</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-08-19T15:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254026#M331905</link>
      <description>Hi Marco:&lt;BR /&gt;&lt;BR /&gt;Ditto to Court and Tim's recommendations to remove the patch depots and the crash dump images.&lt;BR /&gt;&lt;BR /&gt;Consider that the patch files can always be re-feteched *AND* have probably had superseded versions made available anyway.&lt;BR /&gt;&lt;BR /&gt;Consider that a 4-year old crash dump is meaningless --- it's 4-years old so it hasn't happened again  --- why keep it?!?&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 19 Aug 2008 16:11:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254026#M331905</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-08-19T16:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: /var full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254027#M331906</link>
      <description>IT WAS JUST GREAT !!!&lt;BR /&gt;&lt;BR /&gt;GUYS...everything that you told me was right now /var is 87%, i backed up the PHSS, just in case, and the crash.0 files are gone.&lt;BR /&gt;&lt;BR /&gt;Now the application AAA it seems that will have some space to work.&lt;BR /&gt;&lt;BR /&gt;I want to thank you for all your great help.&lt;BR /&gt;&lt;BR /&gt;God Bless everyone.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Marco Hernandez&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Aug 2008 19:47:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-full/m-p/4254027#M331906</guid>
      <dc:creator>Marco Antonio Hernandez</dc:creator>
      <dc:date>2008-08-19T19:47:18Z</dc:date>
    </item>
  </channel>
</rss>

