Can't get rpool filesystem from Solaris Zone

Issue #751 new
Eric Gillingham created an issue

If you have a LDOM or root system mounting a drive that gets exported to a Solaris zone, monit fails to get filesystem information.

The check:

check filesystem rootfs with path /
    if space usage > 80% then alert
    if service time > 300 milliseconds for 5 cycles then alert

Output from monit -vI:

Mount notification: change detected
cannot open 'rpool': no such pool
Filesystem '/' not mounted
'rootfs' unable to read filesystem '/' state
Sending Does not exist notification to ...
Trying to send mail via ...:25
'rootfs' trying to restart
'rootfs' stop skipped -- method not defined
'rootfs' start method not defined

Some maybe useful information about the mount and system

% mount | grep "/ "
/ on rpool/export/zones/rpm-zone3 read/write/setuid/devices/rstchown/nonbmand/exec/xattr/atime/dev=401000a on Fri Jan 26 13:28:48 2018
% df -h /
Filesystem                    Size  Used Avail Use% Mounted on
rpool/export/zones/rpm-zone3   10G  2.9G  7.2G  29% /

% uname -a
SunOS rpm-zone3 5.10 Generic_150400-59 sun4v sparc sun4v Solaris

% monit -V
This is Monit version 5.25.2
Built with ssl, with ipv6, with compression, with pam and with large files
Copyright (C) 2001-2018 Tildeslash Ltd. All Rights Reserved.

Comments (0)

  1. Log in to comment