BUG: check_disk doesn't support LVM volumes

Martin J. Green mgreen at altien.com
Mon Jul 31 17:56:56 CEST 2006


/ 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?

-------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin 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