Disk Enclosures
cancel
Showing results for 
Search instead for 
Did you mean: 

copying more than 2GB(disk to disk)

SOLVED
Go to solution
mehul_3
Regular Advisor

copying more than 2GB(disk to disk)

Hi there!
I am going to implement a hot backup(oracle9i Database)on hp-ux11i server.
I was getting stuck when I copied a file from disk to disk which is greater than 2GB and an individual datafile size is of appr. 25GB.
Is there any way/solution to copy an individual file more than 2GB.
I can use fbackup to copy directly to tape but could not be appended the contents to previous backup.

Any help is greately appreciated.

T & R
Mehul

5 REPLIES
Saurav_1
Valued Contributor

Re: copying more than 2GB(disk to disk)

Mehul,

Check out whether your destination Filesystem allows files bigger than 2Gig. File /etc/fstab has option as largefiles.
If not you will not be able to copy your Files bigger than 2 Gig.

following is the entry in /etc/fstab
/dev/vg01/lvol10 /opt/install vxfs rw,suid,largefiles,delaylog,datainlog 0 2

more over when you create a new filesystem during creation you should mention

#newfs -F vxfs -o largefiles /dev//rlvol1

then mount it with the above given options in /etc/fstab.

cp -rp will help you the best.
Devender Khatana
Honored Contributor

Re: copying more than 2GB(disk to disk)

Hi,

It seems that largefiles options is not set on the file system where you are copying your files. Check /etc/fstab for the option as mentioned earlier. Also if not set you can set this option online using

#fsadm -F vxfs -o largefiles /dev/vgxx/lvolyy

HTH,
Devender
Impossible itself mentions "I m possible"
Sandman!
Honored Contributor

Re: copying more than 2GB(disk to disk)

you could always use the dd command.

#dd if= of=

enjoy!
mehul_3
Regular Advisor

Re: copying more than 2GB(disk to disk)

I do agree with the dd command but I would like to copy entire directory structure with subdirectory and files into which it resides
e.g say I wants to copy /u01/gdbs/datafiles to /u05/hotbackup

Any idea!

T & R
Mehul
Saurav_1
Valued Contributor
Solution

Re: copying more than 2GB(disk to disk)

Mehul,

We have been doing it on our servers using cp -rp . Full filesystem move. Please confirm whether your dest. Filesystem allows files bigger that 2GB. Check in fstab and characteristics given by Devender