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 data set question

Featured Replies

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?

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 by NickF

  • Author

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?

  • Community Expert

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.

  • Author

Those only seem to be share on the array, not the zfs pool

  • Community Expert

Click on add share, and select the pool as the main storage.

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

  • Community Expert

I assumed the OP was using v6.12, and my replies are based on that.

  • Author

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.
 

Screen Shot 2023-05-02 at 7.20.19 AM.png

Screen Shot 2023-05-02 at 7.20.44 AM.png

Screen Shot 2023-05-02 at 7.21.04 AM.png

Edited by ashman70

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.