Operating System - HP-UX
1825768 Members
2010 Online
109687 Solutions
New Discussion

Is cpio can handle filesystems greater than 2 Gb?

 
SOLVED
Go to solution
Ricky_4
Frequent Advisor

Is cpio can handle filesystems greater than 2 Gb?

Hi All,

Somebody provides me a cpio command to move oracle and applications binaries and also oracle datafiles to the new storage. But I'm worried if cpio can handle filesystem greater than 2 Gb.

Please see the command below:
cd /old/directory
find . [.!] * | cpio -pudlmv /new/directory

Regards,

Adriatico
3 REPLIES 3
Steven E. Protter
Exalted Contributor
Solution

Re: Is cpio can handle filesystems greater than 2 Gb?

It would appear not.

http://www.linuxquestions.org/questions/archive/14/2002/07/2/25216

Maybe gnu tar

http://www.gnu.org/software/tar/manual/html_node/tar_135.html

http://www.uoks.uj.edu.pl/resources/flugor/IRIX/XFSspecs.html

Read the patch list for cpio, they may have extended it to 8 GB there.

http://www1.itrc.hp.com/service/patch/search.do

You'll need to install the patch though.

I'd say the earlier solutions provided by Sri and I would work better.

fbackup ships with the OS and certainly handles larger filesiezes.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Patrick Wallek
Honored Contributor

Re: Is cpio can handle filesystems greater than 2 Gb?

As long as a SINGLE FILE is not larger than 2GB you should be OK. The filesystem size does not make any difference (how else could cpio write to a multi-GB tape?).
Sยภเl Kย๓คг
Respected Contributor

Re: Is cpio can handle filesystems greater than 2 Gb?

cpio cannot handle large sized files.If your filesystem contains files which sized above 2 GB cpio will not help you.If your filesystem doesn't have larger files u can use it,dosn't matter what is the filesystem size.ie. Filesystem can be of any size.Since your file system consists of oracle DB files,chances are high to have big files.
Use du or ls -l to check for larger files.


regards
SK
Your imagination is the preview of your life's coming attractions