[Nagiosplug-devel] check_disk Problem with Solaris Zones

Masopust, Christian christian.masopust at siemens.com
Sun Jul 11 16:25:17 CEST 2010


> Hi,
> 
> we have with a strange problem with check_disk combined with solaris zones.
> 
> check_disk running on the global zone sees all the filesystems inside the
> zones. if there are two equal mountpoints inside a zone and the global
> zone, we run into this problem.
> 
> check_disk thinks, that it has already seen the filesystem and overwrites
> the one found first with the second one. without -A everything runs fine
> and check_disk sees both filesystems.
> 
> e.g.
> 
> # df -h
> Filesystem             size   used  avail capacity  Mounted on
> ...
> /dev/md/dsk/d5          62G    34G    27G    56%    /zones
> /dev/md/dsk/d30        134G   102G    32G    77%    /abc
> ...
> 
> # zonecfg -z xyz info
> ...
> fs:
>         dir: /abc
>         special: /abc
>         raw not specified
>         type: lofs
>         options: []
> ...
> 
> # /tmp/check_disk -w 20% -c 10%
> DISK OK - free space: ... /zones 28134 MB (44% inode=87%); /abc 32768 MB
> (23% inode=76%); ... /zones/xyz/root/abc 32768 MB (23% inode=76%); ...
> 
> # /tmp/check_disk -w 20% -c 10% -A
> DISK OK - free space: ... /zones 28134 MB (44% inode=87%);
> /zones/xyz/root/abc 32736 MB (23% inode=76%); ...
> 
> If i want to filter out the zone filesystems with "-i /zones/" i need -A
> before to explicitly select all filesystems. that meens, that my
> filesystem from the global zone is "overwritten" with my zone filesystem
> and filtered out with "-i /zones/" :-( 
> 
> what's the right way to fix this problem?
> 
> best regards,
> michael

Hi all,

I have the same problem here on my Solaris 10.  Is there any news
about this problem? Or probably a solution?  :-))

Thanks,
Christian
 

___________________________________________________________

        Christian Masopust

        SIEMENS AG  SIS SDE SVI CON IPB
        Tel:   +43 (0) 5 1707 26866
        E-mail: christian.masopust at siemens.com
        Addr: Austria, 1210 Vienna, Siemensstraße 90-92, B. 33, Rm. 243

        Leader of the RUGA <http://www.rational-ug.org/groups.php?groupid=119> 

        Firma: Siemens Aktiengesellschaft Österreich, Rechtsform: Aktiengesellschaft, 
        Sitz: Wien, Firmenbuchnummer: FN 60562 m, 
        Firmenbuchgericht: Handelsgericht Wien, DVR 0001708 
        ___________________________________________________________







More information about the Devel mailing list