Operating System - HP-UX
1826256 Members
3694 Online
109692 Solutions
New Discussion

Re: swinstall failed when /home gets 100%

 
SOLVED
Go to solution
Dewa Negara_4
Regular Advisor

swinstall failed when /home gets 100%

Hi All,

I got an issue when run swinstall. It was failed when /home filesystem gets 100%. Anyone can help to tell me why this happen? How can we avoid swinstall from this checking?

Pls help. High score will be given.

Thanks and Best Regards,
Dewa

[root@bdhp4287:/var/opt/secu/parmlib]
# bdf /home
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lv_home 204800 204778 22 100% /home


[root@bdhm:/usr/local/sysmgr/secu_refresh]
# swinstall -x mount_all_filesystems=false -s bdhm:/var/spool/sw/applications/SECU SECU_TST @ bdhp4287
WARNING: The logfile, "/var/adm/sw/swinstall.log" is in use by process
"26781". The log information will be intermixed unless a
different logfile is given. To select a new logfile, specify
the "-x logfile=" option on the command line.

======= 10/19/05 06:12:56 EDT BEGIN swinstall SESSION
(non-interactive) (jobid=bdhm-1141)

* Session started for user "root@bdhm".

* Beginning Selection
* Target connection succeeded for "bdhp4287:/".
* Source connection succeeded for
"bdhm:/var/spool/sw/applications/SECU".
* Source: bdhm:/var/spool/sw/applications/SECU
* Targets: bdhp4287:/
* Software selections:
SECU_TST.Vendor_files,r=1.0
* Selection succeeded.


* Beginning Analysis and Execution
* Session selections have been saved in the file
"/root/.sw/sessions/swinstall.last".
* "bdhp4287:/": There will be no attempt to mount filesystems
that appear in the filesystem table.
ERROR: "bdhp4287:/": This operation will exceed the absolute limit
of disk space on 1 volumes.
* The analysis phase failed for "bdhp4287:/".
* Analysis and Execution had errors.


NOTE: More information may be found in the agent logfile using the
command "swjob -a log bdhm-1141 @ bdhp4287:/".

======= 10/19/05 06:14:28 EDT END swinstall SESSION (non-interactive)
(jobid=bdhm-1141)


[root@bdhm:/usr/local/sysmgr/secu_refresh]
# swjob -a log bdhm-1141 @ bdhp4287:/
======= 10/19/05 06:13:46 EDT BEGIN install AGENT SESSION (pid=2273)
(jobid=bdhm-1141)

* Agent session started for user "root@bdhm.na.pg.com".
(pid=2273)

* Beginning Analysis Phase.
* Source:
bdhm.na.pg.com:/var/spool/sw/applications/SECU
* Target: bdhp4287:/
* Target logfile: bdhp4287:/var/adm/sw/swagent.log
* Reading source for product information.
NOTE: The filesystems in the filesystem table will not be checked
against those currently mounted because the
"mount_all_filesystems" option is set to "false".
* Reading source for file information.
* Executing preDSA command.
ERROR: The used disk space on filesystem "/home" is estimated to
remain unchanged.
This operation will exceed the absolute limit on this volume
by 2026 Kbytes. You should free up at least 2026 Kbytes to
avoid installing beyond the minimum free threshold of
available user disk space.
NOTE: The used disk space on filesystem "/momauto" is estimated to
remain unchanged.
This will leave 91511 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/opt/secu" is estimated to
remain unchanged.
This will leave 13889 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/usr/seos" is estimated to
remain unchanged.
This will leave 77773 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/var/opt/secu" is estimated
to remain unchanged.
This will leave 66628 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/var/tmp" is estimated to
increase by 9769 Kbytes.
This will leave 181657 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/var" is estimated to
remain unchanged.
This will leave 726931 Kbytes of available user disk space
after the installation.
* The "enforce_dsa" option may be set to "false" to override
disk space analysis failures. However, proceeding in this case
could result in an unusable system if you exceed available
space.
NOTE: All products will be skipped because there was a global error.

* Summary of Analysis Phase:
* 1 of 1 filesets had no Errors or Warnings.
ERROR: The Analysis Phase had errors. See the above output for
details.


======= 10/19/05 06:14:26 EDT END install AGENT SESSION (Cancelled)
(pid=2273) (jobid=bdhm-1141)
Santos
5 REPLIES 5
Adisuria Wangsadinata_1
Honored Contributor

Re: swinstall failed when /home gets 100%

Hi Pak Dewa,

Good day to you !
On the option, un-mark 'Enforce disk space analysis errors'.

But with this one, you will get a warning message. And since you already know (from previous analyze), you can ignore the warning message about file system space.

If this one cannot help you, the last resource is to extend /home file system a little bit (the system just need to free up to 2026 Kbytes). Just make it not 100 %.

Hope this information can help you.

Cheers,
AW

now working, next not working ... that's unix
Dewa Negara_4
Regular Advisor

Re: swinstall failed when /home gets 100%

Hi Mr. Adisuria,

Thanks for your help.

What is the swinstall option we can use to "Enforce disk space analysis errors"? So swinstall will get installed successfully even though /home is 100%.

Thanks,
Dewa
Santos
Adisuria Wangsadinata_1
Honored Contributor
Solution

Re: swinstall failed when /home gets 100%

Hi Pak Dewa,

from swinstall manpage :

enforce_dsa=true
Prevents the command from proceeding past the analysis phase if the disk space required is beyond the available free space of the impacted filesystem(s). If set to false, the install or copy operation uses the filesystem's minfree space and may fail because it reaches the filesystem's absolute limit.

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Arunvijai_4
Honored Contributor

Re: swinstall failed when /home gets 100%

swinstall enforce_dsa=true -x mount_all_filesystems=false -s bdhm:/var/spool/sw/applications/SECU SECU_TST @ bdhp4287

should be helpful


-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Dewa Negara_4
Regular Advisor

Re: swinstall failed when /home gets 100%

Thanks Adisuria. It looks fine to me. enforce_dsa=false is the correct option. Thanks again.

Best Regards,
Dewa



Santos