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.

NFS for Exclusive Shares

Featured Replies

Hey everyone,

 

I just updated from 6.12.0-rc6 to 6.12.3 and noticed that exclusive shares don't work together with NFS exports (as it´s stated very clearly in the patch notes). However, the strange thing is, that this worked perfectly in 6.12.0-rc6. Maybe this is because of some last minute change that got introduced in 6.12 or I tinkered around manually with /etc/exports and just can´t remember that I did so....

 

I understand that this doesn't work with the symlinks, as they are not resolved by the NFS server, so here is my proposal:

When a share fulfills all conditions to be exclusive, but is exported via NFS. Instead of using FUSE and exporting the share via /mnt/user/myshare, what about using a symlink and exposing the share directly via e.g. /mnt/mypool/myshare?

 

This might be a little inconvenient when mounting the share, but nothing good documentation couldn't fix. Any thoughts?

 

  • Author

And btw, for everyone stumbling across this, who might need the functionality already, here is how I solved it for now:

 

Disable the NFS export for all shares you want to be exclusive and create a new user script that runs on every array start and looks like this:

KUBE_STORAGE="\"/mnt/storage/KubeStorage\" -fsid=103,async,no_subtree_check 192.168.100.200(sec=sys,rw,sync,no_subtree_check,no_root_squash)"
EXPORTS="/etc/exports"

grep -qF -- "$KUBE_STORAGE" "$EXPORTS" || echo "$KUBE_STORAGE" >> "$EXPORTS"
exportfs -ra

 

Ofc, modify the path to point directly to the folder in your pool and you might want to change or remove the NFS options (everything after and including 192.168... - in particular no_subtree_check,no_root_squash) unless you know what you are doing. Repeat line 1 and 4 for each share you want to export.

Edited by jonpetersathan

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.