- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Filesystem utilization does not join after pur...
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
12-20-2002 08:05 PM
12-20-2002 08:05 PM
Filesystem utilization does not join after purging files
I have a strange problem that after I purge a huge files within a directory....the size of that filesystem does not drop !! I am thinking to unmount or reboot the system....and I am sure the space will be released. (Operating System - 10.x)
However, the system is running in 24 x 7 mode...so just wondering if there is another workarounds ?
Could you tell me the reason(s) for the symptom ? Is that we should not trust the output of "df" ? If so, any other command reflect the true picture ?
Much appreciated for your advice.
Cheers,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 08:13 PM
12-20-2002 08:13 PM
Re: Filesystem utilization does not join after purging files
Your best bet is to see who may still be accessing the filesystem that the file was in. You can do an 'fuser -cu /mountpoint name' to see who all is accessing that mount point.
Another way would be to use 'lsof' to look at the processes and the files they are using. Once you identify the process you can kill it if need be.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 10:33 PM
12-20-2002 10:33 PM
Re: Filesystem utilization does not join after purging files
Since you already found the files, you have done 75-90% of the work already. If fuser does not give you a process, (it happens) lsof will definitely do it for you. My boss just spend most of an evening chasing files on a system, moving stuff around, etc. (/ had filled up do a couple very naughty files in the FS)
If you are just lazy, schedule a reboot. If you find the process causing the trouble and find it can't be killed, is a system process, etc. You may be stuck rebooting anyway, but 9 times out of 10, you'll get the FS utilization down and be the hero.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 10:35 PM
12-20-2002 10:35 PM
Re: Filesystem utilization does not join after purging files
Since you already found the files, you have done 75-90% of the work already. If fuser does not give you a process, (it happens) lsof will definitely do it for you. My boss just spend most of an evening chasing files on a system, moving stuff around, etc. (/ had filled up do a couple very naughty files in the FS)
If you are just lazy (temporarily or otherwise), on vacation, in a hurry, etc., schedule a reboot. If you find the process causing the trouble and find it can't be killed, is a system process, etc. You may be stuck rebooting anyway, but 9 times out of 10, you'll get the FS utilization down and be the hero.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 10:40 PM
12-20-2002 10:40 PM
Re: Filesystem utilization does not join after purging files
Since you already found the files, you have done 75-90% of the work already. If fuser does not give you a process, (it happens) lsof will definitely do it for you. My boss just spend most of an evening chasing files on a system, moving stuff around, etc. (/ had filled up do a couple very naughty files in the FS)
If you are just lazy (temporarily or otherwise), on vacation, in a hurry, etc., schedule a reboot. If you find the process causing the trouble and find it can't be killed, is a system process, etc. You may be stuck rebooting anyway, but 9 times out of 10, you'll get the FS utilization down and be the hero.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 10:45 PM
12-20-2002 10:45 PM
Re: Filesystem utilization does not join after purging files
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 11:11 PM
12-20-2002 11:11 PM
Re: Filesystem utilization does not join after purging files
fuser -cu
or by using lsof.
What kind of file is that?
I used to face the same problem with one of the application process.
Stopping and starting the process would also suffice.
If you do not have lsof get it from
64 bit
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf58885079106d71190050090279cd0f9,00.html
32 bit
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.61/
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 09:03 AM
12-21-2002 09:03 AM
Re: Filesystem utilization does not join after purging files
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 05:49 PM
12-21-2002 05:49 PM
Re: Filesystem utilization does not join after purging files
fuser -cuk /fsname
Its a sledgehammer, and if there is a legitmate user of that filesystem, like an oracle database, you'll hear glass crash right after you do it.
Steve
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com