- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Disable dmesg vx_nospace alert
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
тАО07-23-2007 12:04 PM
тАО07-23-2007 12:04 PM
Disable dmesg vx_nospace alert
I have some file systems where it is normal for them to reach 100%. I have already taken them into consideration for my bdf monitoring script.
However, how do I disable vx_nospace alerts in dmesg for such FSs?
msgcnt 15 vxfs: mesg 001: vx_nospace - ...
Rgds,
Shah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2007 12:21 PM
тАО07-23-2007 12:21 PM
Re: Disable dmesg vx_nospace alert
You don't; you can't.
The 'dmesg' buffer holds critical alerts. A filesystem at 100% utilization is a critical event. You need to expand your filesytem capacity so that you do not reach this level. That, and only that, will "disable" the 'vx_nospace' message generation.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2007 01:26 PM
тАО07-23-2007 01:26 PM
Re: Disable dmesg vx_nospace alert
I appreciate the reason behind "You don't". But the nature of this filesystem is that the application will populate it up till max.
I have already asked the application vendor how this can be avoided, but their response is as above - the nature of this filesystem.
Rgds,
Shah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2007 01:31 PM
тАО07-23-2007 01:31 PM
Re: Disable dmesg vx_nospace alert
I forgot to add one more thing. Three of such application servers I inherited also have such file systems, but they do not generate the dmesg alerts for them - I cannot remember whether alerts for other FSs (eg. /var) gets generated.
This particular server is one installed during my time.
They are all running 11.11.
Rgds,
Shah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2007 01:48 PM
тАО07-23-2007 01:48 PM
Re: Disable dmesg vx_nospace alert
If you are concerned that the vx_nospace messages are rolling off the rest of your dmesg buffer, be sure to log dmesg using cron like this:
05,15,25,35,45,55 * * * * /usr/sbin/dmesg - >>/var/adm/dmesg.log
Now you won't lose any messages and the messages get a timestamp. Like any logfile, be sure to trim them regularly.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2007 02:06 PM
тАО07-23-2007 02:06 PM
Re: Disable dmesg vx_nospace alert
I only agree that the vendor should have provided a way to configure how much of the FS I want to let it grow up to.
You see, the FS is used like a cache, so it is my users' best interests that there be as much data in there as possible.
The app does not "request more space than is available". Once it is full, it will adopt some replacement algorithm.
Rgds,
Shah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2007 08:06 PM
тАО07-23-2007 08:06 PM
Re: Disable dmesg vx_nospace alert
>>The app does not "request more space than is available". Once it is full, it will adopt some replacement algorithm.
If that were true you would get one and only one vx_nospace message per filesystem as it filled up for the first time. The message is only written when a process requests more extents on the filesystem than are available - it isn't repeated until a process requests more extents again.
As this is a kernel message, there's no way to turn it off, so you will have to live with it. If you ISV can't 'fix' his code (and I would agree with Bill that this is a 'broken' implementation), the you're only option is to do as suggested and write out dmesg to a file - maybe you could filter out what you want to ignore - e.g. if your filesystem that is always full is on LV /dev/vg01/lvol1 you could do the following:
05,15,25,35,45,55 * * * * /usr/sbin/dmesg - | grep -v "vx_nospace - /dev/vg01/lvol1 " >>/var/adm/dmesg.log
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2007 09:00 PM
тАО07-23-2007 09:00 PM
Re: Disable dmesg vx_nospace alert
# dmesg -n4 sometimes stops the level 4 erorr meaaseges.
NOt sure.
regds
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2007 09:37 PM
тАО07-23-2007 09:37 PM
Re: Disable dmesg vx_nospace alert
I had thought that the dmesg alert appears at some interval as long as the FS is full, not whenever "a process requests more extents". If that were the case, then the application should be smarter by checking what is avail and not attempt to "request more".
So, allow me some time to monitor whether the alert gets repeated, as I do not expect space to be released by the app.
If it does not repeat, then I do not have to be concerned about this after all.
Till then, thanx.
Rgds,
Shah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2007 01:57 PM
тАО07-25-2007 01:57 PM
Re: Disable dmesg vx_nospace alert
Bill Hassell, sysadmin