<?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 swinstall analysis in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367787#M195098</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;I've downloaded a script (see attachment) from HP which is used to generate depot base on patch files. It call some commands like swcopy, swpackage which will make use of "/tmp".&lt;BR /&gt;&lt;BR /&gt;However, my machine got around 65Mb /tmp disk space only.&lt;BR /&gt;&lt;BR /&gt;Is there any other get-around?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank &amp;amp; regards&lt;BR /&gt;Daedalus</description>
    <pubDate>Mon, 30 Aug 2004 02:05:37 GMT</pubDate>
    <dc:creator>Daedalus_1</dc:creator>
    <dc:date>2004-08-30T02:05:37Z</dc:date>
    <item>
      <title>swinstall analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367787#M195098</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I've downloaded a script (see attachment) from HP which is used to generate depot base on patch files. It call some commands like swcopy, swpackage which will make use of "/tmp".&lt;BR /&gt;&lt;BR /&gt;However, my machine got around 65Mb /tmp disk space only.&lt;BR /&gt;&lt;BR /&gt;Is there any other get-around?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank &amp;amp; regards&lt;BR /&gt;Daedalus</description>
      <pubDate>Mon, 30 Aug 2004 02:05:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367787#M195098</guid>
      <dc:creator>Daedalus_1</dc:creator>
      <dc:date>2004-08-30T02:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367788#M195099</link>
      <description>Hi Daedalus,&lt;BR /&gt;&lt;BR /&gt;The script does not use /tmp but $PWD = current dir for files, so if you move the tree to an other place you can execute the script there. The depot will be created in $PWD/depot.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Gideon</description>
      <pubDate>Mon, 30 Aug 2004 02:31:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367788#M195099</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-08-30T02:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367789#M195100</link>
      <description>Hi,&lt;BR /&gt;This srcipt creates depot for you in the directory where you are. Now what you do is use "bdf" command to look out for space and  Switch yourself to the convenient directory and execute this script.&lt;BR /&gt;Hope that helps.&lt;BR /&gt;Regards,</description>
      <pubDate>Mon, 30 Aug 2004 02:49:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367789#M195100</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-08-30T02:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367790#M195101</link>
      <description>However, when I run the script when temp has only 35MB(the directory where i extract the depot has more than 1 GB disk space). The following error message appeared.&lt;BR /&gt;&lt;BR /&gt;/*****************************************&lt;BR /&gt;vxfs: mesg 001: vx_nospace - /dev/vg00/lvol4 file system full (1 block extent)&lt;BR /&gt;No space left on device&lt;BR /&gt;ERROR: PHSS_26945.depot checksum is 28264 should be 35428&lt;BR /&gt;ERROR: wc results of PHSS_26945.depot are 41341 150578 11305984 should be 144673 595501 60037120&lt;BR /&gt;/*****************************************</description>
      <pubDate>Tue, 31 Aug 2004 05:00:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367790#M195101</guid>
      <dc:creator>Daedalus_1</dc:creator>
      <dc:date>2004-08-31T05:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367791#M195102</link>
      <description>The default location for depots is /var/adm/sw. It's probably a good idea to set this up as a separate filesystem in its own logical volume so it doesn't fill /var.&lt;BR /&gt;&lt;BR /&gt;Once you've done this:&lt;BR /&gt;&lt;BR /&gt;cd /var/adm/sw&lt;BR /&gt;&lt;BR /&gt;then run the script.&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Tue, 31 Aug 2004 05:13:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367791#M195102</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-08-31T05:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367792#M195103</link>
      <description>Hi Daedalus,&lt;BR /&gt;&lt;BR /&gt;I noticed that in your script may be is missing the following line:&lt;BR /&gt;&lt;BR /&gt;SD_LIST=&lt;BR /&gt;&lt;BR /&gt;After:&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# Temporary values&lt;BR /&gt;#&lt;BR /&gt;PID=$$&lt;BR /&gt;#PSF=depot$PID.psf&lt;BR /&gt;PSF=depot.psf&lt;BR /&gt;&lt;BR /&gt;## HERE:&lt;BR /&gt;SD_LIST=&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# Upon exit...&lt;BR /&gt;#&lt;BR /&gt;#trap 'rm -f $PSF; exit' 0 1 2 15&lt;BR /&gt;&lt;BR /&gt;Hope this will help!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Tue, 31 Aug 2004 05:35:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367792#M195103</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-08-31T05:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367793#M195104</link>
      <description>Some more new findings on the problem.&lt;BR /&gt;&lt;BR /&gt;I found where exactly in the script promp out error message. It is when the script running the PHSS_* files by calling a shell.&lt;BR /&gt;&lt;BR /&gt;(e.g&amp;gt;/bin/sh PHSS_XXXXX)&lt;BR /&gt;&lt;BR /&gt;Which patch files will result on error? It depends on how much /tmp size we got. When there's around 50 MB. Only running PHSS_26945 will result error.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here's a example when I run the line on the command prompt alone.&lt;BR /&gt;&lt;BR /&gt;when only 50MB in /tmp&lt;BR /&gt;/***********************************&lt;BR /&gt;root@myhost:&amp;gt;bdf /tmp&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol4     491520  435276   53727   89% /tmp&lt;BR /&gt;root@et9:/QATeam2/hp_patch&amp;gt;/bin/sh PHSS_26945 &lt;BR /&gt;x - PHSS_26945.text&lt;BR /&gt;x - PHSS_26945.depot [compressed]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vxfs: mesg 001: vx_nospace - /dev/vg00/lvol4 file system full (1 block extent)&lt;BR /&gt;No space left on device&lt;BR /&gt;ERROR: PHSS_26945.depot checksum is 14426 should be 35428&lt;BR /&gt;ERROR: wc results of PHSS_26945.depot are 140311 566932 57585664 should be 144673 595501 60037120&lt;BR /&gt;root@myhost:&amp;gt;&lt;BR /&gt;/***********************************&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When /tmp got 73MB&lt;BR /&gt;/***********************************&lt;BR /&gt;root@myhost:&amp;gt;bdf /tmp&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol4     491520  413809   73853   85% /tmp&lt;BR /&gt;root@et9:/QATeam2/hp_patch&amp;gt;/bin/sh PHSS_26945 &lt;BR /&gt;x - PHSS_26945.text&lt;BR /&gt;x - PHSS_26945.depot [compressed]&lt;BR /&gt;root@myhost:&amp;gt;&lt;BR /&gt;/***********************************</description>
      <pubDate>Tue, 31 Aug 2004 22:34:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367793#M195104</guid>
      <dc:creator>Daedalus_1</dc:creator>
      <dc:date>2004-08-31T22:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367794#M195105</link>
      <description>Hi Daedalus,&lt;BR /&gt;&lt;BR /&gt;If you don't specify the -d option with the script, then it will create the depot in the current working directory. So, find out a filesystem where you have enough space (say /apps1 ) and then specify it with the script. For ex.,&lt;BR /&gt;&lt;BR /&gt;./create_depot -d /apps1/depot&lt;BR /&gt;&lt;BR /&gt;It will create the depot at /apps1/depot location. Find it out by issuing the command&lt;BR /&gt;&lt;BR /&gt;'swlist -l depot'.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 31 Aug 2004 22:48:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367794#M195105</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-08-31T22:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: swinstall analysis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367795#M195106</link>
      <description>I think this error occurs because unsharing of the patch file (sh PHSS_26945) creates some temporary files in /tmp.&lt;BR /&gt;&lt;BR /&gt;Towards the end of PHSS_26945 file, there are following two lines.&lt;BR /&gt;&lt;BR /&gt;uncompress &lt;PHSS_26945.DEPOT&gt;/tmp/compress$$&lt;BR /&gt;mv /tmp/compress$$ PHSS_26945.depot&lt;BR /&gt;&lt;BR /&gt;This temporary file (compress$$) is probably too big for /tmp and therefore you are getting the error.&lt;BR /&gt;&lt;BR /&gt;You can use the following awk script to replace references to /tmp with TMPDIR.&lt;BR /&gt;&lt;BR /&gt;$ cat addTMPDIR.awk&lt;BR /&gt;/..@EOF/ {scan_off=1}&lt;BR /&gt;/^@EOF/i  {scan_off=0}&lt;BR /&gt;/unpacker &amp;lt;&amp;lt;.@eof./ {scan_off=1}&lt;BR /&gt;{&lt;BR /&gt;     if(scan_off != 1) {&lt;BR /&gt;       gsub ("/tmp",  "$TMPDIR")&lt;BR /&gt;     }&lt;BR /&gt;     print $0&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;$ cp PHSS_26945 PHSS_26945.orig&lt;BR /&gt;$ awk -f addTMPDIR.awk PHSS_26945.orig &amp;gt; PHSS_26945&lt;BR /&gt;&lt;BR /&gt;Repeat this procedure for every patch that's causing the problem.&lt;BR /&gt;&lt;BR /&gt;Before you run the script to create the depot again make sure you define TMPDIR to a directory with sufficient free space.&lt;BR /&gt;&lt;BR /&gt;$ export TMPDIR=&lt;DIR_WITH_FREE_SPACE&gt;&lt;/DIR_WITH_FREE_SPACE&gt;&lt;/PHSS_26945.DEPOT&gt;</description>
      <pubDate>Wed, 01 Sep 2004 02:22:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-analysis/m-p/3367795#M195106</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2004-09-01T02:22:13Z</dc:date>
    </item>
  </channel>
</rss>

