Operating System - HP-UX
1846463 Members
2355 Online
110256 Solutions
New Discussion

Re: failed Disk Space Analysis

 
SOLVED
Go to solution
Jeff Sadowski_2
Frequent Advisor

failed Disk Space Analysis

I have plenty of room.

/home (/dev/vg00/lvol4 ) : 16646296 total allocated Kb
16628280 free allocated Kb
18016 used allocated Kb
0 % allocation used
/opt (/dev/vg00/lvol5 ) : 33305992 total allocated Kb
31557144 free allocated Kb
1748848 used allocated Kb
5 % allocation used
/tmp (/dev/vg00/lvol6 ) : 4172976 total allocated Kb
2715496 free allocated Kb
1457480 used allocated Kb
34 % allocation used
/usr (/dev/vg00/lvol7 ) : 33312336 total allocated Kb
30868952 free allocated Kb
2443384 used allocated Kb
7 % allocation used
/var (/dev/vg00/lvol8 ) : 28948352 total allocated Kb
27474480 free allocated Kb
1473872 used allocated Kb
5 % allocation used
/stand (/dev/vg00/lvol1 ) : 4162872 total allocated Kb
3997712 free allocated Kb
165160 used allocated Kb
3 % allocation used
/ (/dev/vg00/lvol3 ) : 16703080 total allocated Kb
11973520 free allocated Kb
4729560 used allocated Kb
28 % allocation used


But when I go and try to apply a patch with swinstall I get the following error

The target "rx2600:/" failed Disk Space Analysis, so the task cannot be executed. For more information on this failure, press "Disk Space ..." button

with an OK box

I press OK and press on "Disk Space ..."
It reads as follows
File System Avalible Available Capacity Must
Mount Point Before After After Free
//var -> 27687600 2767168 5% 0
/usr -> 31109000 31109000 7% 0

What is going on?

Why does it say I need space when I don't

Other information about this is I attempted to install this patch before with a bunch of other patches. After the reboot I did a patch analysis and it still shows this as a recommended patch so I assume it didn't apply.
10 REPLIES 10
Coolmar
Esteemed Contributor

Re: failed Disk Space Analysis

You may not have enough room in /tmp (depends on the patch requirements) and sometimes that is the path it requires. I posted the same question recently because it was happening to me. You can vi the patch and see where it was trying to go and increase that filesystem, or use uudecode.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1074511
Steven E. Protter
Exalted Contributor
Solution

Re: failed Disk Space Analysis

Shalom,

The installation log says exactly why the patch won't install. There is an error there it should be acted on. It could be any filesystem that the patch requires.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jeff Sadowski_2
Frequent Advisor

Re: failed Disk Space Analysis

Looking at the log
Here are some errors I found in it


...
The prerequisite "PHSS_32213.CORE2-SHLIBS,fa=HP-UX_B.11.23_IA
| OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA" for fileset
"PHSS_34858.CORE-SHLIBS,r=1.0" cannot be successfully
resolved.
ERROR: The dependencies for fileset "PHSS_34858.CORE-SHLIBS,r=1.0"
cannot be resolved (see previous lines).
You must resolve the above dependencies before operating on
this fileset or change the "enforce_dependencies" option to
"false".
* Executing preDSA command.

...


NOTE: The patch fileset "PHSS_34858.C-KRN,r=1.0" is being excluded
because other filesets in the patch were excluded.
NOTE: The patch fileset "PHSS_34858.C-MIN,r=1.0" is being excluded
because other filesets in the patch were excluded.
NOTE: The patch fileset "PHSS_34858.C2-INC,r=1.0" is being excluded
because other filesets in the patch were excluded.
NOTE: The patch fileset "PHSS_34858.CMDS2-AUX,r=1.0" is being
excluded because other filesets in the patch were excluded.
NOTE: The patch fileset "PHSS_34858.CORE-64SLIB,r=1.0" is being
excluded because other filesets in the patch were excluded.
NOTE: The patch fileset "PHSS_34858.CORE2-64SLIB,r=1.0" is being
excluded because other filesets in the patch were excluded.
NOTE: The patch fileset "PHSS_34858.CORE2-SHLIBS,r=1.0" is being
excluded because other filesets in the patch were excluded.
NOTE: The patch fileset "PHSS_34858.LANG-64ALIB,r=1.0" is being
excluded because other filesets in the patch were excluded.
NOTE: The patch fileset "PHSS_34858.LANG-MIN,r=1.0" is being
excluded because other filesets in the patch were excluded.
NOTE: The patch fileset "PHSS_34858.LINKER-HELP,r=1.0" is being
excluded because other filesets in the patch were excluded.
NOTE: The patch fileset "PHSS_34858.LINKER-PAOBJ,r=1.0" is being
excluded because other filesets in the patch were excluded.

