Monitor a BTRFS Datastore

vaschthestampede

Active Member
Oct 21, 2020
123
8
38
38
I'm testing a fresh installation of PBS on a machine with very limited resources (a QNAP NAS with 4 cores and 8GB RAM).

Since there is no RAID controller (so I have to go with software RAID) and I have a limited amount of RAM (so I can't use ZFS), I opted to use BTRFS.

I have to say that from a performance point of view it doesn't disappoint me at all.
Sure, 4 cores are a bit few, and probably not too powerful, but the RAM usage never went beyond 1,5 GB.

The premises are these, the question is the following:
There is no monitoring available for the BTRFS Datastore, neither on the Datastore Summary page nor via metrics via influxdb.
Is there a way to activate them?

The metrics I'm interested in are "write_bytes", "read_bytes", "write_ios" and "read_ios".