- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: File System Continually going Full
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
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
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
тАО05-08-2009 06:58 AM
тАО05-08-2009 06:58 AM
File System Continually going Full
We have an RX7640 running 11.31 and the /home (lvol5)filesystem is always going full. However it only stays full for a few seconds and then it is cleaned up again. We are not able to investigate fast enough to find out what is causing the file system to fill. The syslog and dmesg provide no information, is there another log we can look into or a flag to turn on so that this type of information is captured in syslog?
Thanks
Andrew Pollard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2009 07:08 AM
тАО05-08-2009 07:08 AM
Re: File System Continually going Full
When its full:
du -k | sort -rn | more
The /home file system is normally where users home directory is located. So it could be a user 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
тАО05-08-2009 07:22 AM
тАО05-08-2009 07:22 AM
Re: File System Continually going Full
Another thing to look for is if any of the users have set their TMPDIR variable and point it to their home directory. If this happened anything that utilizes the TMPDIR setting (vi and elm are two common programs that do this) would save everytjhing back in /home.
Other things to try is to run ps or du listings via cron to find out what is running when the filesystem fills up but it may not be easy. At least the du commands will create a lot of unecessary i/o load.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2009 07:22 AM
тАО05-08-2009 07:22 AM
Re: File System Continually going Full
Yes we have tried that, we even created an automatic action in Openview to run the du command once the alerts appears and that template runs every 10 seconds but whatever file is causing the file system to fill is being removed just as quickly as it appears and we can never get any good information from the du.
Thanks
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2009 07:26 AM
тАО05-08-2009 07:26 AM
Re: File System Continually going Full
If you can, then can you check for any automated (or cron'd) jobs running around that time?
Or next it time it happens, see who's logged in and/or running something? The issue may have cleared, but the "culprit" may be the person still logged in.
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2009 08:16 AM
тАО05-08-2009 08:16 AM
Re: File System Continually going Full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2009 08:19 AM
тАО05-08-2009 08:19 AM
Re: File System Continually going Full
watch -d ssh server du -sk /home/*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2009 09:00 AM
тАО05-08-2009 09:00 AM
Re: File System Continually going Full
Try to use fuser in order to see the users which open files on the file system.
Run something like this:
if [ $(bdf /home| awk 'NR>1 {print $(NF-1)}' | sed 's/%//') -gt 90 ] ; then
fuser -cu /home >> /var/logfile
fi
If number of users is not too big, you can log out them and find the criminal
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2009 10:40 AM
тАО05-08-2009 10:40 AM
Re: File System Continually going Full
Maybe you can use disk quotes on the users in the /home directory. This might not resolve what keeps filling it up. But it should stop it from filling up the directory completely.
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 04:13 AM
тАО05-13-2009 04:13 AM
Re: File System Continually going Full
Andrew Pollard