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
11-06-2009 09:03 PM
11-06-2009 09:03 PM
gzip
As far my knowledge gzip coomand zip the file and replaces xxx.gzip over original file.
But here it zip the file and keeps both files original and zipped file. so wastage of disk space.
My server is B.11.23
Pleas suggest on this..
Regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2009 09:08 PM
11-06-2009 09:08 PM
Re: gzip
What is your command? And don't use the -c option. Just 'gzip file'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2009 09:31 PM
11-06-2009 09:31 PM
Re: gzip
"man gzip" might extend your knowledge.
> But here [...]
Where is "here"?
> What is your command? [...]
A fair question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2009 01:31 PM
11-07-2009 01:31 PM
Re: gzip
gzip toto
will first open a toto.gz then compress outputing to toto.gz, and if there is no error
remove toto
so at a time toto and toto.gz size must be available
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2009 01:35 PM
11-07-2009 01:35 PM
Re: gzip
gzip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2009 08:02 PM
11-07-2009 08:02 PM
Re: gzip
Thanx for your responses and sorry for my delayed response.
Actually issue is not with OS side.Everyday syncing and splitting is happening between PROD and Backup servers.During this time file will be overwritten in backup server from prod server.But some files are not overwritten,only appeneded.
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2009 09:03 PM
11-07-2009 09:03 PM
Re: gzip
Perhaps you should start by explaining
exactly what you're doing, and then exactly
what you see happening.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2009 12:32 AM
11-08-2009 12:32 AM
Re: gzip
does a normal rm works (not -f) of the file you have zipped (from same server, user) as the zip command is running.
besides the mounting/privilages cause I do not know if there can be someting els.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2009 11:29 AM
11-08-2009 11:29 AM
Re: gzip
I am not sure if there is an option for deleting the original file after compressing it ,but you can create a script that compress the file ,then deletes the original file ,like:
gunzip
rm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2009 12:00 AM
11-09-2009 12:00 AM
Re: gzip
yes you are correct gzip compress the file and then remove the original one, but while compressing the file it will consume the double size on the device, when it compress successfully then it will remove the original file and only xxx.gzip file remain.
you can check:-
just create a temporary file and gzip them after zipped the file try to call that one it will never list with the original file.
Please correct me if I am wrong. :)
Regards,
Rahul Rai.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2009 12:12 AM
11-09-2009 12:12 AM
Re: gzip
Hopefully not double. :-)
You can check this by using tusc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2009 12:58 AM
11-13-2009 12:58 AM
Re: gzip
yes you are wright not double :-), thx for correction.
Regards,
Rahul Rai.