1833790 Members
2923 Online
110063 Solutions
New Discussion

swpackage tape size

 
SOLVED
Go to solution
H.Merijn Brand (procura
Honored Contributor

swpackage tape size

Hard to choose a category. I just chose general.

I'm preparing gcc-4.0.0 depots, and the tape size seems to be ignored.

--8<---
swpackage -s gcc-4.0.0-32.psf -x distribution_target_serial=/data/gcc-4.0.0-32-11.00.sd -x media_type=tape -x reinstall_files_use_cksum=true -x media_capacity=29999

======= 04/23/05 19:34:39 METDST BEGIN swpackage SESSION

* Session started for user "merijn@a5".

* Source: a5:gcc-4.0.0-32.psf
* Target: a5:/data/gcc-4.0.0-32-11.00.sd
* Software selections:
*


* Beginning Selection Phase.
* Reading the Product Specification File (PSF)
"gcc-4.0.0-32.psf".
* Reading the product "gcc" at line 15.
* Reading the fileset "gcc-32-RUN" at line 39.
* Reading the fileset "gcc-32-INC" at line 54.
* Reading the fileset "gcc-32-MAN" at line 61.

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


* Beginning Analysis Phase.
* Analysis Phase succeeded.


* Beginning Package Phase.
* Packaging the product "gcc".
* Packaging the fileset "gcc.gcc-32-INC".
* Packaging the fileset "gcc.gcc-32-MAN".
* Packaging the fileset "gcc.gcc-32-RUN".
* Package Phase succeeded.


* Beginning Tapemaker Phase.
* Copying the temporary depot to the tape
"/data/gcc-4.0.0-32-11.00.sd".
* Calculating the tape blocks required to copy the temporary
depot to the tape "/data/gcc-4.0.0-32-11.00.sd".
NOTE: The temporary depot requires 266300 Kbytes, which exceeds the
capacity of the tape "/data/gcc-4.0.0-32-11.00.sd" (26367
Kbytes). Multiple tapes are necessary.
* Modifying the temporary depot to divide the software
selections across multiple tapes.
ERROR: The fileset "gcc.gcc-32-INC" will not fit on the tape
"/data/gcc-4.0.0-32-11.00.sd". The fileset requires 68606
Kbytes of tape space, but the tape provides only 26367 Kbytes.
The fileset requires a larger tape.

* Removing the temporary depot.

======= 04/23/05 19:35:07 METDST END swpackage SESSION
-->8---

HTF do I get the size so that it just does what I want?

I started with a combined depot (32 and 64 bit), but it started to complain about the size, so I split up. But it still complains

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
3 REPLIES 3
H.Merijn Brand (procura
Honored Contributor

Re: swpackage tape size

FWIW This *does* work on 11.11, so I can modify the psf to get the source from another location

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Ermin Borovac
Honored Contributor
Solution

Re: swpackage tape size

Doesn't the following command work on 11.00?

# swpackage -x media_type=tape -s /tmp/gcc.psf @ /tmp/gcc.depot
H.Merijn Brand (procura
Honored Contributor

Re: swpackage tape size

Yes it does. But the source of the problem was something else :(

With all my attempts to write depots, I just filled up the target volume, so there was no disk space left. I was justb overlooking that small but important fact.

swpackage -s gcc-400-1100.psf -x media_type=tape -x reinstall_files_use_cksum=true @ /data/gcc-4.0.0-11.00.sd

11.00 depot on the way up.

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn