Software Distributor Administration Guide for HP-UX 11i
Creating Software Packages
Packaging Tasks and Examples
Chapter 10366
Writing to Multiple Tapes
When you package products to a distribution tape, the media_capacity
option defines the size of the tape media (in one million byte units). The
default value for this option is media_capacity=1330, which is the size
of an HP DDS tape. If the target tape is not a DDS tape, you must specify
the media_capacity value.
NOTE The capacity of the DDS tape is in one million byte units (1,000,000
bytes), not Mbyte units (1,048,576 bytes). Most tape drive manufacturers
specify capacity in one-million byte units.
If the products being packaged require more space than the specified
media capacity, swpackage will partition the products across multiple
tapes.
To find out if multiple tapes will be required, swpackage will calculate
the tape blocks required to store the depot catalog and each product’s
contents.
When multiple tapes are necessary, swpackage writes the entire catalog
onto the first tape plus any product contents that also fit. For each
subsequent tape, swpackage prompts you for a “tape is ready” response
before continuing.
To continue with the next tape, enter one of the following responses:
Return Use the same device.
pathname Use the new device/file
pathname
.
quit Terminate the write-to-tape operation.
Partitioning is done at the fileset level, so a product can span multiple
tapes. A single fileset’s contents cannot span multiple tapes. If any single
fileset has a size that exceeds the media capacity, swpackage generates
an error and terminates. It also generates an error if the catalog will not
fit on the first tape.