ZFS zpool and zfs the size

Environment

Kernel: x86_64 Linux 5.8.0-63-generic

Problem/Question

Hi,
Is there a way to get the size of zpool ?, and zfs mounted ?

Hi, @Wojtek_Gaudnik.

Unfortunately, no.

There is a related discussion and an open issue in the zfs repository. So far we couldn’t find a way how to get zpool size/alloc/free statistics (seems not possible using procfs, but not sure).

If that is only possible using zpool list… then we need to use it i guess @vlvkobal

Hi, @ilyam8 ,
thx for response, I there a way to pass some data to netdata, for example response from df -h? Maybe that would be work around ? :slight_smile: Or some txt file ?

I just tried to figure out why my ZFS mount points are not included in the Disk Space Usage metric and i can neither create an alert for ZFS Pool Usage / Dataset Usage, EVEN when they are mounted, is that correct?

Is it correct that still is the same issue as opened here in 2017?

Thats honestly a little … surprising, i guess a lot of people use ZFS nowadays that ZFS on Linux works really well…

Hey, @tilllt, join the discussion on GitHub