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

11 hours ago, wout4007 said:

hi i am new at zfs but have managed until this point. I have zfs pool set upand a mountpoint to an unraid shere but every time I restart the server my data disappears. but in the command line it stil says it is mounted at that location. 

can someone please help me

 

I don't know what method people are using to try and have Unraid's own array system mount ZFS shares, but I don't believe that is supported.

 

If you're happy to have an open share you can add something like this in /boot/config/smb-extra.conf

 

[sharename]
path = /mnt/poolname/dataset
comment = share comment
browseable = yes
public = yes
writeable = yes

 

(edit: ZFS support is coming to Unraid soon and presumably this will include creating shares in the GUI for ZFS pools/datasets)

Edited by jortan

  • Replies 1.6k
  • Views 416.9k
  • 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

I was wondering if it is possible to change the arc size. If Yes how would you do that

9 minutes ago, wout4007 said:

If Yes how would you do that

See the 1st post, under Tweaks.

hi i have a problem every time I restart my server my mount point disappears. does someone know how to solve this?

4 minutes ago, wout4007 said:

hi i have a problem every time I restart my server my mount point disappears. does someone know how to solve this?

With that little information, no.

 

Please post your Diagnostics.

34 minutes ago, ich777 said:

With that little information, no.

 

Please post your Diagnostics.

where can I find this?

20 minutes ago, wout4007 said:

where can I find this?

The word diagnostics wherever it appears in the forum is a link explaining how to get diagnostics.

On 2/23/2023 at 12:37 AM, wout4007 said:

hi i have a problem every time I restart my server my mount point disappears. does someone know how to solve this?

 

Does the pool have a mountpoint configured?

 

zfs get mountpoint poolname

 

On 2/27/2023 at 6:34 AM, jortan said:

 

Does the pool have a mountpoint configured?

 

zfs get mountpoint poolname

 

yes it does. /mnt/disk1/pool_name

1 minute ago, wout4007 said:

yes it does. /mnt/disk1/pool_name

Can you please post your Diagnostics, people would be able to help more easily.

4 hours ago, ich777 said:

The plugin and also the module is installed and loaded successful from what I see from your syslog.

 

Did you create your Zpool like in the tutorial from the first post?

No I didn’t. I imported it from truenas

32 minutes ago, wout4007 said:

No I didn’t. I imported it from truenas

I think the issue lies here within the custom version from ZFS for TrueNAS, I could be really wrong about that but maybe someone like @BVD or @Marshalleq can help here.

39 minutes ago, wout4007 said:

No I didn’t. I imported it from truenas

Post the output of

zpool import

 

On 2/28/2023 at 5:46 PM, wout4007 said:

yes it does. /mnt/disk1/pool_name

 

I would suggest mounting your ZFS pool elsewhere, ie. /mnt/poolname

 

/mnt/diskx is where Unraid mounts disks for the Unraid array.  Seems likely that is the problem?

Edited by jortan

5 minutes ago, jortan said:

/mnt/diskx is where Unraid mounts disks for the Unraid array.  Seems likely that is the problem?

Yeah, you should not be doing that.

19 hours ago, jortan said:

 

I would suggest mounting your ZFS pool elsewhere, ie. /mnt/poolname

 

/mnt/diskx is where Unraid mounts disks for the Unraid array.  Seems likely that is the problem?

This was indeed the problem. thank you

Greetings, I'm a newbie to unRaid and wanted to try zfs with it. I used Spaceinvader One's guide as well as Linus' and Gamer's Nexus guide on YouTube to setup my server.  I thought it went well until I noticed that my data is being stored on disk 1 (the unraid array) and not my zfs pool.

When I copy files from my PC to the share on the server, the copied files are stored on the unraid array and not on the raidz pool.

My apologies if I get the zfs terminologies wrong... as I said, this is all new to me.

I'm stuck in a loop trying to figure this out but I some times I get tunnel vision and can't see the answer.

I guess what I'm trying to say is the user shares are not on the zfs pool.

I have attached my diagnostic file for your convenience.

Any help would be appreciated, thank you.

 

Best regards,

 

X

 

nas1-diagnostics-20230302-1205.zip

Edited by Xdj

Unfortunately, right now, there is no easy way to create shares on the pool; you have to deal with smb-extra.conf file; this situation should be solved on the upcoming 6.12 version; in the meantime these are my templates for pool shares (ssdnvme in this example)

 

Private Share
 

[example_private_share]
	path = /ssdnvme/example_private
	comment = My Private share
	browsable = yes
	guest ok = no
	writeable = yes
	write list = iker
	read only = no	
	create mask = 0775
	directory mask = 0775
	vfs objects = shadow_copy2
	shadow: snapdir = .zfs/snapshot
	shadow: sort = desc
	shadow: format = %Y-%m-%d-%H%M%S
	shadow: localtime =  yes
	shadow: snapdirseverywhere = yes

 

Private Hidden Share

[example_private_hidden]
	path = /ssdnvme/example_private_hidden
	comment = My Private info
	browsable = no
	guest ok = yes
	writeable = no
	write list = iker
	read only = yes
	create mask = 0775
	directory mask = 0775
	vfs objects = shadow_copy2
	shadow: snapdir = .zfs/snapshot
	shadow: sort = desc
	shadow: format = %Y-%m-%d-%H%M%S
	shadow: localtime =  yes

 

Public Share

[example_public_share]
	path = /ssdnvme/example_public
	comment = UnRaid related info
	browsable = yes
	guest ok = yes
	writeable = yes
    write list = iker
	read only = yes
	create mask = 0775
	directory mask = 0775

 

Best,

Edited by Iker

Thanks for the info...

I'm just curious why in the video guides they don't mention the config file. Also, without sounding like a complete idiot; without the config file, how does one get their data on one's server?

This is what happens when you use Windows for 30 years! :(

The reason I'm asking is I'm trying to recover data from 16 drives that had a grey water shower when my septic tank back up and the data needs a new home. I'm building a second server to back up the first so I'm trying to figure out the best solution to protect 30+ years of photos and videos.

 

Cheers

 

3 hours ago, Xdj said:

 

I'm just curious why in the video guides they don't mention the config file.

 

 

I haven't watched any of the video guides, but this includes some explanation of what's going on in the above SMB (windows share) configuration examples:

 

https://forum.level1techs.com/t/zfs-on-unraid-lets-do-it-bonus-shadowcopy-setup-guide-project/148764

 

 

3 hours ago, Xdj said:

I'm building a second server to back up the first so I'm trying to figure out the best solution to protect 30+ years of photos and videos.

 

One thing to consider is something like borg to backup your data offsite

 

 

https://www.borgbase.com/

Edited by jortan

I appreciate the info...

I'm going to start over and try again with the new information!

 

Cheers

On 3/4/2023 at 1:57 AM, Xdj said:

I'm going to start over and try again with the new information!

 

 

ps: if you're still looking to build a second server for backups, probably the best option is sanoid to manage snapshots of your main ZFS pool, and syncoid to pull/replicate those snapshots on your backup server.

 

I have this setup so that on startup, my backup server will replicate snapshots from my main server, send an email summary and then shut itself down.

I was able to import my ZFS pools from Scale, which is awesome. Only question is what storage-driver is being used (i'm pointing docker directory and docker appdata at a NVME I have under ZFS). Typically I would edit the /etc/docker/daemon.json to make it look like this, however there's nothing in /etc. How does this work in Unraid, where is the daemon.json or equivalent? How do I set it to use overlay2?

 

image.png

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.