Operating System - HP-UX
1833848 Members
2305 Online
110063 Solutions
New Discussion

tar and gtar for long path

 
YCLee
New Member

tar and gtar for long path

Hi all,
I am trying to backup a directory(600GB).
Server : C8000 11.11i RAM:4G Swap:8GB
Tape driver : LTO3

I use tar for first try, but tar can not archive long path file to tape. GTAR can slove the long path problem, but I got a error mesg. "gtar :memory exhausted"
Is anyone know how to archive for long path? Thanks.
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: tar and gtar for long path

Shalom,

You are trying to exceed the size limits of tar/gtar.

The maximum archive size is 8 GB.

Try fbackup, it can do bigger files and it doesn't do them as one big tarball.

If this is not the cause then perhaps you don't have enough free memory for the job.

swapinfo -tam

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
A. Clay Stephenson
Acclaimed Contributor

Re: tar and gtar for long path

That same error message for gtar is emitted for several reasons so it is not obvious that it is related to pathname lengths -- though it could be. If you are determined to use tar the download the source from any of the HP-UX Porting Centre's and modify it -- but be warned that you would now have an incompatible version with anything other than your "improved" version.
If it ain't broke, I can fix that.