cancel
Showing results for 
Search instead for 
Did you mean: 

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
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 \*"
SWPACKAGE error
Occasional Advisor

Re: While doing DEPOT received error

Dear all,

Thanks a lot for ur support.
With your help i done the SD ..but while installing SD it's going kind of interaction. i dont want like that, if i run swinstall and it has to go as it's with out any user interaction. Kindly help me out from this issue. here with i am sending the snapshot of the interaction.

Thanks alot for ur prompt reply & support. Kindly help to out from this issue.


usplselux280:/opt/depot# swinstall -s /opt/depot/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.
NOTE: The interactive UI was invoked, since no software was
specified.

Starting the terminal version of swinstall...

To move around in swinstall:

- use the "Tab" key to move between screen elements
- use the arrow keys to move within screen elements
- use "Ctrl-F" for context-sensitive help anywhere in swinstall

On screens with a menubar at the top like this:

------------------------------------------------------
|File View Options Actions Help|
| ---- ---- ------- ------------------------------- ---|

- use "Tab" to move from the list to the menubar
- use the arrow keys to move around
- use "Return" to pull down a menu or select a menu item
- use "Tab" to move from the menubar to the list without selecting a menu item
- use the spacebar to select an item in the list

On any screen, press "CTRL-K" for more information on how to use the keyboard.

Press "Return" to continue...
â === SD Install - Software Selection (usplselux280) (1) â
â File View Options Actions Help â
â Press CTRL-K for keyboard help. â
â Source: â
â Target: â
â â
â All software is available for selection. â
â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â
â Top (Bundleâ Select Target Path (usplselux280) â â
â â â â â â â â â â â â â â â â â â â â â â â â â â
â â Target Host: usplselux280 â â
â â â â â â â â â â â â â â â â â â â â â â â â â
â â â [ Root Path... ] / â ^ â
â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â
â â â [[ OK ]] [ Cancel ] [ Help ] â â
â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â
â â â
â â â
â â â
â â â
â â v â
â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â
â â
â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â â
Fabio Ettore
Honored Contributor

Re: While doing DEPOT received error

Hi,

about your last question, just add a final \* as follows on swinstall:

swinstall -s /opt/depot/VSF.sd \*

Best regards,
Fabio
WISH? IMPROVEMENT!
SWPACKAGE error
Occasional Advisor

Re: While doing DEPOT received error

Fabio Ettore ,

Ya ..it's working..thanks a lot for your prompt reply

Regards.

RAJ
SWPACKAGE error
Occasional Advisor

Re: While doing DEPOT received error

Thanks a lot for your suuport & effort