- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tar to support more than 2 GB
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2001 12:07 AM
тАО10-29-2001 12:07 AM
tar to support more than 2 GB
If not are there any work arounds?
Thanks for ur time.
Regards
Balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2001 12:18 AM
тАО10-29-2001 12:18 AM
Re: tar to support more than 2 GB
Tar have 2 gig limit:-
gzip the big file first see man gzip.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2001 12:19 AM
тАО10-29-2001 12:19 AM
Re: tar to support more than 2 GB
No, tar does not work with files larger than 1.99 GB.
As a workaround try fbackup/frestore in command line mode. From SAM it does not work with these large files.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2001 12:22 AM
тАО10-29-2001 12:22 AM
Re: tar to support more than 2 GB
tar, cpio, pax, ftio information is published in the largefiles white
paper but it not readily known that this is where the answer lies.
According to /usr/share/doc/lg_files.txt:
"4.2.1 tar, cpio, pax, ftio
Some of the backup commands, specifically tar, cpio, pax (tar & cpio
formats), and ftio (because it creates cpio format archives) are
restricted from supporting large files due to standards defined
headers in the archives. Although the headers allow archival of files
upto 8GB, there is no guarantee that there will be no attempt to
restore these files on a system that does not support large
files. These commands will therefore support files up to 2GB
only. Attempts to archive any files >2GB will fail, and the files will
not be added to the archive."
The fbackup command does support largefiles as well as the GNU backup
utils like GNUtar. GNUtar can be found at:
http://hpux.asknet.de/hppd/hpux/Gnu/tar-1.13.18
Regards
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2001 12:26 AM
тАО10-29-2001 12:26 AM
Re: tar to support more than 2 GB
tar does not support files larger than 2Gb. You should use fbackup or ar.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2001 05:06 AM
тАО10-29-2001 05:06 AM
Re: tar to support more than 2 GB
The limitations of support by 'tar', 'cpio' and 'pax' are well documented in their respective man pages:
"Because of industry standards and interoperability goals, [pax|tar|cpio] does not support the archival of files larger than 2GB or files that have user/group IDs greater than 60K. Files with user/group IDs greater than 60K are archived and restored under the user/group ID of the current process."
If you are dealing solely with HP servers, I'd use 'fbackup/frecover' to support >2GB handling.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2001 05:15 AM
тАО10-29-2001 05:15 AM
Re: tar to support more than 2 GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2001 05:35 AM
тАО10-29-2001 05:35 AM
Re: tar to support more than 2 GB
http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.13.22/
Although it will only be portable to other sites with GNU's tar, fbackup and frecover only work with hpux.
live free or die
hbrown
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2001 06:08 AM
тАО10-29-2001 06:08 AM
Re: tar to support more than 2 GB
tar does not support more than 2GB. Here is a link for more reading.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&con=/hpux/onlinedocs/B2355-90742/00/00/51-con.html&toc=/hpux/onlinedocs/B2355-90742/00/00/51-toc.html&searchterms=tar%20limit&queryid=20011029-060712
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=fe4f8eba01c861b856/screen=ckiDisplayDocument?docId=200000057034500
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=fe4f8eba01c861b856/screen=ckiDisplayDocument?docId=200000023740191
Hope this helps.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2001 06:48 AM
тАО10-29-2001 06:48 AM
Re: tar to support more than 2 GB
Shawn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2001 08:31 AM
тАО10-29-2001 08:31 AM
Re: tar to support more than 2 GB
Tar is limited to 2GB. One workaround
to that is to run a compress on the file
and then tar it; or if your intention is
to tar a whole directory, then run
compressdir on the directory and then
do a tar. Ofcourse, this is assuming that
after compress the data falls within the
2Gb limit.
HTH. Also, how about assigning points ?
-Raj