Operating System - HP-UX
1830509 Members
2492 Online
110006 Solutions
New Discussion

Re: cpio or tar for migrating file system with > 2Gb files

 
Roberto Volsa
Frequent Advisor

cpio or tar for migrating file system with > 2Gb files

Hello folks
i need to migrate a file system without the use of LVM Mirror.
The usual applicatio i use is cpio (from the local directory to duplicate i launch "find . | cpio -lvdump ).
This does not work with files grater than 2 Gb.
Is tar usefule for this purpose?

Thanks in advance
3 REPLIES 3
Robert-Jan Goossens
Honored Contributor

Re: cpio or tar for migrating file system with > 2Gb files

Hi,

GnuTar can create archives with files up to 8GB.

http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.19/

Robert-Jan
James R. Ferguson
Acclaimed Contributor

Re: cpio or tar for migrating file system with > 2Gb files

Hi Roberto:

If this is an HP-UX-to-HP-UX migration, use 'fbackup' and 'frecover'. These utilities handle largefiles without any issues:

# cd srcdir && fbackup -i . -f - | ( cd dstdir && frecover -Xsrf - )

Regards!

...JRF...
Steven Schweda
Honored Contributor

Re: cpio or tar for migrating file system with > 2Gb files

> GnuTar can create archives with files up
> to 8GB.

I can see that you haven't been following
this argument closely.

GNU "tar" can handle files of any practical
size. See, for example:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1176422

Sometimes, using that little "Search:" window
in these forum pages can save some time and
effort.

However, if you're staying on one OS, the
appropriate OS-specific tools (like fbackup
and frecover) are often the best choice.