- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 2 GByte limit with gzip or TAR
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
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
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
01-17-2007 07:48 PM
01-17-2007 07:48 PM
i tried to backup some lvol's to a second harddisk (parallel to using IGNITE)
i found that i can't create a TAR bigger than 2 GB. also gzip will stop at 2GB file size.
i use
TAR cvf /backup/data1-20070111.tar /data1
and
GZIP /backup/data1-20070111.tar
or
GZIP -r --fast /backup/data1-20070111.tgz /data1/*
i'm using hpux 1020
is there an update ? file sys is VxFS
or a better tool
thanks peter
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2007 08:01 PM
01-17-2007 08:01 PM
Re: 2 GByte limit with gzip or TAR
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2007 08:09 PM
01-17-2007 08:09 PM
Re: 2 GByte limit with gzip or TAR
once you have enabled largefile on your system:
fsadm -F vxfs -o largefiles /mount-point
This should resolve the problem.
With your unsupported version of OS however, you may also want to look at the version of tar/gzip you are running. Earlier versions of tar could only process upto 2Gb files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2007 08:24 PM
01-17-2007 08:24 PM
Re: 2 GByte limit with gzip or TAR
1) largefiles option should be enabled
you can check it:
fstyp -v /dev/
If you want enable it,
#fsadm -o largefiles /mount_point
(OnllineJFS is required for online change)
2)The native tar in HPUX will not work with files bigger than 2GB. You can use GNU tar (http://hpux.connect.org.uk/hppd/hpux/)
good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2007 09:02 PM
01-17-2007 09:02 PM
SolutionIf each file is < 2 Gb, then if you send the tar output to a pipe, then gzip would work. Provided the total compressed size is < 2 Gb, or you have a gzip that handles large files.
tar cvf - /data1 | gzip > /backup/data1-20070111.tar.gz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2007 09:38 PM
01-17-2007 09:38 PM
Re: 2 GByte limit with gzip or TAR
for combatibility reasons be have only 10.20 running
are there elsewhere an 10.20 depot port of the actual GNUTAR ??
http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.15.1/
only for hpux11.11.... ;-(
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2007 11:34 PM
01-17-2007 11:34 PM
Re: 2 GByte limit with gzip or TAR
blocksperrecord 4096
records 64
checkpointfreq 4096
readerprocesses 6
maxretries 5
retrylimit 5000000
maxvoluses 200
filesperfsm 2000
---------------------------------------------
Example for a complete backup starting at / (root):
fbackup -i / -v -c config-file -f /dev/rmt/0m
Display the tape header with dates:
frecover -V - -f /dev/rmt/0m
Display the table of contents:
frecover -I - -f /dev/rmt/0m
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2007 12:45 AM
01-18-2007 12:45 AM
Re: 2 GByte limit with gzip or TAR
valuable comment
thanks, rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2007 06:05 PM
01-18-2007 06:05 PM
Re: 2 GByte limit with gzip or TAR
anyway, the GNU tools (gnu tar and g(nu)zip all handle +2GB fine by default).