ashman70 Posted May 1, 2023 Share Posted May 1, 2023 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? Quote Link to comment
NickF Posted May 1, 2023 Share Posted May 1, 2023 (edited) I don't think you need to actually create datasets yourself, just create shares in 6.12.0-rc4+ and have the pool as primary or secondary. Unraid can make shares as datasets. Edited May 1, 2023 by NickF Quote Link to comment
ashman70 Posted May 1, 2023 Author Share Posted May 1, 2023 I can't to figure out how to create a share that is not part of the array. Where is the setting to set the pool as primary or secondary? Or is is command line command? Quote Link to comment
JorgeB Posted May 1, 2023 Share Posted May 1, 2023 Like mentioned if you create a share on zfs storage it will be a dateset. 8 hours ago, ashman70 said: Where is the setting to set the pool as primary or secondary? Shares -> Click on the share name you want to configure. Quote Link to comment
ashman70 Posted May 1, 2023 Author Share Posted May 1, 2023 Those only seem to be share on the array, not the zfs pool Quote Link to comment
JorgeB Posted May 1, 2023 Share Posted May 1, 2023 Click on add share, and select the pool as the main storage. 1 Quote Link to comment
NickF Posted May 1, 2023 Share Posted May 1, 2023 (edited) 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 May 1, 2023 by NickF Quote Link to comment
JorgeB Posted May 2, 2023 Share Posted May 2, 2023 I assumed the OP was using v6.12, and my replies are based on that. Quote Link to comment
ashman70 Posted May 2, 2023 Author Share Posted May 2, 2023 (edited) I can't seem to figure it out. I managed to create a symlink, data_data1_link, I think but the share doesn't show up: You can see my data sets And the folder for the share data1 inside the data set data. Edited May 2, 2023 by ashman70 Quote Link to comment
Recommended Posts
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.