AIXThis forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've a file which is of size 25GB,but the free space in that mount point is 11GB,can i compress that file without any problem,by just having free space of 11GB?The platform is AIX.
Please someone give me the answer as soon as possible.
It depends. If the file will compress to less than 11 GB the answer is yes. However 11 GB for a 25 GB requires better than 2 to 1 compression (2 to 1 would require 12.5 GB). If the files has a lot of blank space and is flat ascii then it will give you very high compression. If however it is densely packed data you may not even get 2 to 1 compression. In some odd cases files get larger when compressed (for example a tar file that itself contained several compressed files would grow if you tried to compress it).
Trying the compression shouldn't hurt anything (except filling the filesystem) as it doesn't impact the original file until after the compression is complete. I'd open two windows. Start the compress in one and watch the space utilization in the other. If it gets to 99% without completing the compression kill the compress job to prevent it going to 100%. At the kill it will remove what it has done so far and return you to the 11 GB free and leaving your original 25 GB file as is.
If you have another filesystem with more space you can try moving the file there. Then do the compress. The move the compressed file back to the original filesystem (which should have 36 GB free after your original move).
Last edited by MensaWater; 06-17-2006 at 10:08 AM.
If you were to get the 25gigs to fit to 11, then once the compression is done, good luck finding the space to uncompress in a month or so when you've started eating up the 25 gigs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.