Zfs data set question


Recommended Posts

Not sure if this is the correct place to ask this question, if not please direct me to the appropriate place.

I have created a zpool and two data sets. How can I share the data sets out so they are available like shares would be?

Some research leads me to believe I need to edit a .conf file to instruct unraid to mount the data sets on boot, is this correct?

Link to comment

Ashman, what version of Unraid are you using?

 

If it's prior to  6.12.0-rc4+, then you won't be able to add shares to the pool through the GUI. But you can do it yourself through other ways, 

 

1) The easiest is just to make symlink in a standard share to the dataset on the array. Ex if you have a share called music at /mnt/user/music and a dataset z_music on the a zpool "tank" mounted at /mtn/tank/z_music, then "ln -s /mnt/tank/z_music /mnt/user/music/zfs_music_link" makes a symlink in /mnt/user/music to your dataset. If you want to later remove the symlink, use "unlink /mnt/user/music/zfs_music_link"

 

2) add smb options in Settings>Smb options to manually create a share using samba configuration to some dataset.

Edited by NickF
Link to comment

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.