Hi Folks,

I used the chance to upgrade my boxes and ran into one big issue now:

I use nagios to monitor my disks, the setup is done like follows:

* I have one partition per vserver guest
* the partition is mounted into the guest via the guests fstab (/dev/drbd/www1 /data ext3 defaults 0 0)

I used "vnamespace -e <xid> check_disk www1" which runs a nagios script in the namespace of the guest. The nagiso script basically runs a "mount" and greps the output.

Now, ergh - what happens:

Old behaviour:
                   Kernel: 2.6.15.4-vs2.1.1-rc6-gentoo
                   VS-API: 0x00020001
             util-vserver: 0.30.210; Feb 17 2006, 22:32:37


box$ vnamespace -e www2 mount
...lot of mounts on the root box....
/dev/drbd/www2 on /vservers/www2/data type ext3 (rw,nodev,data=ordered)
tmpfs on /vservers/www2/dev type tmpfs (rw)
none on /vservers/www2/proc type proc (rw,nodiratime,nodev)


New behaviour:
                   Kernel: 2.6.20-vs2.2.0-gentoo
                   VS-API: 0x00020200
             util-vserver: 0.30.212; Apr  9 2007, 02:27:57

box$ vnamespace -e www1 mount
...lot of mounts on the root box....
tmpfs on /vservers/wwwtemplate/dev type tmpfs (rw,size=100k)
tmpfs on /vservers/netqmail/dev type tmpfs (rw,size=100k)

The drbd mount is missing, though the nagios script fails.....


Any ideas ???

Oliver
--
Diese Nachricht wurde digital unterschrieben
oliwel's public key: http://www.oliwel.de/oliwel.crt
Basiszertifikat: http://www.ldv.ei.tum.de/page72
_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to