Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[PLUGIN] ZFS Master

Featured Replies

24 minutes ago, JonathanM said:

Be prepared for serious performance issues if you do that. The way parity works means that the background stuff ZFS does to try to increase performance causes slowdowns instead of increases. For now, I'd keep array drives XFS, and only use ZFS in pools.

Hmmm, I'm already underwhelmed by Unraid's array performance. I guess it's tough to have our cake and eat it, too: resiliency vs. performance.  I like how files on the array drives are easily accessible in the event of a disaster. However, how FUSE works kills any performance benefit that multiple disks could provide.

 

I wonder if there is a path/plan to replace FUSE with a ZFS-based approach that includes file accessibility on each drive (like FUSE does) with the parity drives the array uses.

 

Or maybe I'm just completely confused about how FUSE works versus ZFS capabilities!

  • Replies 724
  • Views 126.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Is the ZFS -Master plugin still maintained ? Since 2024.12.08 no change anymore. For me, ZFS was the main feature for starting with Unraid and without a maintained ZFS master It's not really attrac

  • Hey, answering some of the questions: @XuvinWhat does it mean if the dataset/snapshot icon is yellow instead of blue: It means that the last snapshot is older than the time configured on the s

  • ZFS Master may need an update with the current 7.2-rc2 (and rc1 as well but that isn't current now). When this plugin is installed it causes the Unraid Connect icon to disappear on the Main tab. It

Posted Images

Hello, I have just done unraid update cause my computer was off for 1 year. after the update to the new OS from the older one the ZFS is no longer showing my drives and i cant connect or see my data.  I am not sure what do do to fix this.

I'm doing some testing with ZFS and your plugin on 6.12.13 in preparation for unRAID 7. 

Why am I getting a blue I symbol for successful confirmations when working with ZFS and not a green checkmark?

 

blueIsymbolandnotgreencheckmark.thumb.png.01e5101f9f7d545939c30b0724814035.png

 

When viewing spaceinvader one videos, his successful confirmations are green checkmarks. 

 

spaceinvadaronesuccessfulgreencheckmark.thumb.png.3d592b3b04b42ebea0cdba81881e533e.png

myers19-diagnostics-20241117-1518.zip

Edited by FQs19
add diagnostics file

  • Author

That was part of a rework on the dialogs to "informational messages.", The spaceinvader's video is one year old, and some things have changed; for example, you can convert a folder to a dataset directly using the plugin.

1 minute ago, Iker said:

That was part of a rework on the dialogs to "informational messages.", The spaceinvader's video is one year old, and some things have changed; for example, you can convert a folder to a dataset directly using the plugin.

Thank you for the info. 

Just wanted to make sure I wasn't doing something wrong. 

  • Author

There is a new update with the following changelog:

 

2024.11.17

  • Add - ZnapZend plans information

The ZnapZend integration is very straightforward; if you have created any ZanpZend backup plan for your datasets, ZFS Master will detect those and show the information in the UI under a clock icon next to the dataset name, an example in the image below.

 

In my testing, polling the information didn't affect my dataset information loading times; however, please let me know if you find any problems, slow down, or have any issues.

 

image.png.9a1b804b26f6514ee19a408bef9aa2d5.png

On 11/16/2024 at 7:09 PM, Iker said:

Hi @diehard2k9, your question seems best suited for the General Support forum

I just clicked on the link in unraid and it sent me here. Do you know how i can get bsck my zfs mangers under the latest stasble version.  I can see if the zpool under import but I'm not sure how to get unraid to see like before?

saw a few updats doen to the zfs plugin. as noted in bug reports:


I'm seeing some werdness on beta 7.

My beta 7 bmm-unraid done't experince this.

a fresh 6.12 to bet 7 v4 experinces this werdness after reformating and cahgne zfs disk to a new pool configruation.

main issue is zfs plugin crete dataset web ui breaks the shares tab and cause phatom mounts.

Thoughts?

  • Author

I'm not so sure that I follow exactly what your issue is, from the other thread:

Quote

If I go to Mian > zfs Master > create dataset, I still have issue with phantom mounts and shares won't let me change Primary storage and won't use the corect storage

The plugin doesn't have a lot to do with phantom mounts (It doesn't mount anything, just provides a GUI for ZFS), those are going to exists with or without the plugin, and the shares page is also completely independent; if those are the issues that you are facing, they are directly related to the pool.

hey guys, may have missed this.  I want to break out my appdata dataset into individual datasets so i could restore individual dockers.  I tried SpaceInvader One's script but it didn't work, i still have 1 huge appdata dataset.  Is there another way to do this?

  • Author

Yes,  these are the simple steps:

  1. Stop any VM/docker that may be using the folder.
  2. Make sure that you enable "destructive mode" on Settings->User Utilities-> ZFS Master.
  3. Return to the main tab, and over the actions menu for the dataset, click on "Add directory Listing".
  4. Then you should be able to see every directory under the dataset (with a different icon); hit the actions button and click over "Convert to dataset"
  5. If everything goes well, delete the original directory.

And that's it; please keep in mind that you need at least the same amount of free space as the directory size and the following remarks for the process:

 

Quote

