- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to gzip a 2.5 GB file.
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
07-14-2005 03:10 PM
07-14-2005 03:10 PM
How to gzip a 2.5 GB file.
I am unable to open through "vi" as well unable to gzip the file. Its giving "Unknown Error" message.
the file size is 2.5 GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 03:50 PM
07-14-2005 03:50 PM
Re: How to gzip a 2.5 GB file.
If I remember correct there was a size limit in older versions of gzip. Try to install a more recents version. (link is below)
http://hpux.its.tudelft.nl/hppd/hpux/Gnu/gzip-1.3.5/
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 04:09 PM
07-14-2005 04:09 PM
Re: How to gzip a 2.5 GB file.
a compressed file cannot be edited with vi
file size doesn't matter if you compress pipewise
# gzip -9 < large_file > file.gz
GNU gzip has lifted the file size limit long ago. Get the newer version (1.3.5) from the link posted above, or from my site: http://mirrors.develooper.com/hpux/downloads.html where I have it available for HP-UX 10.20 through 11i
You can also compile it from source yourself. Get it at ftp://alpha.gnu.org/gnu/gzip/
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 05:11 PM
07-14-2005 05:11 PM
Re: How to gzip a 2.5 GB file.
vi won't be able to open such a huge file and add the fact that it is a compressed file. Try to get a newer version of gzip.
Regards,
Ira
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 05:21 PM
07-14-2005 05:21 PM
Re: How to gzip a 2.5 GB file.
No points for this post please.
Enjoy, Have FUN! H.Merijn [ who likes a clean forum with *solutions* to search for ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 08:22 PM
07-14-2005 08:22 PM
Re: How to gzip a 2.5 GB file.
are you sure it's a gzipped file?
With 'file
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 08:33 PM
07-14-2005 08:33 PM
Re: How to gzip a 2.5 GB file.
is it a text file?
if yes, you may also wish to "split" the file into multiple ones and use "vi" as you wish...
e.g.
split myfile output
then
vi output*
then when you reach end of the currrent file, switch to the next by doing:
"Esc"+":n"
hope this helps too!
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2005 07:33 AM
07-22-2005 07:33 AM
Re: How to gzip a 2.5 GB file.
It may not be an issue with largefiles being enabled in /etc/fstab.
Try splitting the file and gzip the splitted files.
Should be something like:
split -b1000000k $path/$file.tar $path/$file.tar_
/usr/contrib/bin/gzip -v $path/$file.tar_*
To restore the initial file, use cat file1 file2 >large_file after unzipping.
This should work.
Regards,
Alex