- changed title to FreeBSD: filesystem statistics error -- cannot parse device '/dev/md0'
- edited description
FreeBSD: filesystem statistics error -- cannot parse device '/dev/md0'
Issue #936
closed
Within monitrc I have the following entry:
check filesystem etc with path /etc
if space usage > 90% then exec /sbin/reboot
Which is the mount point to md(4) backed filesystem /dev/md0, running on at 11.4-RELEASE system:
# mount
/dev/ufs/WLIMGs1a on / (ufs, local, read-only)
devfs on /dev (devfs, local)
/dev/md0 on /etc (ufs, local, soft-updates)
/dev/md1 on /var (ufs, local, soft-updates)
/dev/md2 on /tmp (ufs, local)
Some debugging information:
# sysctl kern.geom.conftxt
kern.geom.conftxt: 0 MD md2 20971520 512 u 2 s 512 f 0 fs 0 l 20971520 t swap
0 MD md1 52428800 512 u 1 s 512 f 0 fs 0 l 52428800 t swap
0 MD md0 10485760 512 u 0 s 512 f 0 fs 0 l 10485760 t swap
0 DISK da0 0 512 hd 0 sc 0
0 DISK ada0 16013942784 512 hd 16 sc 63
1 LABEL diskid/DISK-EB84075419B200345405 16013942784 512 i 0 o 0
2 PART diskid/DISK-EB84075419B200345405s3 11354112 512 i 3 o 840204288 ty freebsd xs MBR xt 165
3 LABEL ufsid/5f70590006e597d1 11354112 512 i 0 o 0
2 PART diskid/DISK-EB84075419B200345405s2 420069888 512 i 2 o 420134400 ty freebsd xs MBR xt 165
3 PART diskid/DISK-EB84075419B200345405s2a 420061696 512 i 1 o 8192 ty !0 xs BSD xt 0
2 PART diskid/DISK-EB84075419B200345405s1 420069888 512 i 1 o 32256 ty freebsd xs MBR xt 165
3 PART diskid/DISK-EB84075419B200345405s1a 420061696 512 i 1 o 8192 ty !0 xs BSD xt 0
4 LABEL ufsid/5f7058e9f37ae5a7 420061696 512 i 0 o 0
1 PART ada0s3 11354112 512 i 3 o 840204288 ty freebsd xs MBR xt 165
2 LABEL ufs/WLIMGs3 11354112 512 i 0 o 0
1 PART ada0s2 420069888 512 i 2 o 420134400 ty freebsd xs MBR xt 165
2 PART ada0s2a 420061696 512 i 1 o 8192 ty !0 xs BSD xt 0
3 LABEL ufs/WLIMGs2a 420061696 512 i 0 o 0
1 PART ada0s1 420069888 512 i 1 o 32256 ty freebsd xs MBR xt 165
2 PART ada0s1a 420061696 512 i 1 o 8192 ty !0 xs BSD xt 0
3 LABEL ufs/WLIMGs1a 420061696 512 i 0 o 0
Comments (3)
-
reporter -
repo owner Hello Rick, please can you test it with latest monit release? (5.27.1). There were few fixes for FreeBSD device monitoring since version 5.23.0, which may resolve the problem.
-
repo owner - changed status to closed
waiting for response for > 1 year (possibly solved as suggested in the last update)
- Log in to comment