Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cpio too large to archive in current mode 1

Status
Not open for further replies.

MP498T

MIS
Mar 14, 2001
15
GB
I've encountered a problem with a cpio backup I'm trying to perform to tape.

the code is
Code:
find filename $* -print | cpio -ocvmB > /dev/rmt/0c

The error message I get is;

cpio: cpio: filename: too large to archive in current mode

The file is 2.8Gb but tape capacity is certainly big enough as we save more than 2.8Gb to it regularly but the file sizes are never more than 1.6Gb.

What am I missing?

Jason.
 
man largefile

might be possible to get a cpio that is largefile aware though ...
 
hmm actually ... cpio should be able to handle up to 8Gb - 1 byte ...

which version of solaris are you using?
 
I'm running Solaris 7.

I just throw this in but could it be the block size? There is a -C option (instead of -B) that allows you to define a block size.

Jason.
 
umm, possibly ... but it seems mildly unlikely.

best answer is probably to try it.
 
Tried the -C option with double the block size (10240), got the same error :-(

Is it likely to be something that got patched later on in Solaris 7's life, I know I haven't apllied any patches to this server, and there's no record anyone else having done so.

The interesting/annoying thing is a file of 2.1Gb is backed up fine using the same command, so why not a 2.8Gb?

Jason.
 
not the fileSIZE but NAME is loo large.
it's reported in man pages
try gnu-cpio, tar, dd or ufsdump.
:) vox clamantis in deserto.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top