* Summary of Analysis Phase:
ERROR: Exclude PHSS_34858.C-KRN,r=1.0
ERROR: Exclude PHSS_34858.C-MIN,r=1.0
ERROR: Exclude PHSS_34858.C2-INC,r=1.0
ERROR: Exclude PHSS_34858.CMDS2-AUX,r=1.0
ERROR: Exclude PHSS_34858.CORE-64SLIB,r=1.0
ERROR: Exclude PHSS_34858.CORE-SHLIBS,r=1.0
ERROR: Exclude PHSS_34858.CORE2-64SLIB,r=1.0
ERROR: Exclude PHSS_34858.CORE2-SHLIBS,r=1.0
ERROR: Exclude PHSS_34858.LANG-64ALIB,r=1.0
ERROR: Exclude PHSS_34858.LANG-MIN,r=1.0
ERROR: Exclude PHSS_34858.LINKER-HELP,r=1.0
ERROR: Exclude PHSS_34858.LINKER-PAOBJ,r=1.0
ERROR: 12 of 12 filesets had Errors.
ERROR: The Analysis Phase had errors. See the above output for
details.
Jeff Sadowski_2
Frequent Advisor

Re: failed Disk Space Analysis

Ok, so I go look for the claimed needed dependencies PHSS_34858 I download this package and try to install it. Here are the messages I get from it.

======= 11/30/06 00:40:51 MST END install AGENT SESSION (Canceled)
(pid=4186)


======= 11/30/06 00:40:56 MST BEGIN install AGENT SESSION (pid=4234)

* Agent session started for user "root@rx2600.abbatech.com".
(pid=4234)

* Beginning Analysis Phase.
* Source: rx2600.abbatech.com:/tmp/newdepot/depot
* Target: rx2600:/
* Target logfile: rx2600:/var/adm/sw/swagent.log
* Reading source for product information.
NOTE: The fileset "PHSS_34858.C-KRN,r=1.0" is already installed. If
you wish to reinstall this fileset, change the "reinstall"
option to "true".
NOTE: The fileset "PHSS_34858.C-MIN,r=1.0" is already installed. If
you wish to reinstall this fileset, change the "reinstall"
option to "true".
NOTE: The fileset "PHSS_34858.C2-INC,r=1.0" is already installed.
If you wish to reinstall this fileset, change the "reinstall"
option to "true".
NOTE: The fileset "PHSS_34858.CMDS2-AUX,r=1.0" is already installed.
If you wish to reinstall this fileset, change the "reinstall"
option to "true".
NOTE: The fileset "PHSS_34858.CORE-64SLIB,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_34858.CORE-SHLIBS,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_34858.CORE2-64SLIB,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_34858.CORE2-SHLIBS,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_34858.LANG-64ALIB,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_34858.LANG-MIN,r=1.0" is already installed.
If you wish to reinstall this fileset, change the "reinstall"
option to "true".
NOTE: The fileset "PHSS_34858.LINKER-HELP,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_34858.LINKER-PAOBJ,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
* Reading source for file information.
NOTE: The patch fileset "PHSS_32502.CORE2-64SLIB,r=1.0" is
superseded by another patch fileset that is already installed
on the target. Fileset "PHSS_32502.CORE2-64SLIB,r=1.0" will
be excluded.
NOTE: The patch fileset "PHSS_32502.CORE2-SHLIBS,r=1.0" is
superseded by another patch fileset that is already installed
on the target. Fileset "PHSS_32502.CORE2-SHLIBS,r=1.0" will
be excluded.
* Executing preDSA command.
NOTE: The bundle "BUNDLE,r=B.11.23" is already installed. If you
wish to reinstall this bundle, change the "reinstall" option
to "true".

