Operating System - HP-UX
1832882 Members
2583 Online
110048 Solutions
New Discussion

Re: swpackage : file too large error

 
SOLVED
Go to solution
Jitendra_1
Trusted Contributor

swpackage : file too large error

Hi all,

This one is breaking my head.
System: A500 , HP-UX 11.00 September 2001 patches.

I am trying to create a software depot using swpackage. I created a psf file with all the details and the fired this command :
swpackage -v -s /u05/ora.psf -x media_capacity=4000 -x media_type=tape @ /u05/ORACLE.depot

After some time I get an error :

ERROR: Write to serial depot file failed. File too large (27).
ERROR: Cannot write the file:
"/u02/app/oracle/oradata/BV01/system01.dbf" to the tape
target.
ERROR: Failed to write the software object: "fileset contents" to the
output tape file.


The file in question is 283 MB large , I dont think that should be any problem. There is 8GB free space in /u05 and it is largfile enabled. I tried on another logical volume also /u06 which is set for a PE size of 16MB instead of the 8MB fro /u05.

Please help...



The full output of this command is as follows:

======= 10/10/01 11:01:24 PDT BEGIN swpackage SESSION

* Session started for user "root@global39.cup.hp.com".

* Source: global39:/u05/ora.psf
* Target: global39:/u06/ORACLE.depot
* Software selections:
*


* Beginning Selection Phase.
* Reading the Product Specification File (PSF) "/u05/ora.psf".
* Reading the product "Oracle" at line 19.
* Reading the fileset "RUN" at line 32.

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


* Beginning Analysis Phase.
* Analysis Phase succeeded.


* Beginning Package Phase.
* Packaging the product "Oracle".
* Packaging the fileset "Oracle.RUN".
* Package Phase succeeded.


* Beginning Tapemaker Phase.
* Copying the temporary depot to the tape "/u06/ORACLE.depot".
* Calculating the tape blocks required to copy the temporary
depot to the tape "/u06/ORACLE.depot".
NOTE: The temporary depot requires 3071740 Kbytes on the tape
"/u06/ORACLE.depot".
* Writing the tape "/u06/ORACLE.depot" (tape 1 of 1).
* Writing the fileset "Oracle.RUN" (1 of 1)
ERROR: Write to serial depot file failed. File too large (27).
ERROR: Cannot write the file:
"/u02/app/oracle/oradata/BV01/system01.dbf" to the tape
target.
ERROR: Failed to write the software object: "fileset contents" to the
output tape file.

* Removing the temporary depot.

======= 10/10/01 11:14:49 PDT END swpackage SESSION
Learning is the Key!
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor
Solution

Re: swpackage : file too large error

Hi Hemant:

It appears that this is a known problem event for filesystems with 'largefiles' enabled. See Technical Knowledge Base document #S3100008873.

In part, the document notes, "You cannot swpackage a depot larger than 2 GB to a tape because SD-UX does not currently support largefile packaging of depots over 2 GB.
As a work-around, you can use tar (or a similar command) to put the depot onto the tape."

See the full document for more information.

Regards!

...JRF...
Jitendra_1
Trusted Contributor

Re: swpackage : file too large error

Thanks James.
I guess I have to revert to tar now.

Thanks again.
Learning is the Key!