1847672 Members
4085 Online
110265 Solutions
New Discussion

Re: large files

 
Fadia Almarei
Super Advisor

large files

Dear All

I want to do backup for large file (> 2GB) using tar, I install the patch that support large files(PHCO_32438),but the backup did not suceed,what could be the reason for this,and how to solve this.

BR,
fadia.marei
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: large files

Shalom Fadia,

Its probably the filesystem you are making the tar on.

fsadm can be used to convert the filesystem to largefiles.

If you are 11.00 or below you need to mount a filesystem formatted with largefiles with the largefiles parameter in fstab. This requirement was dropped in 11i v1.

If you can do the filesystem over, umount it and use newfs -F vxfs -o largefiles /dev/rlvol6 to in an example do a new filesystem with largefiles.

WARNING: last command is destructive of data.

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
Fadia Almarei
Super Advisor

Re: large files

my system is hp-ux 11.11,and the file system I do the backup from is the /home/oracle.
fadia.marei
Darrel Louis
Honored Contributor

Re: large files

Hi,

Does your Filesystem support largefiles:
fsadm /home/oracle

If not, do the following:
fsadm -F vxfs -o largefiles /home/oracle
for more info do a man fsadm_vxfs.

Goodluck

Darrel
A. Clay Stephenson
Acclaimed Contributor

Re: large files

Are you trying to backup files larger than 8GB; that is the limit even with the non-standard, patched version of tar.
If it ain't broke, I can fix that.
Jan de Haas_3
Frequent Advisor

Re: large files

Don't forget to mount the filesystem with the 'largefiles' option as well.

You can check with what options the filesystem was created using :
mkfs -m

Fadia Almarei
Super Advisor

Re: large files

I do the backup for this large file on a tape, but it does not work
fadia.marei
Devender Khatana
Honored Contributor

Re: large files

Hi,

What is the size of the file? And what is the error you are getting?

Even with patch the tar will be limited to a file size of 8gb.

HTH,
Devender
Impossible itself mentions "I m possible"
Fadia Almarei
Super Advisor

Re: large files

it is 2306875392 byte,and when I try to do the backup for it,it gives me

tar: Size of ard01.dbf > 2GB. Not dumped.
fadia.marei
Devender Khatana
Honored Contributor

Re: large files

Hi,

There are a few other options as well to be used for this problem. Find these in this thread

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

Even after the patch installation if this is the error then possibally the patch was not installed properly or could have been corrupted filesets. A close look at the patch installation logs would halp in finding the real issue.

HTH,
Devender
Impossible itself mentions "I m possible"