Re: filesystem statistic error: cannot read /sys/dev/block/0:0/stat

"[email protected]" <[email protected]> Tue, 11 Nov 2025 09:18:46 +0100
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
--Apple-Mail=_BF8D3CE7-8D1B-419A-9ED0-789095A8E47D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

We didn't test with glusterfs-fuse mount points before. We'll try to =
reproduce the problem.

Please can you try to change the test this way?:

	check filesystem PEOPLE_SYSDATA path "10.1.1.99:/PEOPLE_SYSDATA"
	  start program =3D "/usr/bin/systemctl start =
PEOPLE_SYSDATA.mount"
	  stop program  =3D "/usr/bin/systemctl stop =
PEOPLE_SYSDATA.mount"


Best regards,
Martin


> On 10. 11. 2025, at 11:24, lejeczek via This is the general mailing =
list for monit <[email protected]> wrote:
>=20
> I tried that, it did not tell me much, I did not get it.
>=20
> -> $ monit -vI 2>&1 | __grepColorIt '0:0/stat'
> ...
> Reloading mount information for filesystem '/PEOPLE_SYSDATA'
> filesystem statistic error: cannot read /sys/dev/block/0:0/stat -- No =
such file or directory
> 'PEOPLE_SYSDATA' succeeded getting filesystem statistics for =
'/PEOPLE_SYSDATA'
> ...
> Reloading mount information for filesystem '/PEOPLE_SYSDATA'
> filesystem statistic error: cannot read /sys/dev/block/0:0/stat -- No =
such file or directory
> 'PEOPLE_SYSDATA' succeeded getting filesystem statistics for =
'/PEOPLE_SYSDATA'
> ...
>=20
> it shows up in the company of /PEOPLE_SYSDATA but that is - but I have =
a few of those - a glusterfs-fuse mount point:
>=20
> 10.1.1.99:/PEOPLE_SYSDATA /PEOPLE_SYSDATA fuse.glusterfs =
rw,relatime,user_id=3D0,group_id=3D0,allow_other,max_read=3D131072 0 0
>=20
> Here is monit for it:
>=20
> check filesystem PEOPLE_SYSDATA path /PEOPLE_SYSDATA
>   start program =3D "/usr/bin/systemctl start PEOPLE_SYSDATA.mount"
>   stop program  =3D "/usr/bin/systemctl stop PEOPLE_SYSDATA.mount"
>=20
> monit is 5.33.0
> What am I missing?
> thanks, L.


--Apple-Mail=_BF8D3CE7-8D1B-419A-9ED0-789095A8E47D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html aria-label=3D"message body"><head><meta http-equiv=3D"content-type" =
content=3D"text/html; charset=3Dus-ascii"></head><body =
style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; =
line-break: after-white-space;"><div>We didn't test with glusterfs-fuse =
mount points before. We'll try to reproduce the =
problem.</div><div><br></div><div>Please can you try to change the test =
this way?:</div><div><span style=3D"font-size: =
small;"><br></span></div><div><span style=3D"font-size: small;"><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>check =
filesystem PEOPLE_SYSDATA path "</span><span style=3D"font-size: =
small;"><b><font =
color=3D"#ff2600">10.1.1.99:/PEOPLE_SYSDATA</font></b>"</span></div><div><=
span style=3D"font-size: small;"><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>&nbsp; start program =3D =
"/usr/bin/systemctl start PEOPLE_SYSDATA.mount"</span></div><div><span =
style=3D"font-size: small;"><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>&nbsp; stop program&nbsp; =3D =
"/usr/bin/systemctl stop =
PEOPLE_SYSDATA.mount"</span></div><div><br></div><div><br></div><div>Best =
regards,</div><div>Martin</div><div><br =
id=3D"lineBreakAtBeginningOfMessage"><div><br><blockquote =
type=3D"cite"><div>On 10. 11. 2025, at 11:24, lejeczek via This is the =
general mailing list for monit &lt;[email protected]&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div>

 =20
    <meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3DUTF-8">
 =20
  <div>
    <font size=3D"2" face=3D"Courier 10 Pitch">I tried that, it did not =
tell
      me much, I did not get it.<br>
      <br>
      -&gt; $ monit -vI 2&gt;&amp;1 | __grepColorIt '0:0/stat'<br>
      ...<br>
      Reloading mount information for filesystem '/PEOPLE_SYSDATA'<br>
      filesystem statistic error: cannot read /sys/dev/block/0:0/stat --
      No such file or directory<br>
      'PEOPLE_SYSDATA' succeeded getting filesystem statistics for
      '/PEOPLE_SYSDATA'<br>
      ...<br>
      Reloading mount information for filesystem '/PEOPLE_SYSDATA'<br>
      filesystem statistic error: cannot read /sys/dev/block/0:0/stat --
      No such file or directory<br>
      'PEOPLE_SYSDATA' succeeded getting filesystem statistics for
      '/PEOPLE_SYSDATA'<br>
      ...<br>
      <br>
      it shows up in the company of&nbsp;<b>/PEOPLE_SYSDATA</b>&nbsp;but =
that is -
      but I have a few of those - a glusterfs-fuse mount point:<br>
      <br>
      10.1.1.99:/PEOPLE_SYSDATA /PEOPLE_SYSDATA fuse.glusterfs
      rw,relatime,user_id=3D0,group_id=3D0,allow_other,max_read=3D131072 =
0 0<br>
      <br>
      Here is monit for it:<br>
      <br>
      check filesystem PEOPLE_SYSDATA path /PEOPLE_SYSDATA<br>
      &nbsp; start program =3D "/usr/bin/systemctl start =
PEOPLE_SYSDATA.mount"<br>
      &nbsp; stop program&nbsp; =3D "/usr/bin/systemctl stop =
PEOPLE_SYSDATA.mount"<br>
      <br>
      monit is 5.33.0<br>
      What am I missing?<br>
      thanks, L.</font>
  </div>

</div></blockquote></div><br></div></body></html>=

--Apple-Mail=_BF8D3CE7-8D1B-419A-9ED0-789095A8E47D--