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.

ZFS plugin for unRAID

Featured Replies

Hello,

 

A quick question, not sure if this was answered previously,  how do we update the zfs version ?

I'm on unraid Version: 6.9.2

 

Currently running.

------------------------------

zfs version
   zfs-2.0.0-1
   zfs-kmod-2.0.0-1

 

New version:

----------------------

   zfs-2.0.6-1
   zfs-kmod-2.0.6-1

 

 

Thanks.

Edited by dianasta

  • Replies 1.6k
  • Views 417.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Today I released in collaboration with @steini84 a update from the ZFS plugin (v2.0.0) to modernize the plugin and switch from unRAID version detection to Kernel version detection and a general overha

  • You have truly taken this plugin to the next level and with the automatic builds it´s as good as it gets until we get native ZFS on Unraid!

  • Built zfs-2.0.0-rc7 for unRAID-6.8.3 & 6.9.0-beta35   Great to see that unRAID is finally adding native ZFS so this might be one of the last builds from me   And yes, i´m alre

Posted Images

  • Author
17 hours ago, dianasta said:

Hello,

 

A quick question, not sure if this was answered previously,  how do we update the zfs version ?

I'm on unraid Version: 6.9.2

 

Currently running.

------------------------------

zfs version
   zfs-2.0.0-1
   zfs-kmod-2.0.0-1

 

New version:

----------------------

   zfs-2.0.6-1
   zfs-kmod-2.0.6-1

 

 

Thanks.

Just run this command then reboot

