- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gzip a large file question
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
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
тАО04-25-2002 01:28 PM
тАО04-25-2002 01:28 PM
gzip a large file question
unknown error, (this is very unhelpful), has anyone else out there seen this before and how can I work out what is going wrong.
Thanks
Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2002 01:33 PM
тАО04-25-2002 01:33 PM
Re: gzip a large file question
There is 2 gig limit. Here is the doc.
http://us-support.external.hp.com/cki/bin/doc.pl/sid=f4db301b102edc718a/screen=ckiDisplayDocument?docId=200000059774342
- Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2002 01:38 PM
тАО04-25-2002 01:38 PM
Re: gzip a large file question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2002 02:36 PM
тАО04-25-2002 02:36 PM
Re: gzip a large file question
Have you tried splitting it using the split command and then gzip'ng it ?
split -b
I would suggest splitting it by half ..
then:
mv xaa oracle_datfile_part1
mv xab oracle_datfile_part2
gzip oracle_datfile*
--------
Later to merge these ... just do:
gzip -d oracle_datfile*
cat oracle_datfile* > oracle_datfile
I haven't done this before, just a thought ...
Take a backup of this dat file if you have enough space, else don't try this method.
PS. Try only if you have enough space to back-up or if you cannot get the GNU zip for other company policy reasons
Thanks,
Shabu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2002 06:00 PM
тАО04-25-2002 06:00 PM
Re: gzip a large file question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2002 06:39 PM
тАО04-25-2002 06:39 PM
Re: gzip a large file question
http://hpux.cs.utah.edu/hppd/hpux/Gnu/
here's a good discussion about it :
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x426c50011d20d6118ff40090279cd0f9,00.html
Remember to ASIGN POINTS !!!!!!!!! :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2002 10:50 PM
тАО04-25-2002 10:50 PM
Re: gzip a large file question
why do you want to zip this export file?
Note: In newer Oracle-Versions (I just can't remember the exact release, somtething beyond 8.X) you can export into several files!
Bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2002 03:19 AM
тАО04-27-2002 03:19 AM
Re: gzip a large file question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2002 03:32 AM
тАО04-27-2002 03:32 AM
Re: gzip a large file question
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x96b70bce6f33d6118fff0090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x316efd3f91d3d5118ff40090279cd0f9,00.html
Great help in finding them:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1e6f84534efbd5118ff40090279cd0f9,00.html
and get the newest gzip here (mar 2002)
http://hpux.cs.utah.edu/hppd/hpux/Gnu/gzip-1.3.3/
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2002 01:18 PM
тАО04-27-2002 01:18 PM
Re: gzip a large file question
As everyone else mentioned already, gzip on HP-UX 11.00
is a 32 bit (PA-Risc 1.1) binary,
as far as I know it can't handle file sizes over 2GB.
Here is my 2 cents worth:
For the file you already have, use the following command:
dd if=Original_File bs=8192k | gzip -c | dd of=compressed_file bs=8192k
this should do the trick, the only downside is that of course the original file is not deleted as gzip usually does.
My Oracle exports are always compressed cause they are usually over 15 GB in which case I do this to have export compress it directly.
1) Create a FIFO (with mknod)
2) Make sure that your output file on exp.par points to that fifo.
3) Before running exp put a command similar to the one above on background, like this:
dd if=fifo_file bs=8192k | gzip -c | dd of=destination_file bs=8192k
4) run exp
this will export the database and compress in one fell swoop.
I find it very handy cause reading a 30 GB monster of tape can take a while just to recover a table.
BTW the compress ratio I get is 1/3.
Regards
Daniel Cristini