<?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: removing files from /var file system in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691601#M247295</link>
    <description>you do not want to delete any depots under /var, what you might consider doing is running cleanup -c 1 which commits any patches that has been superseded one time and also check for /var/preserve which sometimes can have huge files and make sure you have a trim script in place that will keep syslogs/mail/cron logs from becomming to large and also monitor the size of wtmp which is located under /var/adm&lt;BR /&gt;&lt;BR /&gt;BTW what is the size of var on your server?&lt;BR /&gt;</description>
    <pubDate>Wed, 14 Dec 2005 15:06:42 GMT</pubDate>
    <dc:creator>Deoncia Grayson_1</dc:creator>
    <dc:date>2005-12-14T15:06:42Z</dc:date>
    <item>
      <title>removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691600#M247294</link>
      <description>Dear Sirs,&lt;BR /&gt;&lt;BR /&gt;We get alerts from the /var file system getting filled up.&lt;BR /&gt;We are thinking remove some depot file from there. I am not sure after installation of patches, can we remove&lt;BR /&gt;the depot files from there ? Will it have any impact on the already installed binary ?&lt;BR /&gt;&lt;BR /&gt;Which are directories under /var file system from where we can delete the files ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiv</description>
      <pubDate>Wed, 14 Dec 2005 14:58:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691600#M247294</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2005-12-14T14:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691601#M247295</link>
      <description>you do not want to delete any depots under /var, what you might consider doing is running cleanup -c 1 which commits any patches that has been superseded one time and also check for /var/preserve which sometimes can have huge files and make sure you have a trim script in place that will keep syslogs/mail/cron logs from becomming to large and also monitor the size of wtmp which is located under /var/adm&lt;BR /&gt;&lt;BR /&gt;BTW what is the size of var on your server?&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Dec 2005 15:06:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691601#M247295</guid>
      <dc:creator>Deoncia Grayson_1</dc:creator>
      <dc:date>2005-12-14T15:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691602#M247296</link>
      <description>You decide if you want to keep the original depot or not. Take a backup if possible, or copy it to another filesystem with plenty of space. From there you can gzip it, back it up, THEN remove it if it makes you feel more comfortable.&lt;BR /&gt;&lt;BR /&gt;Do a swlist -l depot to see if the depot is a registered depot. If you no longer need the depot, do a swreg -u -l depot /path/to/depot to unregister it.&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Dec 2005 15:11:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691602#M247296</guid>
      <dc:creator>Andy Torres</dc:creator>
      <dc:date>2005-12-14T15:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691603#M247297</link>
      <description>To be clear, I am not advocating the removal of any software under /var/adm/sw. When I say "original depot" I mean the one you downloaded and installed.&lt;BR /&gt;&lt;BR /&gt;For example, I have a depot I downloaded from HP located under /var/tmp/ANDY/PRM_PATCHES/depot. Once I installed it I verified the installation (swlist -l fileset -a state | grep -v "^#" | grep -v configured). Only then did I comfortably remove /var/tmp/ANDY and unregister the depot.</description>
      <pubDate>Wed, 14 Dec 2005 15:17:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691603#M247297</guid>
      <dc:creator>Andy Torres</dc:creator>
      <dc:date>2005-12-14T15:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691604#M247298</link>
      <description>Hi Shiv:&lt;BR /&gt;&lt;BR /&gt;Whatever you do, do NOT manually maintain '/var/adm/sw'.  This is your IPD (Installed Product Database) used by 'swinstall' and the other Software Distributer tools.&lt;BR /&gt;&lt;BR /&gt;The safest way to regain space is to run 'cleanup -c 1'.  This removes all but one roll-back patch imsage.&lt;BR /&gt;&lt;BR /&gt;If you have "*.depot" files and or patches (PH*_*) in '/var/tmp' then these can be removed when you are done with them, without harm.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 14 Dec 2005 15:21:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691604#M247298</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-14T15:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691605#M247299</link>
      <description>Hi Shiv,&lt;BR /&gt;&lt;BR /&gt;  Y cant u try a "find" for logs inside your /var before thinking of cleaning up your sw and patches..&lt;BR /&gt;&lt;BR /&gt;  Some of your applications can keep old logs files which can be deleted. Even you can search for "core" dumps and touch that..&lt;BR /&gt;&lt;BR /&gt;Just_In</description>
      <pubDate>Wed, 14 Dec 2005 15:30:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691605#M247299</guid>
      <dc:creator>Justin_132</dc:creator>
      <dc:date>2005-12-14T15:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691606#M247300</link>
      <description>For cleaning patches:&lt;BR /&gt;&lt;BR /&gt;cleanup -c 1&lt;BR /&gt;&lt;BR /&gt;To check other possibilities:&lt;BR /&gt;&lt;BR /&gt;du -sk /var/* |sort -n&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 14 Dec 2005 15:31:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691606#M247300</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-12-14T15:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691607#M247301</link>
      <description>The cleanup utility is a good idea. You can run it in preview mode first (cleanup -p -c 1) to see what you will gain. If you upgraded to 11.x from 10.x, the -i option can suprise you.&lt;BR /&gt;&lt;BR /&gt;Read the man page on cleanup so you fully understand the weight of committing patches. &lt;BR /&gt;&lt;BR /&gt;I usually start with 'cleanup -p -c 2' and get more brave from there, depending on the server (production/development).</description>
      <pubDate>Wed, 14 Dec 2005 15:31:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691607#M247301</guid>
      <dc:creator>Andy Torres</dc:creator>
      <dc:date>2005-12-14T15:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691608#M247302</link>
      <description>This command may help&lt;BR /&gt;&lt;BR /&gt;# cd /var&lt;BR /&gt;# du . -ka -x | sort -nr | more&lt;BR /&gt;&lt;BR /&gt;This du command will list the files in ascending order by sizes. &lt;BR /&gt;&lt;BR /&gt;As previously stated, use cleanup command to reduce the patch database size.&lt;BR /&gt;&lt;BR /&gt;Also look in the /var/adm/syslog. Do you have large syslog.log and/or mail.log files?&lt;BR /&gt;&lt;BR /&gt;Is the crash directory on the same mount point as /var? Do you have crash dumps in there? &lt;BR /&gt;You may want to put the /var/adm/crash on its own filesystem.</description>
      <pubDate>Wed, 14 Dec 2005 16:26:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691608#M247302</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-12-14T16:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691609#M247303</link>
      <description>Hi Shiv ,&lt;BR /&gt;&lt;BR /&gt;Check for the big files under /var and you can find some big files or logs.&lt;BR /&gt;You can use :&lt;BR /&gt;# bdf | grep var # ( check if only var mount point exists).&lt;BR /&gt;&lt;BR /&gt;# cd /var&lt;BR /&gt;# ls -lR | sort +4 -5nr | more&lt;BR /&gt;( It will show all the biggest files one by one..)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also check for &lt;BR /&gt;/var/adm/syslog/syslog.log&lt;BR /&gt;/var/adm/syslog/OLDsyslog.log&lt;BR /&gt;/var/adm/syslog/mail.log&lt;BR /&gt;/var/adm/wtmp&lt;BR /&gt;/var/adm/cron/log&lt;BR /&gt;&lt;BR /&gt;You can nullyfy the files or move to other place to recover free space.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Dec 2005 17:08:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691609#M247303</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-12-14T17:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691610#M247304</link>
      <description>Shiv, You can use # cleanup -c 1 to clean your depots. Also, look at /var/adm/crash and you can delete unwanted crash dumps. You can delete your old syslog files at /var/adm/syslog dir. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 14 Dec 2005 22:36:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691610#M247304</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-12-14T22:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691611#M247305</link>
      <description>hi shiv&lt;BR /&gt;&lt;BR /&gt;i would also recommend that you go through "Routine Tasks" in SAM and purge all your old logs first&lt;BR /&gt;&lt;BR /&gt;this hopefully will clear up a bit of space.&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 14 Dec 2005 23:26:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691611#M247305</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-12-14T23:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691612#M247306</link>
      <description>A good thread worth reading, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=977812" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=977812&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 14 Dec 2005 23:55:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691612#M247306</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-12-14T23:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691613#M247307</link>
      <description>Sirs,&lt;BR /&gt;&lt;BR /&gt;I just ran the command "# cleanup -p -c 2"&lt;BR /&gt;and got the below output on test box:-&lt;BR /&gt;&lt;BR /&gt;The following patches superseded at least 2 time(s) can be committed:&lt;BR /&gt;&lt;BR /&gt;Superseded  # Times Superseded  Disk Space in /var/adm/sw/save  Superseded By&lt;BR /&gt;==========  ==================  ==============================  =============&lt;BR /&gt;PHCO_24813           2                   495616 bytes             PHCO_26700&lt;BR /&gt;PHCO_25082           2                   151552 bytes             PHCO_26561&lt;BR /&gt;PHCO_25311           2                  3426304 bytes             PHCO_26824&lt;BR /&gt;PHCO_25452           3                 23476224 bytes             PHCO_27434&lt;BR /&gt;PHCO_27020           2                   571392 bytes             PHCO_28259&lt;BR /&gt;PHCO_27209           2                   385024 bytes             PHCO_27243&lt;BR /&gt;&lt;BR /&gt;can anyone explain what this output says ?</description>
      <pubDate>Thu, 15 Dec 2005 02:07:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691613#M247307</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2005-12-15T02:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691614#M247308</link>
      <description>also i saw some depot files in the directory /var/opt/patches. should i delete these depot files ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Dec 2005 02:14:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691614#M247308</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2005-12-15T02:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691615#M247309</link>
      <description>you ran a preview for a cleanup which shows you: &lt;BR /&gt;the superseded patch&lt;BR /&gt;the times its been superseded&lt;BR /&gt;the disk space it uses&lt;BR /&gt;the patch it has been superseded by.&lt;BR /&gt;&lt;BR /&gt;for the actual cleanup leave the -p out of the command.&lt;BR /&gt;regards.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Dec 2005 02:15:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691615#M247309</guid>
      <dc:creator>Henk Geurts</dc:creator>
      <dc:date>2005-12-15T02:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691616#M247310</link>
      <description>&lt;ALSO i="" saw="" some="" depot="" files="" in="" the="" directory=""&gt;&lt;BR /&gt;&lt;BR /&gt;make sure the are not used  (fuser) or registered as depot (swlist -l depot). &lt;BR /&gt;if the depot is registered , use :&lt;BR /&gt;&lt;BR /&gt;swreg -u -l depot /var/opt/patches&lt;/ALSO&gt;</description>
      <pubDate>Thu, 15 Dec 2005 02:23:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691616#M247310</guid>
      <dc:creator>Henk Geurts</dc:creator>
      <dc:date>2005-12-15T02:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691617#M247311</link>
      <description>It means, You have installed latest patches and old patches were superseded. You can do that cleanup safely. Also, Check swreg to see that the depots are registered. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 15 Dec 2005 03:17:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691617#M247311</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-12-15T03:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: removing files from /var file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691618#M247312</link>
      <description>&lt;BR /&gt;you can run cleanup -c 1 and remove patches that are superseded at least 1 time.&lt;BR /&gt;you may want to run swreg -u -l depot /var/opt/patches to register patches before running the cleanup.</description>
      <pubDate>Thu, 15 Dec 2005 06:41:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-files-from-var-file-system/m-p/3691618#M247312</guid>
      <dc:creator>Mohan_24</dc:creator>
      <dc:date>2005-12-15T06:41:55Z</dc:date>
    </item>
  </channel>
</rss>