rm /boot/config/plugins/unRAID6-ZFS/packages/*

 

10 hours ago, steini84 said:

Just run this command then reboot

rm /boot/config/plugins/unRAID6-ZFS/packages/*

 

Thank you will do!

On 9/20/2021 at 12:09 AM, jortan said:

 

I have an unraid server for testing that uses a single 8GB thumb drive for the array. You don't need to assign a parity device.

 

Keep in mind that by default the "system" share (libvirt image, docker image) is going to be placed on the array, as presumably you also won't have an unraid array cache device either.  If you're going to use a thumb drive for your array + ZFS pool for storage, you will want to make sure all of these point to appropriate locations in your ZFS pool:

 

Settings | Docker

- Docker vDisk location

- Default appdata storage location

 

Settings | VM Manager

- Libvirt storage location

- Default VM storage path

- Default ISO storage path

I am trying to follow in these footsteps and unfortunately it appears that these configuration elements have been removed?

I'm on Unraid 6.9.2 and both my "Settings | Docker" and "Settings | VM Manager" show none of the options outlined above.

Am I missing something obvious? What is the recommended way to achieve a stubbed-out thumb drive array while serving VMs and Docker containers out of ZFS datasets?

Advanced View.  (Docker you also have to stop the service in order to change them)

Hey all,

 

Finally got ZFS started up.  I wanted to test the speed, and I'm trying to figure out how to do it.  Earlier in the thread there was a thing about fio, but I can't seem to get it working based on the instructions from both Level1Techs and @mytime34.  Anybody know what to do?

  • Author

You can do a pretty basic test using dd

dd if=/dev/random of=/mnt/SSD/test.bin bs=1MB count=1024



If you want to test the read speed you change input and output

*remember to change to a path within your zfs pool


Sent from my iPhone using Tapatalk

On 10/30/2021 at 2:31 PM, Squid said:

Advanced View.  (Docker you also have to stop the service in order to change them)

Thanks @Squid - this wasn't obvious to me at all.  (It would seem that greying these out or putting a little lock icon beside them with a mouseover would prevent questions like mine.)

However, now that I've found the correct settings, it seems unraid will not let me place the VM ISO or image directories outside my primary array (which again is just a thumbdrive I'm hoping to keep nothing of importance on).

Do I need to soft-link from inside /mnt/user into /mnt/zfs1 (the name of my pool)?  How can I store VMs and ISOs in my ZFS dataset?

EDIT - perhaps i just edit the config files on the boot thumbdrive to circumvent the UI protections that won't let me set this outside the array?

 

Edited by chronocide

1 hour ago, chronocide said:

it seems unraid will not let me place the VM ISO or image directories outside my primary array

Have you tried typing in the path instead of trying to browse there?

Yes, I tried typing it in with a trailing slash - when you try to save it highlights them in red and does not save.

hello guys,

 

i am getting in the syslog following warnings:

Nov 1 18:10:55 Microserver smbd[19418]: [2021/11/01 18:10:55.785752, 0] ../../source3/lib/sysquotas.c:565(sys_get_quota)
Nov 1 18:10:55 Microserver smbd[19418]: sys_path_to_bdev() failed for path [.]!

 

this happens, when i access a file or directory over SMB on the ZFS pool.

can you help me, is there any solution?

i tried to edit the /etc/fstab file, but didnts work.

 

thank in advance.

How do updates for this plugin work? For instance I am on RC1 right now. How do I know whether I can upgrade to RC2? Also, when an update for the plugin comes out, does one need to export their pool(s) or something first before upgrading, or is it something that can be done in place?

Hey all,

 

I'm getting kernel panics when trying to transfer over large volumes of data via rsync from my backup to my ZFS Unraid server.  I'm amazed at the sheer speed of the transfer from spinning rust, but it crashes.  IDK what's going on.  I have diagnostic information if that helps, or if there's something else you guys need, let me know.  Figured cause the issue is with ZFS, this is the place to ask for help.  Anybody know what to do?  I saw a year and a half back someone had a similar issue.  Also had to rebuild everything from scratch before cause of this issue--thank goodness for backups, seriously.

 

I'm on 6.9.2, BTW.

 

Edit: I can't get a good syslog of the issue because it wipes itself when I have to hard reset the server, so I had to take a photo of what my screen is telling me.  This was during an rsync of data from the backup server via FTP share to the tank.

alexnas-diagnostics-20211031-1717.zip alexnas-syslog-20211031-2118.zip

IMG_20211102_105156275_HDR.jpg

Edited by asopala
Added log, best I could

7 hours ago, muddro said:

How do I know whether I can upgrade to RC2

The process is automated and it should be built after an hour when a new version from unRAID is released.

 

You always can look here in @steini84's Github repo when the new driver is uploaded.

 

So it should be safe to upgrade after an hour after a new unRAID version was released. ;)

 

You don't have to do anything, if you upgrade unRAID with Update OS in your Tools menu.

It will automatically tell you to wait with the reboot, automatically download all the plugin packages that needs to be updated (ZFS is one of them) and tell you when it's OK to reboot.

Is it possible to set up Unraid with only the usb boot and a zfspool? With no array? If Unraid needs a disk can this be emulated from the zpool?

Not in the current version. You must use a dummy usb stick for the array. That may or may not change depending on how zfs is natively implemented. 

On 10/31/2021 at 1:48 PM, chronocide said:

However, now that I've found the correct settings, it seems Unraid will not let me place the VM ISO or image directories outside my primary array (which again is just a thumb drive I'm hoping to keep nothing of importance on).

Do I need to soft-link from inside /mnt/user into /mnt/zfs1 (the name of my pool)?  How can I store VMs and ISOs in my ZFS dataset?


Regarding the question of whether or not Unraid can be run without an Array - as others have already pointed out, the answer is no. However, earlier posts in this thread point out that you can run your array off of a single USB thumb drive if you so choose.  I am pursuing this strategy now.

Having said that, I am dealing with an issue where the Unraid UI will not let me configure the location for my VMs and ISOs to be anywhere outside of the array.  As you might imagine, I do not want to run my VMs off a thumb drive.  If anyone can provide some insight as to how I might set my configuration to store VMs and ISOs in a ZFS dataset, I would appreciate the help!

I can type anything in on VM settings and set the storage location no problems (make sure to include the trailing slash)

6 minutes ago, chronocide said:

Having said that, I am dealing with an issue where the Unraid UI will not let me configure the location for my VMs and ISOs to be anywhere outside of the array.

I also can type whatever I want in there and even have set the libvirt.img to be on a ZFS Pool:

grafik.thumb.png.0dcf533ec4229f474a6b349c3af9b044.png

Thanks @ich777 - please disregard my previous message. It must have been some kind of user error.  I had thought that it wasn't allowing me to manually set the path, but I saw your post and decided to simply try again and sure enough, this time it worked.

No idea what I had done wrong last time, but I was previously seeing red text highlighting the two paths for VM storage path and ISO storage path, preventing me from saving the config change.  Perhaps I simply mistyped the directory names? Irrelevant now....

thanks again

if I wanted to start over fresh with unraid but keep the current ZFS configuration what do I need to do?

if I wanted to start over fresh with unraid but keep the current ZFS configuration what do I need to do?
Create a new USB Boot Device with your registration key in the config directory, reboot, make the necessary changes to the go file if needed (see first post), install the ZFS plugin and reboot again.

Sent from my C64

11 minutes ago, ich777 said:

Create a new USB Boot Device with your registration key in the config directory, reboot, make the necessary changes to the go file if needed (see first post), install the ZFS plugin and reboot again.

Sent from my C64
 

would I have to put all the drives back in for the correct order as well? I have 15 of them with the long file names like space did for the video.

would I have to put all the drives back in for the correct order as well? I have 15 of them with the long file names like space did for the video.
ZFS should handle this but you can try it with your current installation.
Shut down the server, flip two disks from their slots and start the server.

Sent from my C64

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.