# ZFS zpool and zfs the size

**URL:** <https://community.netdata.cloud/t/zfs-zpool-and-zfs-the-size/2145>\
**Category:** Help\
**Tags:** agent\
**Created:** [November 7, 2021, 7:31pm UTC](https://community.netdata.cloud/t/zfs-zpool-and-zfs-the-size/2145 "2021-11-07T19:31:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wojtek\_Gaudnik](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/wojtek_gaudnik/32/1282_2.png) [@Wojtek\_Gaudnik](https://community.netdata.cloud/u/Wojtek_Gaudnik)\
**Post date:** [November 7, 2021, 7:31pm UTC](https://community.netdata.cloud/t/zfs-zpool-and-zfs-the-size/2145/1 "2021-11-07T19:31:05Z")

</div>

## 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 ?

---

<div class="post-metadata">

**Author:** ![ilyam8](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/ilyam8/32/134_2.png) [@ilyam8](https://community.netdata.cloud/u/ilyam8)\
**Post date:** [November 8, 2021, 9:00am UTC](https://community.netdata.cloud/t/zfs-zpool-and-zfs-the-size/2145/2 "2021-11-08T09:00:14Z")

</div>

Hi, @Wojtek_Gaudnik.

> [@Wojtek\_Gaudnik](#):
>
> Is there a way to get the size of zpool ?,

Unfortunately, no.

There is a related [discussion](https://github.com/netdata/netdata/issues/5590#issuecomment-839873994) and an open issue in the [zfs repository](https://github.com/openzfs/zfs/discussions/12080). 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

---

<div class="post-metadata">

**Author:** ![Wojtek\_Gaudnik](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/wojtek_gaudnik/32/1282_2.png) [@Wojtek\_Gaudnik](https://community.netdata.cloud/u/Wojtek_Gaudnik)\
**Post date:** [November 8, 2021, 5:26pm UTC](https://community.netdata.cloud/t/zfs-zpool-and-zfs-the-size/2145/3 "2021-11-08T17:26:54Z")

</div>

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 ? 🙂 Or some txt file ?

---

<div class="post-metadata">

**Author:** ![tilllt](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/tilllt/32/3405_2.png) [@tilllt](https://community.netdata.cloud/u/tilllt)\
**Post date:** [January 10, 2024, 11:34am UTC](https://community.netdata.cloud/t/zfs-zpool-and-zfs-the-size/2145/4 "2024-01-10T11:34:43Z")

</div>

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?

> <https://github.com/netdata/netdata/issues/3089>
>
> Is there a build in way to monitor the ZFS pool size and status?
> 
> I would want… to have an overview of the \`zpool list\` info over time.

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

---

<div class="post-metadata">

**Author:** ![ilyam8](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/ilyam8/32/134_2.png) [@ilyam8](https://community.netdata.cloud/u/ilyam8)\
**Post date:** [January 10, 2024, 5:38pm UTC](https://community.netdata.cloud/t/zfs-zpool-and-zfs-the-size/2145/5 "2024-01-10T17:38:48Z")

</div>

Hey, @tilllt, join the [discussion on GitHub](https://github.com/netdata/netdata/issues/14937#issuecomment-1885308894)
