- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk 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
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
тАО08-11-2003 06:44 AM
тАО08-11-2003 06:44 AM
Disk space
Silly question, I've had this before but for the life of me I can't remember what the problem is. I have my /var filesystem full. I delete some large files but bdf still shows 100% although du shows 87%. What is it that is still holding on to the space?
Thanks,
Simon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 06:49 AM
тАО08-11-2003 06:49 AM
Re: Disk space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 06:52 AM
тАО08-11-2003 06:52 AM
Re: Disk space
Stoping and restarting the appropriated programs would probably clean it up .
So if (for instance) you trimmed the syslogd files and that was where the problem was, you'd do:
/sbin/init.d/syslogd stop
wait about 10 seconds then do:
/sbin/init.d/syslogd start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 06:52 AM
тАО08-11-2003 06:52 AM
Re: Disk space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 06:53 AM
тАО08-11-2003 06:53 AM
Re: Disk space
There are some processes keeping /var occupied, best thing is to reboot your server.
You can try using lsof if you can find the process wich keeps /var full, but there are a lot of processes using /var.
Regards,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 06:56 AM
тАО08-11-2003 06:56 AM
Re: Disk space
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 06:56 AM
тАО08-11-2003 06:56 AM
Re: Disk space
du will show the space as clear.
To identify the processes using:
# fuser -cu /var
To kill all open processes on /var:
# fuser -cuk /var
To check the result now:
# bdf
# du -ks /var
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 07:02 AM
тАО08-11-2003 07:02 AM
Re: Disk space
Man 2 unlink for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 07:05 AM
тАО08-11-2003 07:05 AM
Re: Disk space
# man fuser
# man lsof
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2003 10:58 AM
тАО08-11-2003 10:58 AM
Re: Disk space
Cheers for the replies, it all makes sense, especially the details of unlink(). A reboot sorted the problem but fuser rings a bell about how we solved the problem before so we should be OK for the future (unless of course I forget again!).
Thanks,
Simon.