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

Martin J. Green mgreen at altien.com
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 at lists.sourceforge.net
Cc: nagiosplug-help at lists.sourceforge.net
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 at intrinsity.com] 
Sent: 31 July 2006 16:53
To: Martin J. Green
Cc: Marc Powell; nagios-users at lists.sourceforge.net;
nagiosplug-help at lists.sourceforge.net
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?




More information about the Help mailing list