- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- File System Full /var
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
тАО12-11-2005 09:41 PM
тАО12-11-2005 09:41 PM
File System Full /var
We've a machine where in it shows 100% file system usage for /var file system thro' bdf command, but actually if you go in to the /var directory and do a du -sk of each files and folders, doesn't appears to be using all the space allocated to /var file system.
Ex: /var is a 2GB file system.
du -sk under /var shows the disk space utilized to be around 600MB and odd. So what could be the problem here and where is the remaining space allocated to /var getting utilized?
Thanks in Advance for your Answers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2005 09:43 PM
тАО12-11-2005 09:43 PM
Re: File System Full /var
You can cleanup the follwing directories
/var/tmp
/var/adm/crash
Look for core files in /var
find /var -name core* -print
Cleanup also this files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2005 09:47 PM
тАО12-11-2005 09:47 PM
Re: File System Full /var
when files that are in use are deleted , the space it occupied still remaines "in use".
did you remove (log)files under /var ?
if yes , thy to find out which processes were connected to the files. stop and restart these processes and space will have been free-ed.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2005 10:09 PM
тАО12-11-2005 10:09 PM
Re: File System Full /var
/var/adm/btmp
/var/adm/sulog
/var/adm/wtmp
/var/adm/cron/log (and OLDlog)
/var/adm/lp/log
/var/adm/syslog/maillog
/var/adm/syslog/syslog.log
or if you're feeling brave you could null them on the command line (I prefer to trim because you still have the most recent messages available to refer to). Do NOT delete any of these files.
You've already been given a good answer regarding the discrepancy between bdf and du so I won't repeat it.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2005 10:20 PM
тАО12-11-2005 10:20 PM
Re: File System Full /var
Regards
Jay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2005 10:21 PM
тАО12-11-2005 10:21 PM
Re: File System Full /var
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2005 11:55 PM
тАО12-11-2005 11:55 PM
Re: File System Full /var
I think you have a rouge process running on /var.
1. check the df -i and see you have free inodes, which you will have many.
2. do fuser -cu /var and know the process. Just kill those.
3. Sometimes it may require to shutdown and start the application that uses var (which you get it from fuser)
on killing / stopping and starting the application you will find it fine.
cheers ...007
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 12:22 AM
тАО12-12-2005 12:22 AM
Re: File System Full /var
Dear Harsha,
It may be being used as the temporary space by any of the running process.
Hope this helps !
With Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 02:30 PM
тАО12-12-2005 02:30 PM
Re: File System Full /var
First of all, you need to assign point to everyone who takes time help you:
http://forums1.itrc.hp.com/service/forums/publicProfile.do?userId=CA614859&forumId=1
In order to cleanup the /var filesystem, as above ideas, you can remove content of /var/preserve/
#rm -f /var/preserve/*
This directory contain all of vi editor recover files.
You can check out for all large files in /var:
find /var -xdev -type f -size +1000 -exec ll {} \;
If can not remove any large file, you need to extend /var filesystem!
Goodluck!
Hoang Chi Cong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2005 04:57 PM
тАО12-13-2005 04:57 PM
Re: File System Full /var
I did a work around to sort out the disk space issue. I'd moved the /var/adm/sw/save directory to a filesystem where I'd enough space and linked to the new location. I didn't found any core files not any log files of huge size to remove or trim.After I'd requested for a restart as the machine was residing in a remote place and it's a pre-production server. Finally the system is up and running fine without any problems.
Thanks Again for your precious time in answering to my question.
Regards,
-Harsha-