- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tar is not working with a file more than 8GB
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
тАО05-09-2008 06:41 AM
тАО05-09-2008 06:41 AM
tar is not working with a file more than 8GB
Please advise me on what to do to make tar backup and compress files that are more than 8GB.
Regards,
Berenger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2008 07:11 AM
тАО05-09-2008 07:11 AM
Re: tar is not working with a file more than 8GB
Make smaller files.
tar had to be patched to get up to the 8 GB file limit. I know of no versions that will make files bigger than that.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2008 07:16 AM
тАО05-09-2008 07:16 AM
Re: tar is not working with a file more than 8GB
try gnu tar (gtar) , you need to download and install this freeware on your system
Regards,
Javed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2008 07:25 AM
тАО05-09-2008 07:25 AM
Re: tar is not working with a file more than 8GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2008 07:41 AM
тАО05-09-2008 07:41 AM
Re: tar is not working with a file more than 8GB
Actually, tar can **CREATE** files of any size.
The HP-UX native tar cannot **READ/ARCHIVE** files that are larger than 8GB in size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2008 09:56 AM
тАО05-09-2008 09:56 AM
Re: tar is not working with a file more than 8GB
it's up to version 1.20 now.
http://www.gnu.org/software/tar/
The problem with "tar" was a quirky (and
limited) format for storing file sizes. One
relatively simple change squeezed a few more
bits in to get from 2GB to 8GB. The next
(even less compatible) change switched from
ASCII octal digits to raw binary, which
should be good for a while.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2008 12:34 AM
тАО05-11-2008 12:34 AM
Re: tar is not working with a file more than 8GB
You can use fbackup instead of tar. If the archive is to be moved to another OS, then as SEP said make the file smaller.
Use split command to split the large file to smaller sizes; then use tar and gzip and move the file to destination server. Unzip and untar it there; then cat the split files to the original one.
If the original file is 10000MB file; you could split it to two 5000MB files as below:
split -b5000m mylargefile
[it will create two 5000Mb files called xaa & xab] ;
tar/gzip and move to the destination host.
untar/gunzip, you will get back the xaa/ab
cat x* > mylargerfile
Regards,
Rasheed Tamton.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2008 12:44 AM
тАО05-11-2008 12:44 AM
Re: tar is not working with a file more than 8GB
tar support lesser than 2GB size for backup
if u want more more than 2GB use fbackup
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2008 05:07 AM
тАО05-11-2008 05:07 AM
Re: tar is not working with a file more than 8GB
GNU "tar" has no such limitation. Not at
2GB, not at 8GB. (It handles long file
names, too.)
Yes, there are many ways to work around the
limitations of an old "tar" program, but, as
I said, the _easy_ way is to use a better
"tar" program, like, say, GNU "tar".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2008 06:47 AM
тАО05-11-2008 06:47 AM
Re: tar is not working with a file more than 8GB
> Rasheed: You can use fbackup instead of tar.
Beware that this is fine if your copy is going to be from HP-UX and to HP-UX (only!). 'fbackup' and 'frecover' are HP-UX ONLY.
As Steven said, the GNU tar doesn't have an 8GB limitation. As an open-source tool you could easily install it on any UNIX/LINUX necessary, too. Thus, it is one avenue that you might want to explore.
A better definition of your environments and requirements would lead to better, more definitive solutions.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2008 05:49 PM
тАО05-11-2008 05:49 PM
Re: tar is not working with a file more than 8GB
May be you can consider using cpio command.
Go to top directory to be backup.
find . -depth |cpio - pvdm /dir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2008 12:54 AM
тАО05-12-2008 12:54 AM
Re: tar is not working with a file more than 8GB
A quick look at cpio(1) shows:
WARNINGS
Because of industry standards and interoperability goals, cpio does not support the archival of files larger than 2 GB or files ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2008 03:15 AM
тАО05-12-2008 03:15 AM
Re: tar is not working with a file more than 8GB
>If the archive is to be moved to another OS, then as SEP said make the file smaller.