The process is divided into three steps:

  1. Rename Directory: Source directory is renamed to <folder_name>_tmp_<datetime>
  2. Create Dataset: A dataset with the directory's original name is created in the same pool (and path); the dataset options are the default ones.
  3. Copy the data: Data is copied using the command "rsync rsync -ra --stats --info=progress2 <source_directory> <dataset_mountpoint>"; the GUI displays a progress bar and some relevant information about the process.

If anything fails on steps 1 or 2, the plugin returns an error, and the folder is renamed back to its original name. If something fails in step 3, an error is returned, but the dataset and directory remain intact.

 

Edited by Iker

that worked perfectly, i would have never found that.  thanks so much!!

Zfs master plugin is causing very high cpu usage , its pegging single core with core cycling, the recent update is causing it before there was no problem , problem solved after uninstalling the zfs master plugin , its a wonderful plugin but something has broken in the latest update 

  • Author

@drmetro Can you please reproduce the issue and provide a screenshot executing "top" in a terminal? I will follow up with a couple of questions via PM to check if anything particular in your pool may cause the issue.

On 11/26/2024 at 10:47 AM, xman111 said:

hey guys, may have missed this.  I want to break out my appdata dataset into individual datasets so i could restore individual dockers.  I tried SpaceInvader One's script but it didn't work, i still have 1 huge appdata dataset.  Is there another way to do this?

Also, see here for a helpful user script I made that will warn you if you accidentally create a folder somewhere you meant to have all child datasets: https://gist.github.com/Renegade605/8eba0af1e7fa1b16cb74af0e79f3be98

On 12/1/2024 at 12:21 AM, drmetro said:

Zfs master plugin is causing very high cpu usage , its pegging single core with core cycling, the recent update is causing it before there was no problem , problem solved after uninstalling the zfs master plugin , its a wonderful plugin but something has broken in the latest update 

I noticed the same, went back to 6.12.13 it was better but still every few seconds everything starts to lagg and core 0 is swamped then back to normal for a few seconds and back again. Ran htop and it was zfs cache master plugin. Removed the plugin and now all is fine again. Will hold out on both the plugin and the 6.12.14 update for a while. Maybe ill try again in unraid 7.

On 4/10/2022 at 10:16 AM, Iker said:

Note About Disks not Spinning Down

ZFS Master wakes up the disks only when you open the dashboard in the main tab; this is because some snapshot information needs to be read from the disks, but again, this only happens when you open the dashboard in the main tab. If you want your disks not to spin up, you have to change the "Refresh Interval" option on the settings to "No refresh"; this will cause the information not to be loaded, even on page refresh.

 

I'm using Unraid 7rc1.    It seems that you need to reboot after disabling refresh interval.  You may want to mention this in the docs (and perhaps even in the settings page)

  • Author
8 hours ago, mythic said:

I noticed the same, went back to 6.12.13 it was better but still every few seconds everything starts to lagg and core 0 is swamped ...

I'm still investigating this, as it's difficult to reproduce and apparently only happens with some specific configurations; however, I'll publish an update today with a possible fix.

 

2 hours ago, novaleaf said:

 

I'm using Unraid 7rc1.    It seems that you need to reboot after disabling refresh interval.  You may want to mention this in the docs (and perhaps even in the settings page)

 

It's not required; the configuration is dynamic and updated every 30 seconds.

45 minutes ago, Iker said:

It's not required; the configuration is dynamic and updated every 30 seconds.

 

What I am trying to explain is that in my situation disabling refresh did not stop the drives from immediately waking up every few tens of seconds.  However after I rebooted it stopped.   prior to the reboot I am certain I gave the system plenty of time.  Tens of minutes where I was disabling plugins until finally disabling zfs master stopped the issue.    After that I experimented and found that the reboot after disabling solves it.

 

I am using a fresh install of Unraid7rc1 with zfs raidz2 pool.

  • Author

Yeah, I get it, but that particular functionality was tested pretty thoroughly even more; it was designed specifically for that use case, so it seems very weird that it resurfaces again as a problem; in your case, the "Last refresh at" got updated? If not, the plugin didn't touch the disks, and it was probably something else.

yes, it very well could be a coincidence.  I'll try to do some more testing over the next few days.

  • Author

There is a new update with the following changelog:

 

2024.12.08

  • Add - Config for pulling ZnapZend plans
  • Fix - Refresh and settings icon
  • Fix - Corner case if no information is loaded

By default, ZnapZend integration is not active; this should fix some performance issues reported; if you still encounter issues even with the integration disabled, please report the problems in this thread.

On 11/12/2024 at 2:09 AM, 疯子哥哥 said:

Can we add the function of periodic snapshot and deletion of historical snapshot?


Any news on a function like this?

I would like to delete a few older snapshots from my zfs disk in the array which causing very long mounting times when I reboot the server.

  • Author
26 minutes ago, Zentachi said:


Any news on a function like this?

I would like to delete a few older snapshots from my zfs disk in the array which causing very long mounting times when I reboot the server.

 

It's not in my plans to develop that functionality within the plugin; however, the integration with ZnapZend works just fine and lets you see the plans defined for each dataset, so please check out the plugin or the docker container available. In the future, you will also be able to create plans, but the tool (at least for now) will be ZnapZend.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.