Jump to content
steini84

ZFS plugin for unRAID

308 posts in this topic Last Reply

Recommended Posts

Posted (edited)

Updated previous post with useful commands and monitoring.

 

 

 

 

 

Edited by ezra

Share this post


Link to post

Grafana has some ZFS dashboards available, e.g. https://grafana.com/grafana/dashboards/328

Uses the Prometheus data source, so needs a bit of work to get it running under unRaid.

Both Grafana and Prometheus have unRaid plugins, so its just the ZFS / Prometheus integration.

 

Might be nice to integrate it with the unRaid Grafana dashboard here: https://grafana.com/grafana/dashboards/7233 

 

Its on my list of things to look at, but haven’t had time...

Edited by Freebie

Share this post


Link to post

I've started to create a dashboard section for ZFS details. let me know if you can help me out with PHP/JSON/BASH

I don't really know what i'm doing just trial en error, modifying an existing plugin (corsaircpu, status.php & status.page)

https://github.com/ezraholm50/zfs-frontend-unraid

 

image.png.a911cca61e4633ae25cd4776c06af26b.png

Edited by ezra

Share this post


Link to post

To everyone who has problems accessiing ZFS throught samba shares. I have a solution which works for me but its sounds realy stupid:
I mounted my Pool Tank at /mnt/Tank and created a fs at /mnt/Tank/Share.
I used the following Config in my Samba-Config, so only user1 (created via unraid-ui) can accsess data in my share.

[Share] 
path = /mnt/Tank/Share
public = yes
writeable = no  
write list = user1
create mask = 0775
directory mask = 0775

Problem:
If you now mount it in windows at \\server\Share you can't create a folder or copy data. It tells you you dont have permission in this folder to edit anything. Different users do not matter.
Solution:
Create in your share a folder via console and now you are able (with user perrmissons) to write and read in the pool.
Mount this subfolder in windows and you are good to go. 
PS: If someone has a better fix to this then pls let me know 
 

Edited by matz3

Share this post


Link to post

@ezra How do I actually install your dashboard?  Do I just put the files in the config directory somewhere?  Thanks.

Share this post


Link to post

Install the corsairpsu plugin from CA, then edit the files status.php and status.page in: /usr/local/emhttp/plugins/corsairpsu/ 

still working on it. Could use some help.

Edited by ezra

Share this post


Link to post

Wanted to add to this thread in regards to compression.  I'm running a newer Epyc chip with ZFS and when compression is enabled I'm seeing some massive dips in drive performance.  Whilst this was only on 1 VM with 4 cores on unRaid as soon as compression was disabled the performance went back up.  Not sure if there is something with the new Epyc chips that is causing compression to slow things down or what.  I'll give it a try again once I decide how to setup my next pool of drives.  

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.