- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Had /var filesystem full. Where to look for afte...
Operating System - HP-UX
1758622
Members
2236
Online
108874
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО10-26-2006 06:11 AM
тАО10-26-2006 06:11 AM
HP UK 11.11 , LVM, online JFS. Had /var full for a few hours due to a rogue overnight print job. One very strange effect was that UID-to-name lookups by applications and system utilities returned blank usernames. Even "sendmail" was unable to verify a username and junked each mail item in turn.
We have restarted "sendmail", "syslogd" and "lpsched". Also repaired /usr/adm/wtmp which was badly corrupted by blank usernames in the first field!
The system appears healthy, but is there anywhere else to look for after-effects?
We have restarted "sendmail", "syslogd" and "lpsched". Also repaired /usr/adm/wtmp which was badly corrupted by blank usernames in the first field!
The system appears healthy, but is there anywhere else to look for after-effects?
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2006 06:39 AM
тАО10-26-2006 06:39 AM
Solution
As you have seen, /var is the most critical filesystem in HP-UX because so many processes depend on it. You can look in syslog and run dmesg to see if there are any other errors. But because so many logfiles are in /var/adm, it is possible that one or more daemons or programs quit because they could not write to the logs. A reboot is about the only guaranteed way to restart any stopped processes.
As you can see, notifications about full filesystems is critical, but preventing total failures is also important. I would str4ongly suggest creating new logical volumes for the following directories:
/var/spool/lp/request
/var/mail
/var/adm/sw
/var/tmp
/var/adm/crash
Then move the files from their current /var directories to the new volumes. Now, a rogue printer job, a flood of emails, installing new patches, users playing with the system or a system crash won't fill up /var, but instead a single subsystem (like email or printing) may be stopped but the rest of the system goes on.
Bill Hassell, sysadmin
As you can see, notifications about full filesystems is critical, but preventing total failures is also important. I would str4ongly suggest creating new logical volumes for the following directories:
/var/spool/lp/request
/var/mail
/var/adm/sw
/var/tmp
/var/adm/crash
Then move the files from their current /var directories to the new volumes. Now, a rogue printer job, a flood of emails, installing new patches, users playing with the system or a system crash won't fill up /var, but instead a single subsystem (like email or printing) may be stopped but the rest of the system goes on.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2006 07:18 AM
тАО10-26-2006 07:18 AM
Re: Had /var filesystem full. Where to look for after effects?
Thanks. Yery good advice. We'll schedule a reboot and review the filesystem layout. We'll also reconsider using Openview to monitor filesystem space (and syslog etc.) because it failed too and compounded the problem.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP