bvaisvil / zenith

Zenith - sort of like top or htop but with zoom-able charts, CPU, GPU, network, and disk usage
MIT License
2.63k stars 67 forks source link

ZFS Pool usage over 100% when FS gets resized #115

Open 5trubel opened 2 years ago

5trubel commented 2 years ago

When using ZFS as a file system, the various zvols have a "maximum capacity" of what is free on the root pool. This results in Zenith assuming that over 100% is free when the free capacity exceeds the maximum capacity.

image

bvaisvil commented 2 years ago

Thanks for reporting this. When you restart zenith does it show the correct amount of free space?

5trubel commented 2 years ago
  1. Well, the free and the used space are correctly displayed after restarting Zenith
  2. I tried to reproduce the error on another machine, did not work. So it could be an error on the machine above.
bvaisvil commented 2 years ago

I've had this happen before. I was hoping that I had fixed the issue. I'll keep this open in case we can find a way to reproduce it.