[Nagios-users] BUG: check_disk doesn't support LVM volumes

Martin J. Green mgreen-vY8stu4oZF/QT0dZR+AlfA at public.gmane.org
Mon Jul 31 18:01:36 CEST 2006


Think I might see the problem... look at the % used for the partitions
that don't work (its not a %)

M

-----Original Message-----
From: Martin J. Green 
Sent: 31 July 2006 16:57
To: 'Miles O'Neal'; nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org
Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org
Subject: RE: [Nagios-users] BUG: check_disk doesn't support LVM volumes

/ is the lvm volume and there's no hda1 (the machine has scsi disks in
hardware raid), but if I don't use *any* partition as an argument it
shows everything correctly (all partitions). I can also look at other
stuff like /dev/shm etc ok.

Output of df...

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol01
                     142965368  75163388  60422628  56% /
/dev/md0                101018     10525     85277  11% /boot
/dev/shm               3070648         0   3070648   0% /dev/shm
192.168.254.1:/storage/vm
                     1118120992 1020981088  39426400  97% /mnt/storage

And df -hP

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol01  137G   72G   58G  56% /
/dev/md0               99M   11M   84M  11% /boot
/dev/shm              3.0G     0  3.0G   0% /dev/shm
192.168.254.1:/storage/vm  1.1T  974G   38G  97% /mnt/storage

Oh and nfs mounts don't work either (again they show up when its passed
no partition as an argument, but try and check it on its own and it
doesn't work).

M

-----Original Message-----
From: Miles O'Neal [mailto:meo-C1bXjvKzYUtOSnsfY10OVw at public.gmane.org] 
Sent: 31 July 2006 16:53
To: Martin J. Green
Cc: Marc Powell; nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org;
nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org
Subject: Re: [Nagios-users] BUG: check_disk doesn't support LVM volumes

Martin J. Green said...
|
|Both -p & --partition have been tried. Whether I use
|/dev/VolGroup00/LogVol01 or /dev/mapper/VolGroup00-LogVol01 I get the
|same error

Do you have any non-RAID, non-LVM partitions
to try with check_disk on this system, to 
verify what's happening?  If so, does it work
correctly with those (either / or /dev/hda1.
or whatever)?

What is the output if you just type "df -hP"
from a command line?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list