- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: compression not releasing space
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
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
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
тАО06-21-2006 04:55 PM
тАО06-21-2006 04:55 PM
From y'day we ar compressing the files using gzip. I could see that the files are being reduced frpm 30 Gb to 5 GB. However available space in the that particular volume is not increasing. Could anyone throw light what could be the reason.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 05:37 PM
тАО06-21-2006 05:37 PM
Re: compression not releasing space
Do you have lsof on your system.
Use lsof to see which PID isn't releasing the inode.
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 06:00 PM
тАО06-21-2006 06:00 PM
Re: compression not releasing space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 06:05 PM
тАО06-21-2006 06:05 PM
Re: compression not releasing space
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.77/
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 06:06 PM
тАО06-21-2006 06:06 PM
Solutionlsof is useful and you should get a copy.
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.77/
What is happening is that the gzip process is not closing its file handle or closing at all.
You can use the fuser -u or fuser -cu command to see what processes are open in the folder.
Then you can carefully kill them until the space is released.
gzip may simply not be finishing. It needs to keep two copies of the data until its done.
If the original file is 30 GB and the compressed one is going to be 8 GB it needs 38 GB of space on the filesystem to complete the zip process.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 06:25 PM
тАО06-21-2006 06:25 PM
Re: compression not releasing space
I could not see the two copies of a particular file. There is only the compress file.
It has removed it but not released its space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 06:41 PM
тАО06-21-2006 06:41 PM
Re: compression not releasing space
# lsof
sh: lsof: not found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 07:32 PM
тАО06-21-2006 07:32 PM
Re: compression not releasing space
You can go to /usr/local/bin/
and execute lsof
# cd /usr/local/bin
# ./lsof -i -U
(To list all open Internet, and UNIX files,
(see the man page for details )
you can also use the find command to locate where lsof is located:
# find / -name lsof -print
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2006 11:27 PM
тАО06-21-2006 11:27 PM
Re: compression not releasing space
type lsof
It should report lsof's location. If not, your login is not processing /etc/profile (common with Xwindows or strange shells like csh).
Bill Hassell, sysadmin