* Summary of Analysis Phase:
* 14 of 14 filesets will be Skipped.
* The Analysis Phase succeeded.

This makes no sense why the other patch failed? What am I doing wrong

Ok from the begging
I login to itrc.hp.com
I select "patch database"
I select "find patches for my HP-UX system"
I select "upload new system information"
I download the swainv script.
I run the script on my HP-UX system.
I transfer the inventory.xml file to itrc
Make sure my system info is selected
I select "Browse Patch List"
make sure Search only patches that are applicable to this system is checked
I select all per page.
and click search.

I select all recommended patched by checking them individually (is there an easier way)
I select "add to selected patch list"
It then say stuff about dependancies and superceided patches
I leave these default and hit continue.
It then adds the dependent patch to the list and just selects superceided patches
next I click on "download selected"
then I choose to download them all at once.
and I download the the .zip file to my hp-ux system.
I create a uniq directory in /tmp
I cd to that directory
I unzip the .zip file there.
I run the create_depot_hp-ux_11 script the comes with it.
and I run swinstall
I select the /tmp//depot directory
for the "Source Depot Path"
This shows a BUNDLE in swinstall I select this BUNDLE to be installed by right clicking and selecting "Mark For Install".
Already it says stuff as follows
... difficulties were encountered while marking some items that it depends on.
...
However, these items may already be in the target.
Trusting that the inventory script and that itrc would select all patches I needed for my system I select OK and assume that all items are on the target.
I then proceed to install Action->Install...
Then it gives a bunch of missing dependencies in the ERRORS but still selects a number of the patches for install.
I went ahead and let it install the patches it could.
How do I resolve missing dependencies?
Shouldn't itrc have done this for me?
James R. Ferguson
Acclaimed Contributor

Re: failed Disk Space Analysis

Hi Jeff:

> ... difficulties were encountered while marking some items that it depends on.
...However, these items may already be in the target...How do I resolve missing dependencies? Shouldn't itrc have done this for me?

If the 'swinstall' analysis phase completes successfully, then any/all patch dependencies were resolved.

It is not uncommon to create a patch depot using '-x enforce_dependencies=false' and *defer* the dependency analysis (using '-x enforce_dependencies=true') until the 'swinstall' session. This causes the dependency analysis to be done using the union of the software depot and the Installed Product Database (IPD or '/var/adm/sw/') on the server. This IPD is the the "target" to which 'swinstall' refers.

Regards!

...JRF...

Jeff Sadowski_2
Frequent Advisor

Re: failed Disk Space Analysis

But since I downloaded all the patches that it recommended all at once and created the depot with all the patches in it. Shouldn't all the dependencies I need be there? It claimed to have added items to my download list of dependencies.
John Guster
Trusted Contributor

Re: failed Disk Space Analysis

is your download from your patch analysis from HP site? maybe you need run your profile again...
Darrel Louis
Honored Contributor

Re: failed Disk Space Analysis

Hi Jeff,

Can you perform a check_patches to check the state of the patches installed on your server.
You can also check with "swlist -l fileset -a state" all should be in a configured state.

Is the dependent patch included in your deport?

Goodluck
Jeff Sadowski_2
Frequent Advisor

Re: failed Disk Space Analysis

While it didn't solve my problem "swlist -l fileset -a state" did help me out tremendously in removing all the Internationalization I only have English speaking people administering I took off all packages that were for other languages. This seems to have cut down the amount of patches that itrc says I need.

Thanks Darrel Louis
Jeff Sadowski_2
Frequent Advisor

Re: failed Disk Space Analysis

Its just an erronious error message It had nothing to do with disk space it had to do with other errors I started a thread to deal more directly with the error I am having