June 17, 20233 yr I installed Unraid 6.12 here is an exclusive access option for shares. Previously I was on a 6.12RC version and the option was there as well but I didn't enable at the time my share was created. Since I'm completely on ZFS I would like to take advantage of this capability, but it's greyed out on the share. Is there a way I can enable this without losing my data? Has anyone ran into this yet? Lastly, I only have a primary ZFS storage defined for the share, no secondary storage. Edited June 17, 20233 yr by deliverer
June 17, 20233 yr Community Expert Solution 7 minutes ago, deliverer said: I installed Unraid 6.12 here is an exclusive access option for shares. Previously I was on a 6.12RC version and the option was there as well but I didn't enable at the time my share was created. Since I'm completely on ZFS I would like to take advantage of this capability, but it's greyed out on the share. Is there a way I can enable this without losing my data? Has anyone ran into this yet? Lastly, I only have a primary ZFS storage defined for the share, no secondary storage. Likely array would need to be stopped to change as global setting.
June 17, 20233 yr Community Expert 13 minutes ago, deliverer said: Is there a way I can enable this without losing my data? Enabling this will not affect data. As was mentioned it first needs to be enabled at the global level before you can activate it for individual shares. Even then it will only work if the share really DOES only have file on the pool.
June 17, 20233 yr Author Found it, thank you. What do you mean @itimpi? I thought there were a lot of performance benefits with ZFS based on the release notes if you are only using ZFS as the primary storage with no secondary storage?
June 17, 20233 yr Community Expert 12 minutes ago, deliverer said: I thought there were a lot of performance benefits with ZFS based on the release notes if you are only using ZFS as the primary storage with no secondary storage? That is true (and you also get performance benefits for other pool types) due to by-passing the Fuse overheads of supporting User Shares. However if by any chance you have a top level folder with the same name as the share on any other pool or array drive then the Exclusive mode will not be available.
June 17, 20233 yr Author Understood. I should be good to go as it shows enabled on the shares now after I changed the global setting. Appreciate the help!
December 5, 20232 yr Author @itimpithings have been going good with my configuration, but all of a sudden one of my shares is no longer in exclusive mode. How would I find the directory? that is causing the issue? From above, there can't be a directory with the same name correct?
December 5, 20232 yr Community Expert Go to shares, click on that share, them "compute" to see where the share exists, it can only exist in that pool for exclusive access to work.
December 5, 20232 yr Author 46 minutes ago, JorgeB said: Go to shares, click on that share, them "compute" to see where the share exists, it can only exist in that pool for exclusive access to work. Been computing for a while now and says please wait. Any other ideas on how to get the info?
December 5, 20232 yr Community Expert It shouldn't take that long, diagnostics will also show the info.
December 5, 20232 yr Author 43 minutes ago, JorgeB said: It shouldn't take that long, diagnostics will also show the info. I'll go the diag route. been running without completion since you posted to run that compute.
December 5, 20232 yr Author 1 hour ago, JorgeB said: It shouldn't take that long, diagnostics will also show the info. what should I look for in the diag download?
December 5, 20232 yr Author Let me ask this question. I turned snapshots on. Say my mount is the following. /mnt/zfs_mirror/appdata/AppA if the snapshot is stored here, would this break exclusive mode? /mnt/zfs_mirror/appdata/.zfs/snapshot/023-10-16-050000/AppA
December 5, 20232 yr Author Could also be the fact /mnt/user is being used? Here is a screen shot how /mnt/user points to /mnt/zfs_mirror/...
December 5, 20232 yr Community Expert 55 minutes ago, deliverer said: Could also be the fact /mnt/user is being used? Here is a screen shot how /mnt/user points to /mnt/zfs_mirror/ It is not /mnt/user that points to the pool, but folders within /mnt/user that correspond to exclusive shares. This is expected behaviour.
December 5, 20232 yr Author 4 minutes ago, itimpi said: It is not /mnt/user that points to the pool, but folders within /mnt/user that correspond to exclusive shares. This is expected behaviour. The share where exclusive mode is not working is "appdata". No secondary storage is set I did a search and don't see any other folders with that name; just the one. Driving me crazy as I can't figure it out. root@MEDIA01:/mnt# find / -name appdata* /usr/local/emhttp/plugins/appdata.backup /usr/share/bash-completion/completions/appdata-validate find: ‘/sys/kernel/slab’: Input/output error find: ‘/proc/25721’: No such file or directory /mnt/user/appdata find: failed to read
December 5, 20232 yr Community Expert It might be worth trying something like ls -d /mnt/*/appdata to see what shows up.
December 5, 20232 yr Author 3 minutes ago, itimpi said: It might be worth trying something like ls -d /mnt/*/appdata to see what shows up. root@MEDIA01:/boot/config/modprobe.d# ls -d /mnt/*/appdata /mnt/user/appdata/ /mnt/zfs_media/appdata/ /mnt/zfs_mirror/appdata/ there it is. sorry I know this is basic linux stuff but sometimes I struggle even though I've been playing with linux for years. /mnt/zfs_media/appdata/ <---That is the culprit
December 6, 20232 yr Community Expert 10 hours ago, deliverer said: /mnt/zfs_media/appdata/ <---That is the culprit Correct, the same share can only exist in one pool for exclusive access to work.
June 7, 20251 yr Author it's happened again, but don't know why this time. When I run the command above, I only see 2 directories listed but they are the same files. Any additional thoughts on what to try? Does enabling NFS security settings cause exclusive mode to turn off?root@MEDIA01:/mnt/user/appdata# ls -d /mnt/*/appdata/mnt/user/appdata/ /mnt/zfs_mirror/appdata/
June 7, 20251 yr Author actually I think it's related to exporting over NFS based on some additional reading. Ugh, how big of impact is this to a full ZFS implementation?
June 7, 20251 yr Community Expert 6 hours ago, deliverer said:Does enabling NFS security settings cause exclusive mode to turn off?Yes.
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.