Operating System - HP-UX
1748092 Members
5721 Online
108758 Solutions
New Discussion юеВ

Re: While doing DEPOT received error

 
SOLVED
Go to solution
SWPACKAGE error
Occasional Advisor

While doing DEPOT received error

Hi everyone,

I am doing some HP-UX depot creation. In the depot creation , i tried to convert depot directory to tape depot[single file]. but i unable to do it and i getting error stats that there is no sufficient space to build the depot. but i checked there is sufficient space thee. kindly give some suggestion to fix this issue...thanks for your understanding and ur support.

ERROR MESSAGE:
==============
======= 04/27/09 10:32:55 CDT BEGIN swpackage SESSION

* Session started for user "root@usplselux280.elabs.eds.com".

* Source: usplselux280:stuff.psf
* Target: usplselux280:/tmp/vsf.depot
* Software selections:
*


* Beginning Selection Phase.
* Reading the Product Specification File (PSF) "stuff.psf".
* Reading the product "VSF" at line 9.
* Reading the fileset "VSF" at line 23.

NOTE: The temporary target depot "/var/tmp/pkgAAA025774" has been
created.
* Selection Phase succeeded.


* Beginning Analysis Phase.
* Analysis Phase succeeded.


* Beginning Package Phase.
* Packaging the product "VSF".
* Packaging the fileset "VSF.VSF".
* Package Phase succeeded.


* Beginning Tapemaker Phase.
* Copying the temporary depot to the tape "/tmp/vsf.depot".
* Calculating the tape blocks required to copy the temporary
depot to the tape "/tmp/vsf.depot".
NOTE: The temporary depot requires 1791190 Kbytes, which exceeds the
capacity of the tape "/tmp/vsf.depot" (1298828 Kbytes).
Multiple tapes are necessary.
* Modifying the temporary depot to divide the software
selections across multiple tapes.
ERROR: The fileset "VSF.VSF" will not fit on the tape
"/tmp/vsf.depot". The fileset requires 1789038 Kbytes of tape
space, but the tape provides only 1298828 Kbytes. The fileset
requires a larger tape.

* Removing the temporary depot.

======= 04/27/09 10:33:35 CDT END swpackage SESSION
13 REPLIES 13
Fabian Brise├▒o
Esteemed Contributor

Re: While doing DEPOT received error

Hello.
What Command are you using to acomplish this ?

What kind of tape are you using, DDS, DLT ?

Knowledge is power.
smatador
Honored Contributor

Re: While doing DEPOT received error

Steven E. Protter
Exalted Contributor
Solution

Re: While doing DEPOT received error

Shalom,

Simple: Not enough disk space.

Or the default tape size has been exceeded.

swpackage has a size command that permits the creation of a tape up to 8 GB

http://docs.hp.com/en/B9106-90008/swpackage.1M.html

-x media_type=tape
media_capacity=1330

Set that to 8000 for maximum tape size.

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
TTr
Honored Contributor

Re: While doing DEPOT received error

> but i checked there is sufficient space

> The temporary depot requires 1791190 Kbytes, which exceeds the
capacity of the tape "/tmp/vsf.depot" (1298828 Kbytes).

You say there is enough space. The error says there is not. How much free space do you have in your /tmp volume?


SWPACKAGE error
Occasional Advisor

Re: While doing DEPOT received error

Dear all,

Thanks a lot for your support & effort.
/tmp filesystem having more than 2GB means more than requirement.


Actually i created the depot directory but i want to make it single file thatswhy i tried but...i unable to do it...

thank a lot for ur support..

Regards,

RAJ
SWPACKAGE error
Occasional Advisor

Re: While doing DEPOT received error

Dear Fabian Brise├Г┬▒o,

I used the following commands to accomplis this.

swpackage -x target_type=tape s /var/depot -d /tmp/vsf.sd

after that i received same insufficient diskspace error. in order to avoid the error i follwed the below command.

swpackage -s /usr/VSF5.0/VSF-5.0.psf -x media_type=tape -x reinstall_files_use_cksum=true -x enforce_dsa=false @ /tmp/vsf

Now also, i got the sam error.


Thanks a lot for ur prompt reply & support.
SWPACKAGE error
Occasional Advisor

Re: While doing DEPOT received error

hi smatador,

Thanks for your reply. Yes i checked the Forum which u have been suggested. I tried all the Tricks which are available in that forum...eventhough i unable to fix the issue.


Really thanks alot for your effort.

Regards,

RAJ
SWPACKAGE error
Occasional Advisor

Re: While doing DEPOT received error

hi Steven E. Protter ,

Thsnks a lot for your support , I used the option media_capacity=8000 building has been completed. But i check the depot file property , it's in tar format like below.


usplselux280:/opt# file VSF.sd
VSF.sd: tar file

But with my knowledge , file property should be "depot" ..If any mistake in my thought kindly guide me to fix it.

and i started to install the depot, i got the error the /var/spool/sw depot not available.kindly help me to fix this ISSUE.
usplselux280:/tmp# swinstall /opt/VSF.sd
WARNING: The logfile, "/var/adm/sw/swinstall.log" is in use by process
"26524". 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.

======= 04/28/09 07:06:58 CDT BEGIN swinstall SESSION
(non-interactive) (jobid=usplselux280-0231)

* Session started for user "root@usplselux280".

* Beginning Selection
ERROR: "usplselux280:/": This target or source is already in use
either within this same session or by another session. A read
or write lock was denied.
* Target connection failed for "usplselux280:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is
usplselux280:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 04/28/09 07:06:58 CDT END swinstall SESSION (non-interactive)
(jobid=usplselux280-0231)



TTr
Honored Contributor

Re: While doing DEPOT received error

> VSF.sd: tar file

This is correct. All depot and patch files are in tar format.
> swinstall /opt/VSF.sd

Try "swinstall -s /opt/VSF.sd \*"