<?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 /var/adm/sw maintenance in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-sw-maintenance/m-p/2497680#M20320</link>
    <description>My /var/adm/sw filesystem is starting to get full.  I'm hesitant to delete files from here without knowing what impact it will have later on.  What are typical areas of pruning in this filesystem?  Are there certain logs or patch files which can be safely deleted/trimmed or should I just increase the size and live with the growth?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 23 Feb 2001 13:58:19 GMT</pubDate>
    <dc:creator>Patrick Bridwell</dc:creator>
    <dc:date>2001-02-23T13:58:19Z</dc:date>
    <item>
      <title>/var/adm/sw maintenance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-sw-maintenance/m-p/2497680#M20320</link>
      <description>My /var/adm/sw filesystem is starting to get full.  I'm hesitant to delete files from here without knowing what impact it will have later on.  What are typical areas of pruning in this filesystem?  Are there certain logs or patch files which can be safely deleted/trimmed or should I just increase the size and live with the growth?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Feb 2001 13:58:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-sw-maintenance/m-p/2497680#M20320</guid>
      <dc:creator>Patrick Bridwell</dc:creator>
      <dc:date>2001-02-23T13:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: /var/adm/sw maintenance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-sw-maintenance/m-p/2497681#M20321</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if you are running HP-UX 10.20 you can use the utility&lt;BR /&gt;&lt;BR /&gt;cleanup&lt;BR /&gt;&lt;BR /&gt;to remove obsolete patch files from /var/adm/sw&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 23 Feb 2001 14:04:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-sw-maintenance/m-p/2497681#M20321</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2001-02-23T14:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: /var/adm/sw maintenance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-sw-maintenance/m-p/2497682#M20322</link>
      <description>Hi !&lt;BR /&gt;&lt;BR /&gt;The bigest directory in /var/adm/sw may be the save. There save the PATCH the files which rewrite while patching. It need for You when use swremove. &lt;BR /&gt;I suppose backup this directory and remove some older directories. ( Before swremove You can restore from backup )&lt;BR /&gt;&lt;BR /&gt;regadrs, Saa</description>
      <pubDate>Fri, 23 Feb 2001 14:09:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-sw-maintenance/m-p/2497682#M20322</guid>
      <dc:creator>Sandor Horvath_2</dc:creator>
      <dc:date>2001-02-23T14:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: /var/adm/sw maintenance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-sw-maintenance/m-p/2497683#M20323</link>
      <description>Other commands:&lt;BR /&gt;&lt;BR /&gt;swmodify -x patch_commit=true PHCO_13363.\*&lt;BR /&gt;to commit a patch and remove the backout files.&lt;BR /&gt;&lt;BR /&gt;cleanup -c 1&lt;BR /&gt;where 1 is the number of times a patch has been supereded by another patch.  This removes patches that have been superseded 1 or more times.  &lt;BR /&gt;&lt;BR /&gt;show_patches -s &lt;BR /&gt;Shows which patches have been superseded.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Feb 2001 18:07:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-sw-maintenance/m-p/2497683#M20323</guid>
      <dc:creator>Jeff Gunnink</dc:creator>
      <dc:date>2001-02-23T18:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: /var/adm/sw maintenance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-sw-maintenance/m-p/2497684#M20324</link>
      <description>The age of the directories is not a good indication of what you can remove.  In fact, once /var/adm/sw is damaged, you'll never be able to load any software or patches again. It is a critical directory but only for software install/remove/configure.&lt;BR /&gt;&lt;BR /&gt;First, backup the /var/adm/sw directory.&lt;BR /&gt;&lt;BR /&gt;Find out how big the sw directory is with:&lt;BR /&gt;&lt;BR /&gt;du -ks /var/adm/sw&lt;BR /&gt;&lt;BR /&gt;which will report Kbytes.  Now find some extra space and create a separate lvol about twicw as big as the above report.  Mount it under a temp directory, then copy everything as in:&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vg01/lvol17 /tempdir&lt;BR /&gt;cd /var/adm/sw&lt;BR /&gt;find . | cpio -pudlmv /tempdir&lt;BR /&gt;&lt;BR /&gt;Now verify the copy with:&lt;BR /&gt;&lt;BR /&gt;find /tmpdir -type d | wc -l&lt;BR /&gt;find /var/adm/sw -type d | wc -l&lt;BR /&gt;&lt;BR /&gt;find /tmpdir -type f | wc -l&lt;BR /&gt;find /var/adm/sw -type f | wc -l&lt;BR /&gt;&lt;BR /&gt;The counts should be the same.  Don't worry about du as it will always be different due to sparse files and expanded directories.&lt;BR /&gt;&lt;BR /&gt;Now umount /tempdir, then remove all the directories and file under /var/adm/sw. Now add an entry to fstab as in:&lt;BR /&gt;&lt;BR /&gt;/dev/vg01/lvol17 /var/adm/sw ...&lt;BR /&gt;&lt;BR /&gt;And test the mount point with:&lt;BR /&gt;&lt;BR /&gt;mount /var/adm/sw&lt;BR /&gt;&lt;BR /&gt;Now, /var will no longer be affected by software installation.</description>
      <pubDate>Sat, 24 Feb 2001 02:26:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-sw-maintenance/m-p/2497684#M20324</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-02-24T02:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: /var/adm/sw maintenance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-sw-maintenance/m-p/2497685#M20325</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I was curious, is the following a command line, posted above, a mistake:&lt;BR /&gt;"mkdir /dev/vg01/lvol17 /tempdir"&lt;BR /&gt;&lt;BR /&gt;did you mean:&lt;BR /&gt;mount /dev/vg01/lvol17 /tempdir</description>
      <pubDate>Mon, 07 Apr 2003 16:56:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-adm-sw-maintenance/m-p/2497685#M20325</guid>
      <dc:creator>FJ Administrator</dc:creator>
      <dc:date>2003-04-07T16:56:49Z</dc:date>
    </item>
  </channel>
</rss>

