- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var at 94%
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
03-29-2004 10:40 AM
03-29-2004 10:40 AM
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol7 2097152 1961993 126791 94% /var
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 10:46 AM
03-29-2004 10:46 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 10:51 AM
03-29-2004 10:51 AM
Re: /var at 94%
# cd /var
# du -sk * | sort -n
Concentrate on the last 5-10 directories to clean up.
Look for /var/adm/crash. If this is not a seperate filesystem than /var then probably you would have some old crash dumps in the directory. You can remove them.
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 11:30 AM
03-29-2004 11:30 AM
Re: /var at 94%
Run the following command:
# du -ak /var | sort -nr |more
This will give a list of all the files in the descending order of size.
You can indentify the big size unnecessary files. The following activities can be done:
Trim it, Move it to some other filesystem or Remove it if not required at all.
Files of interest are:
/var/mail/root
/var/adm/syslog/mail.log
/var/adm/syslog/OLDsyslog.log
/var/adm/wtmp
etc...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 11:34 AM
03-29-2004 11:34 AM
Re: /var at 94%
/var/spool
/var/adm/sw (sw logs and reduce them)
/var/adm/wtmp
/var/adm/btmp
/var/tmp
/var/stm/logs (one of my least favourites)
cleanup -c 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 12:04 PM
03-29-2004 12:04 PM
Re: /var at 94%
2GB is kind of small for /var these days...
Take a look in /var/adm/crash as well....
vgdisplay -v vg00 to see if any space left in the vg...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 12:21 PM
03-29-2004 12:21 PM
Re: /var at 94%
#cleanup -p -c 2 (See man pages for detail)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 04:44 PM
03-29-2004 04:44 PM
Re: /var at 94%
If this was the first time you patched DP there will be only one "generation" of backup copies and you cannot and should not remove them. If you have patched DP previously or any other patching for that matter, you can remove "older" backup copies with 'cleanup -c 1'. I would reccomend running it in preview mode (-p) first.
Other than that it is the old routine of tmp-, spool-, mail- and log-files.
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2004 05:29 PM
03-29-2004 05:29 PM
Re: /var at 94%
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2004 09:59 PM
03-30-2004 09:59 PM
Re: /var at 94%
U can find out large files using following command
find /var -xdev -size +10000000c -exec ll {} \;
And the remove/zip large log files.
Also you can cleanup some old patches using "cleanup" command.
Cheers
Shyjith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 03:50 AM
03-31-2004 03:50 AM
Re: /var at 94%
It's probably /var/adm/sw/save. If you've never cleaned it up, there are probably hundreds of megs of saved data there from where you installed patches. You can clean it up, or if you want to save all this stuff for some reason, you can make another filesystem, move the data there, then make a link from /var/adm/sw/save.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 04:05 AM
03-31-2004 04:05 AM
Re: /var at 94%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 04:07 AM
03-31-2004 04:07 AM
Re: /var at 94%
If you have a resolution of those failures, you can remove the old dumps.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2004 05:31 PM
03-31-2004 05:31 PM
Re: /var at 94%
# vgdisplay vg00
If available extend the file system
#lvextend -L 2048+extended(MB) /dev/vg00/lvol7
If you already have Online JFS installed then run
#fsadm -b {2048+extendedMB}M /var
Anand