- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- .gz file too large to uncompress
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
тАО01-12-2003 03:31 PM
тАО01-12-2003 03:31 PM
So I tried to import directly from the .gz file and that failed as well.
Is there some way to get around this error?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2003 05:29 PM
тАО01-12-2003 05:29 PM
Re: .gz file too large to uncompress
When you unzip or decompress a file, you need the the amount of disk space availble for both the zipped file and the unzipped file, until the unzip has completed.
Suggest you either create more space where your doing it, or use a different filesystem to do the unzip.
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2003 06:46 PM
тАО01-12-2003 06:46 PM
Re: .gz file too large to uncompress
One way around it might be to use the gzcat utility and pipe the output directly into the Oracle import command, assuming that the import command is happy working just with standard input and not with a file.
Something like this:
gzcat
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2003 08:14 PM
тАО01-12-2003 08:14 PM
Re: .gz file too large to uncompress
Is the file crossing the 2GB limit.
If so then enable largefiles on that file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2003 08:21 PM
тАО01-12-2003 08:21 PM
Re: .gz file too large to uncompress
fasadm /dev/vg00/rlvol4
replace /vg00/rlvol4 according to your file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2003 08:23 PM
тАО01-12-2003 08:23 PM
Re: .gz file too large to uncompress
fsadm /dev/vg00/rlvol4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2003 11:22 PM
тАО01-12-2003 11:22 PM
Re: .gz file too large to uncompress
I don't think the HP-UX gzip is capable of handling large files.
Try GNU gzip (freeware).
Jochen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2003 11:22 PM
тАО01-12-2003 11:22 PM
Re: .gz file too large to uncompress
http://hpux.asknet.de/hppd/hpux/Gnu/gzip-1.3.3/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2003 11:23 PM
тАО01-12-2003 11:23 PM
Re: .gz file too large to uncompress
We have had these problems as well.
Try to do this :
cat file.dmp.gz | gunzip > file.dmp
Your file system should be ablte to handle large files ( > 2 GB ).
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2003 02:54 AM
тАО01-13-2003 02:54 AM
Re: .gz file too large to uncompress
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2003 03:03 AM
тАО01-13-2003 03:03 AM
Solutionyou can also try this to prevent the oracle dump files to exceed 2GB, hence multiple files which can esily be extracted.
use export to a PIPE and have compress and split read the pipe. The result is a couple of 500meg compressed files that consistute the export. At 500meg, any utility can deal with this files and can be moved around easier.
Here is the CSH script use to show you how it is done. It does a full export and then tests the integrity of the export by doing a full import show = y. that gives a file with all of my source code and ddl to boot.
#!/bin/csh -vx
setenv UID /
setenv FN exp.`date +%j_%Y`.dmp
setenv PIPE /tmp/exp_tmp_ora8i.dmp
setenv MAXSIZE 500m
setenv EXPORT_WHAT "full=y COMPRESS=n"
echo $FN
cd /nfs/atc-netapp1/expbkup_ora8i
ls -l
rm expbkup.log export.test exp.*.dmp* $PIPE
mknod $PIPE p
date > expbkup.log
( gzip < $PIPE ) | split -b $MAXSIZE - $FN. &
#split -b $MAXSIZE $PIPE $FN. &
exp userid=$UID buffer=20000000 file=$PIPE $EXPORT_WHAT >>& expbkup.log
date >> expbkup.log
date > export.test
cat `echo $FN.* | sort` | gunzip > $PIPE &
#cat `echo $FN.* | sort` > $PIPE &
imp userid=sys/o8isgr8 file=$PIPE show=y full=y >>& export.test
date >> export.test
tail expbkup.log
tail export.test
ls -l
rm -f $PIPE
------------ eof -------------------------
Hope this helps too!
Best Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2003 03:17 AM
тАО01-13-2003 03:17 AM
Re: .gz file too large to uncompress
That does help -- it is a lot easaier when the usual commands work then others won't have the same problem in a pinch.
Thank you,
Jane