- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: dmesg output
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
Forums
Discussions
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
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-09-2002 02:36 AM
08-09-2002 02:36 AM
dmesg output
I am getting the following output from dmesg -
vxfs: mesg 001: vx_nospace - /dev/vg00/lvol8 file system full (1 block extent)
/dev/vg00/lvol8 is /var and if I do a bdf it shows as 14% used.
/dev/vg00/lvol8 716800 96569 595023 14% /var
Please could someone explain why these messages occur and if I should be unduly concerned.
Many thanks
Keely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 02:52 AM
08-09-2002 02:52 AM
Re: dmesg output
Whenever a disk fills up you should be worried. But var and tmp are a little different as they are used for temporary files (/tmp and /var/tmp) so as long as they dont stay full I wouldnt be too worried - unless someone complains their job failed due to running out of space. You should definitely keep a closer eye on /var so that if its starting to fill up you can track who/what is doing it.
You also need to be concious that some files can be left open which means bdf wont update and even ls -l wont show the true size of a file - but dmesg and syslog could report a filesystem full condition. In this case tracking down the open file which is causing it is difficult. You can do a search on these forums for "open files" to see how to track these down.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 03:11 AM
08-09-2002 03:11 AM
Re: dmesg output
fuser -cu
to find which processes have files open for /usr/
perhaps a file was rm -f'd but still open by a process..
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 03:26 AM
08-09-2002 03:26 AM
Re: dmesg output
the bdf command uses statfsdev(3C) to get the file system statistics. If some unlinked but still open files would exist then the occupied space would be included in that statistics... so it is usually not possible that open files occupy space while bdf is showing that space as free.
Same for ls -l output. You see here the logical size of the file. The physical consumed space on disk can be only _less_ (in case of sparse files). So bdf cannot show too much free space here also.
I think the theory that the file system WAS full and is NOW free, is the most realic. A simple failed copy job with cleanup on failure whould show you the symptom.
You may simply check if the fs is full by trying to copy some stuff to it.
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 03:31 AM
08-09-2002 03:31 AM
Re: dmesg output
run the fsck command (previous umount) to fix any possible error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 04:20 AM
08-09-2002 04:20 AM
Re: dmesg output
To get a timestamp for dmesg, put this entry into root's crontab:
0,10,20,30,40,50 * * * * /usr/sbin/dmesg - >> /var/adm/dmesg.log
(be sure to put the - right after dmesg--this causes dmesg to append only new information) dmesg will also add a date for every new block of messages.
Now you can check /var/adm/dmesg.log to see when a particular error occurred. Remember to trim this log (and the others in /var/adm) on a regular basis.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 05:25 AM
08-09-2002 05:25 AM
Re: dmesg output
I downloaded lsof and had a look at fuser as suggested but as I'm not really sure how to interpret the results it wasn't a lot of help. RTFM of the man pages required!
The messages are output via a cron job, so they do have a time stamp. This particular machine doesn't do very much, it is used for the omniback cell manager, maestro and ITO. These messages have not come out again since so I can only assume I missed whatever was happening. I will jsut have to keep an eye on it.
Thanks for your help.
Cheers
Keely