1832646 Members
2746 Online
110043 Solutions
New Discussion

Re: Copying large files

 
Paul Rohde
Advisor

Copying large files

Running HP-UX 11.11
I have been using cpio to move small files (less than 2GB)from one filesystem to another (online backup). Now the files are more than 2GB. What option do I have for moving these large files. Does CPIO have a patch to support large files, if not what copy tools support large files.
10 REPLIES 10
Ken Hubnik_2
Honored Contributor

Re: Copying large files

I would suggest using NFS and copy.
OR look into using rdist.
Helen French
Honored Contributor

Re: Copying large files

One option is to use 'fbackup' instead of cpio. You can copy files larger than 2GB with fbackup and frecover method.
Life is a promise, fulfill it!
Ravi_8
Honored Contributor

Re: Copying large files

Hi

For large files fbackup and frecover are the preferred tols
never give up
David_246
Trusted Contributor

Re: Copying large files

man fbackup :

With release 10.20, HP-UX supports large files (greater than 2GB) and
increased UID/GIDs (greater than 60,000). Archives containing files
with these attributes would cause severe problems on systems that do
not support the increased sizes. For this reason, fbackup creates
tapes with a new magic number ("FBACKUP_LABEL"). This prevents
fbackup tape archives from being restored on pre-10.20 HP-UX systems.
frecover still reads both tape formats so that fbackup tape archives
created on pre-10.20 HP-UX systems can be restored.
@yourservice
Helen French
Honored Contributor

Re: Copying large files

Here is a document and a simple fbackup command for you(TKB #KBRC00011131):
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065450723
Life is a promise, fulfill it!
Patrick Wallek
Honored Contributor

Re: Copying large files

You could also look into getting the latest tar patch which enables largefiles, up to 8GB, access for tar. The latest tar cumulative is PHCO_26423.

http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_26423&context=hpux:800:11:11
Dietmar Konermann
Honored Contributor

Re: Copying large files

# pax -rw /fromdir /todir

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
John Palmer
Honored Contributor

Re: Copying large files

Hi,

Why not simply use cp?

Regards,
John
Dietmar Konermann
Honored Contributor

Re: Copying large files

Hmmm... (searching for an argument) ... pax restores sparse files as sparse. :-)
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
MANOJ SRIVASTAVA
Honored Contributor

Re: Copying large files

You can also use ftp , pax



Manoj Srivastava