HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with DF
Operating System - HP-UX
1834458
Members
2925
Online
110067
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
04-15-2004 01:53 AM
04-15-2004 01:53 AM
df is incorrectly reporting disk space The only way around this is to reboot, is there another way?
This problem doesn't happen all the time, but I have seen it with two of our customers.
As an example a partision will be showing 95% used, aftre restart it drops to 25% used.
Any Ideas?
This problem doesn't happen all the time, but I have seen it with two of our customers.
As an example a partision will be showing 95% used, aftre restart it drops to 25% used.
Any Ideas?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 01:58 AM
04-15-2004 01:58 AM
Re: Problem with DF
You can identify the and kill the process holding the space open.
fuser -cu /filesystem
kill proccesses
or kill them all
fuser -cuk /filesystem
This command is dangerous and can crash applications. It should be used only as a last resort.
SEP
fuser -cu /filesystem
kill proccesses
or kill them all
fuser -cuk /filesystem
This command is dangerous and can crash applications. It should be used only as a last resort.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
04-15-2004 02:16 AM
04-15-2004 02:16 AM
Re: Problem with DF
df is working fine. When you restart, programs that have temporary files open will be terminated and the space returns. Since there is a large amount of space that is recovered, use the du command to map the directory by size:
du -kx /my_dir | sort -rn > /var/tmp/du.log
Run this when /my_dir is almost full and then again (into a different file) after a reboot. Now compare the two listings. The directory with the biggest difference will be the location of the temp file(s). Use ll to sort the contents by size:
ll /my_dir/big_dir | sort -rnk5 | head
As before, run the ll command on the suspect directory before and after a reboot.
Bill Hassell, sysadmin
du -kx /my_dir | sort -rn > /var/tmp/du.log
Run this when /my_dir is almost full and then again (into a different file) after a reboot. Now compare the two listings. The directory with the biggest difference will be the location of the temp file(s). Use ll to sort the contents by size:
ll /my_dir/big_dir | sort -rnk5 | head
As before, run the ll command on the suspect directory before and after a reboot.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 03:06 AM
04-15-2004 03:06 AM
Solution
Hi Abi,
The reason you might be seeing the problem with reporting free space is because there is a process that has locked up space on the filesystem or a large file used by the process was deleted and the space was not freed up. Instead of rebooting if you can identify the process and just restart the process, it will drop the utilization back to normal levels.
We run into this type of situation very often and lsof is a big help over there. You can download lsof from this link if you want,
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.70/
Hope this helps.
Regds
The reason you might be seeing the problem with reporting free space is because there is a process that has locked up space on the filesystem or a large file used by the process was deleted and the space was not freed up. Instead of rebooting if you can identify the process and just restart the process, it will drop the utilization back to normal levels.
We run into this type of situation very often and lsof is a big help over there. You can download lsof from this link if you want,
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.70/
Hope this helps.
Regds
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP