<?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: full /var filesystem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436840#M5468</link>
    <description>Maybe that helps:&lt;BR /&gt;&lt;BR /&gt;By default at hp-ux during patch installation, SD-UX makes rollback copies of all files and archive library objects modified.  These copies are saved under the "/var/adm/sw/save" directory structure and do occupy disk space.&lt;BR /&gt;&lt;BR /&gt;When desired, this disk space can be regained.  Of course, when doing so there will be no way to "uninstall" the patch with swremove(1M). The rollback copies are removed from the system when the patch is "committed".&lt;BR /&gt;&lt;BR /&gt;The process of "committing" a patch is accomplished with the swmodify(1M) command.  It is necessary to specify which patch filesets are to be committed; thus, to commit an entire patch you would use a command similar to:&lt;BR /&gt;&lt;BR /&gt;        swmodify -x patch_commit=true PHCO_13284.*&lt;BR /&gt;&lt;BR /&gt;Once a patch is committed, the "patch_state" is changed from "applied" to "committed".  This can be observed by the following command:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        swlist -l patch -a patch_state  [PHCO_13284/PACHRDME/English] &lt;BR /&gt;&lt;BR /&gt;The "cleanup" command may be used to simplify this process when only the rollback information for superseded patches is to be removed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Running the following command will remove space for superseded patches in /var/adm/sw/save:&lt;BR /&gt;&lt;BR /&gt;cleanup -c [number_of_time_superseded]&lt;BR /&gt;&lt;BR /&gt;The new "-c" option is added in PHCO_19550.  The cleanup(1) man page explains the new option:&lt;BR /&gt;&lt;BR /&gt;-c &lt;BR /&gt;                      Commit patches superseded at least  times.&lt;BR /&gt;                      This option is a front-end to the 'patch_commit'&lt;BR /&gt;                      option of swmodify(1M) that provides an easier&lt;BR /&gt;                      interface to commit multiple patches at once.&lt;BR /&gt;&lt;BR /&gt;Running cleanup -c 1 will display all patches that have been superseded at least one time and then prompt for removal of their rollback information. As with all cleanup options no patch information will be removed without prompting the user first.&lt;BR /&gt;&lt;BR /&gt;NOTE: For more information see the white paper located at /usr/share/doc/patch_pgrm.txt and the man page for cleanup.</description>
    <pubDate>Wed, 16 Aug 2000 06:27:13 GMT</pubDate>
    <dc:creator>Patrick Wessel</dc:creator>
    <dc:date>2000-08-16T06:27:13Z</dc:date>
    <item>
      <title>full /var filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436837#M5465</link>
      <description>I have a new L1000 with 500 GByte /var filesystem. I only install some software and now my /var filesystem is full ??! On an AIX-System after many years of full produktion, /var is only 50 MByte, and I can all time under full prodution increase every filesystem without special software. &lt;BR /&gt;I have 2 qustions:&lt;BR /&gt;1) How can I increase /var (we have install ON-LINE JFS)?&lt;BR /&gt;2) I find many files in /var/adm/sw/save. Can I remove them without having problems sometimes ? &lt;BR /&gt;Thanks for help!</description>
      <pubDate>Wed, 16 Aug 2000 06:21:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436837#M5465</guid>
      <dc:creator>Horst Prestin</dc:creator>
      <dc:date>2000-08-16T06:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: full /var filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436838#M5466</link>
      <description>&lt;BR /&gt;First you can tidy up some old saved patches by using the cleanup command. But, if you ever want/need to revert back to these old patches then you wont be able to so be careful not to cleanup too many old patches (go back say 2 levels of old patches).&lt;BR /&gt;&lt;BR /&gt;Also check /var/tmp to see if you can cleanup some old files from there.&lt;BR /&gt;&lt;BR /&gt;If you need to increase /var then with onlineJFS its easy; extend the lvol first using lvextend then use fasdm -F vxfs -b &lt;NEWSIZE&gt; /var  and your done. You can do this all online.&lt;BR /&gt;&lt;BR /&gt;&lt;/NEWSIZE&gt;</description>
      <pubDate>Wed, 16 Aug 2000 06:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436838#M5466</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2000-08-16T06:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: full /var filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436839#M5467</link>
      <description>to increase /var do :-&lt;BR /&gt;&lt;BR /&gt;lvextend -L &lt;NEW size=""&gt; /dev/vg00/lvolXX&lt;BR /&gt;fsadm -b &lt;TOTAL blocks="" in="" 1k=""&gt; &lt;MOUNT point=""&gt;&lt;BR /&gt;&lt;BR /&gt;however, I think your problem is patches as you have lots of /var/adm/sw/save&lt;BR /&gt;&lt;BR /&gt;To 'commit' the patches (and therefore you won't be able to back them out) do :-&lt;BR /&gt;&lt;BR /&gt;swlist -l fileset -a name | grep PH &amp;gt; /tmp/patchlist&lt;BR /&gt;swmodify -x patch_commit=true -f /tmp/patchlist&lt;BR /&gt;&lt;BR /&gt;&lt;/MOUNT&gt;&lt;/TOTAL&gt;&lt;/NEW&gt;</description>
      <pubDate>Wed, 16 Aug 2000 06:26:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436839#M5467</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-08-16T06:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: full /var filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436840#M5468</link>
      <description>Maybe that helps:&lt;BR /&gt;&lt;BR /&gt;By default at hp-ux during patch installation, SD-UX makes rollback copies of all files and archive library objects modified.  These copies are saved under the "/var/adm/sw/save" directory structure and do occupy disk space.&lt;BR /&gt;&lt;BR /&gt;When desired, this disk space can be regained.  Of course, when doing so there will be no way to "uninstall" the patch with swremove(1M). The rollback copies are removed from the system when the patch is "committed".&lt;BR /&gt;&lt;BR /&gt;The process of "committing" a patch is accomplished with the swmodify(1M) command.  It is necessary to specify which patch filesets are to be committed; thus, to commit an entire patch you would use a command similar to:&lt;BR /&gt;&lt;BR /&gt;        swmodify -x patch_commit=true PHCO_13284.*&lt;BR /&gt;&lt;BR /&gt;Once a patch is committed, the "patch_state" is changed from "applied" to "committed".  This can be observed by the following command:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        swlist -l patch -a patch_state  [PHCO_13284/PACHRDME/English] &lt;BR /&gt;&lt;BR /&gt;The "cleanup" command may be used to simplify this process when only the rollback information for superseded patches is to be removed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Running the following command will remove space for superseded patches in /var/adm/sw/save:&lt;BR /&gt;&lt;BR /&gt;cleanup -c [number_of_time_superseded]&lt;BR /&gt;&lt;BR /&gt;The new "-c" option is added in PHCO_19550.  The cleanup(1) man page explains the new option:&lt;BR /&gt;&lt;BR /&gt;-c &lt;BR /&gt;                      Commit patches superseded at least  times.&lt;BR /&gt;                      This option is a front-end to the 'patch_commit'&lt;BR /&gt;                      option of swmodify(1M) that provides an easier&lt;BR /&gt;                      interface to commit multiple patches at once.&lt;BR /&gt;&lt;BR /&gt;Running cleanup -c 1 will display all patches that have been superseded at least one time and then prompt for removal of their rollback information. As with all cleanup options no patch information will be removed without prompting the user first.&lt;BR /&gt;&lt;BR /&gt;NOTE: For more information see the white paper located at /usr/share/doc/patch_pgrm.txt and the man page for cleanup.</description>
      <pubDate>Wed, 16 Aug 2000 06:27:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436840#M5468</guid>
      <dc:creator>Patrick Wessel</dc:creator>
      <dc:date>2000-08-16T06:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: full /var filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436841#M5469</link>
      <description>I had a similar problem a couple of weeks ago. Have you got a huge file called diaglogd_hold_list (I think that it's in /var/stm/logs/sys) ?&lt;BR /&gt;&lt;BR /&gt;If so, then it's a known problem and you can delete it. (Mine was over 500Mb).</description>
      <pubDate>Wed, 16 Aug 2000 06:27:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436841#M5469</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-08-16T06:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: full /var filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436842#M5470</link>
      <description>I test fsadm. But, fsadm:" -b Option requires OnLineJFS" &lt;BR /&gt;SAM tells me, that I have install OnLineJFS!!&lt;BR /&gt;Whats wrong????</description>
      <pubDate>Wed, 16 Aug 2000 07:06:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436842#M5470</guid>
      <dc:creator>Horst Prestin</dc:creator>
      <dc:date>2000-08-16T07:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: full /var filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436843#M5471</link>
      <description>Im afraid if you dont have online-jfs, that you will have to if you wish to extend /var to go into single user, and extend /var NOT using SAM for sam needs /var...&lt;BR /&gt;That means&lt;BR /&gt;lvextend -L &lt;NEWSIZE in="" mb=""&gt; /dev/vg00/lvol8&lt;BR /&gt;extendfs /dev/vg00/rlvol8&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Victor&lt;/NEWSIZE&gt;</description>
      <pubDate>Wed, 16 Aug 2000 07:24:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436843#M5471</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2000-08-16T07:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: full /var filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436844#M5472</link>
      <description>Check if it's in the kernel :-&lt;BR /&gt;&lt;BR /&gt;grep vx /stand/system&lt;BR /&gt;&lt;BR /&gt;should have vxbase and vxadv&lt;BR /&gt;&lt;BR /&gt;if not present do an ls of /usr/conf/lib and check for libvxfs_adv.a&lt;BR /&gt;&lt;BR /&gt;If it's there, add vxadv to the /stand/system file and rebuild the kernel and reboot.&lt;BR /&gt;&lt;BR /&gt;Clearing the wasted space out is better than needlessly increasing /var IMHO.&lt;BR /&gt;&lt;BR /&gt;Also check what's in /var/adm/crash if anything.</description>
      <pubDate>Wed, 16 Aug 2000 07:34:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436844#M5472</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-08-16T07:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: full /var filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436845#M5473</link>
      <description>Check if it's in the kernel :-&lt;BR /&gt;&lt;BR /&gt;grep vx /stand/system&lt;BR /&gt;&lt;BR /&gt;should have vxbase and vxadv&lt;BR /&gt;&lt;BR /&gt;if not present do an ls of /usr/conf/lib and check for libvxfs_adv.a&lt;BR /&gt;&lt;BR /&gt;If it's there, add vxadv to the /stand/system file and rebuild the kernel and reboot.&lt;BR /&gt;&lt;BR /&gt;Clearing the wasted space out is better than needlessly increasing /var IMHO.&lt;BR /&gt;&lt;BR /&gt;Also check what's in /var/adm/crash if anything.</description>
      <pubDate>Wed, 16 Aug 2000 07:34:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436845#M5473</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-08-16T07:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: full /var filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436846#M5474</link>
      <description>You can reduce the sizes of the following files to zero with this command:&lt;BR /&gt;&lt;BR /&gt;cat /dev/null &amp;gt; /var/adm/wtmp&lt;BR /&gt;&lt;BR /&gt;/var/adm/wmtp, btmp&lt;BR /&gt;/var/sam/log/*.log&lt;BR /&gt;Remove the files under /var/preserve and /var/mail.&lt;BR /&gt;You can include this clean-up in a cron.&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Aug 2000 08:21:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436846#M5474</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-08-16T08:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: full /var filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436847#M5475</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;thanks for all your help!!!&lt;BR /&gt;&lt;BR /&gt;The reason was:&lt;BR /&gt;Copy the software to depot only install a litle part of OnLine JFS! The option I have to switch of is:&lt;BR /&gt;"Enforce dependency analysis errors in agent"&lt;BR /&gt;What ever this means?! Now it is working!&lt;BR /&gt;&lt;BR /&gt;Because I have many patches installed, but did not know for what, I have to wait some time before I commit them. &lt;BR /&gt;</description>
      <pubDate>Wed, 16 Aug 2000 09:58:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436847#M5475</guid>
      <dc:creator>Horst Prestin</dc:creator>
      <dc:date>2000-08-16T09:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: full /var filesystem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436848#M5476</link>
      <description>It's always difficult to compare different flavors of Unix by assuming that directories and filesystems are the same (ie, AIX doesn't grow /var).  HP-UX maintains many critical subsystems in /var and if it should fill, *ALL* of these subsystems will fail. A better technique is to run separate filesystems for each busy subsystems.  These are:&lt;BR /&gt;&lt;BR /&gt;/var/mail&lt;BR /&gt;/var/adm&lt;BR /&gt;/var/adm/sw&lt;BR /&gt;/var/adm/crash&lt;BR /&gt;/var/spool&lt;BR /&gt;&lt;BR /&gt;If you aren't using email on a system, /var/mail can be part of /var, but if you are receiving email, anyone can send a massive message (100's of megs) and fill /var.  Same with spooling, etc.  /var/adm always needs logfile trimming.&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Aug 2000 12:28:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/full-var-filesystem/m-p/2436848#M5476</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2000-08-16T12:28:33Z</dc:date>
    </item>
  </channel>
</rss>

