Operating System - HP-UX
1748246 Members
3219 Online
108760 Solutions
New Discussion

Re: copy a disk to an other one

 
SOLVED
Go to solution
Spyros_
Advisor

copy a disk to an other one

Hi all,

 

I want to backup a disk (u11) to another with more space (u03). I made a folder with the name "fromu11" in u03 and i tried the command copy:

cp -rp /u11 /u03/fromu11

but i took an exceptionthat the file is too large to copy.

 

Is there an other way to do this, except to use tape or other external devices?

 

Thanks a lot.

 

Best Regards,

Spyros_

4 REPLIES 4
Dennis Handly
Acclaimed Contributor

Re: copy a disk to an other one

>I took an error that the file is too large to copy.

 

What was the exact error message?

Do you have largefiles enabled on the target filesystem?

What HP-UX version are you running?

Spyros_
Advisor

Re: copy a disk to an other one

Hi Dennis,

 

The error that i took was the path of the file and at the end that "the file is too large to copy".

My server run HP-UX 11.11.

Can you tell me how i can find if largefiles are enabled in my system?

 

Thanks for your reply

 

Best regards,

Spyros__

Dennis Handly
Acclaimed Contributor

Re: copy a disk to an other one

>The error that I got was the path of the file and at the end that "the file is too large to copy".

 

It didn't mention a particular file?

 

>Can you tell me how I can find if largefiles are enabled in my system?

 

Is it HFS or VXFS?  You can use fsadm to change it.

You can check the existing type by doing fsadm or fstyp:

http://h30499.www3.hp.com/t5/General/largefiles/m-p/4918703

Spyros_
Advisor
Solution

Re: copy a disk to an other one

Hi Dennis,

 

As i saw is VXFS.

 

Finally i found a solution. I compress all the files first with "tar" and then the "tar" file with "gzip".

 

Thanks a lot.

 

Best regards,

Spyros__