- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tar -xzf equiv Problems with pipes in HP-UX
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
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
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
тАО11-30-2006 02:01 PM
тАО11-30-2006 02:01 PM
[root@rx2600 working]$gunzip -c \
/working/B.11.23_archive.gz | tar -xf -
/working/B.11.23_archive.gz: Value too large to be stored in data type
Tar: blocksize = 0; broken pipe?
This seems to work with small files.
A pipe isn't suppose to store all of what it is being fed. Its suppose to send it through to the other program hence the name pipe. What is going on.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2006 02:05 PM
тАО11-30-2006 02:05 PM
Re: tar -xzf equiv Problems with pipes in HP-UX
Try this:
gzcat /working/B.11.23_archive.gz | tar -xf -
I have used the above successfully on gzip files of more than 1GiB in size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2006 02:11 PM
тАО11-30-2006 02:11 PM
Re: tar -xzf equiv Problems with pipes in HP-UX
/working/B.11.23_archive.gz.files: Value too large to be stored in data type
Tar: blocksize = 0; broken pipe?
Same issue I really think its a problem with pipes in HP-UX and if it is how do I report this bug? This is most definitely a breaking of POSIX. This works for a small file but not for an ignite backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2006 02:21 PM
тАО11-30-2006 02:21 PM
Re: tar -xzf equiv Problems with pipes in HP-UX
[root@rx2600 test]$ echo test > test.txt
[root@rx2600 test]$ tar -cf - test.txt | gzip -f - > test.tar.gz
[root@rx2600 test]$ rm test.txt
[root@rx2600 test]$ gzcat test.tar.gz | tar -xf -
[root@rx2600 test]$ cat test.txt
test
mine also worked
[root@rx2600 test]$ rm test.txt
[root@rx2600 test]$ gunzip -c test.tar.gz | tar -xf -
[root@rx2600 test]$ cat test.txt
test
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2006 02:36 PM
тАО11-30-2006 02:36 PM
Re: tar -xzf equiv Problems with pipes in HP-UX
B.11.23_archive.gz: Value too large to be stored in data type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2006 02:48 PM
тАО11-30-2006 02:48 PM
Re: tar -xzf equiv Problems with pipes in HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2006 03:22 PM
тАО11-30-2006 03:22 PM
Solution> issue.
Apparently. So, what are you using for
"gunzip"/"gzcat"/"gzip"?
There's a reference to a 1.3.x version of
"gzip" which is supposed to be large-file
capable, at:
http://www.gzip.org/
I haven't done much with gzip and large
files, but it's also just possible that it
would work if gzip never actually saw the
file. For example:
cat archive.gz | gzip -cd | tar -xf -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2006 03:36 PM
тАО11-30-2006 03:36 PM
Re: tar -xzf equiv Problems with pipes in HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2006 03:43 PM
тАО11-30-2006 03:43 PM
Re: tar -xzf equiv Problems with pipes in HP-UX
If that was meant to imply that "cat" made
the difference, blame a Google search for:
gzip "Value too large to be stored in data type"
There seems to be a bunch of useful info on
this new inter-web thing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2006 03:50 PM
тАО11-30-2006 03:50 PM
Re: tar -xzf equiv Problems with pipes in HP-UX
hmm thats odd I googled the same and got only japanese stuff that I couldn't read.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2006 04:19 PM
тАО11-30-2006 04:19 PM
Re: tar -xzf equiv Problems with pipes in HP-UX
If this is over 2 Gb, then the problem is with the non-supported gunzip. Unless a newer version supports large files??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2006 05:15 AM
тАО12-05-2006 05:15 AM