OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: gromit on March 29, 2023, 09:42:02 PM

Title: Monit RootFs service stopped working: "unable to read filesystem '/' state"
Post by: gromit on March 29, 2023, 09:42:02 PM
Since about release 23.1.2 I have been getting complaints from the Monit service about the RootFs service not working.  The e-mail is as follows:

Does not exist Service RootFs

Date:        Wed, 29 Mar 2023 17:07:23
Action:      restart
Host:        my.opnsense.host
Description: unable to read filesystem '/' state

Your faithful employee,
Monit


This still doesn't work as of the recent 23.1.5 update.

I am running OPNsense 23.1.5 on a ZFS-based install.  The install was bootstrapped from a FreeBSD install via opnsense-bootstrap.  It does have a ZFS file system mounted on /, so I'm not sure how to interpret the "unable to read filesystem '/' state" message.

Is anyone else experiencing this?  If so, is there a fix?  For now, I have disabled the service check so I don't get spammed with Monit e-mails about this service failing.  I would like to have the check working, though.
Title: Re: Monit RootFs service stopped working: "unable to read filesystem '/' state"
Post by: franco on March 29, 2023, 10:27:26 PM
It looks like RootFs doesn't know how to handle ZFS or it forgot?

> community/23.1/23.1.2:o ports: monit 5.33.0[6]

# opnsense-revert -r 23.1.1 monit

Better?


Cheers,
Franco
Title: Re: Monit RootFs service stopped working: "unable to read filesystem '/' state"
Post by: Mks on May 20, 2023, 05:02:24 PM
Hi,

same issue here.
I also disabled the check so far.

br