kagbasi-wgsdac
Dabbler
- Joined
- Jul 2, 2023
- Messages
- 13
Good-day Folks,
I could use some help with NFS Share permissions. Been going at this all night and I'm not making any headway, any help is greatly appreciated.
I'm testing TrueNAS-SCALE-22.12.3.1 in a virtualized environment and I have a rather simple setup. I'm running a single node XCP-ng version 8.2.1 as my hypervisor on a HP ProLiant DL360p Gen8 server with the following specs using a single ZFS Dataset:
I can successfully mount the NFS Share from a Linux client (Debian 12 both manually and using AutoFS), however, when I attempt to change into the directory or run the "ls" command against it, I get "Permission denied" (see screenshot below). The client is bound to my Active Directory domain and I'm seeing this issue while logged in with the local root account and with a domain account. TrueNAS is bound to the same Active Directory domain.
I have not applied any settings in the ADVANCED OPTIONS for the NFS Share (as confirmed by the exports below) - although, I'd experimented with different combinations of Maproot User, Maproot Group, Mapall User, and Mapall Group - all of which didn't alleviate my permission denied problem:
On the ZFS Dataset itself, I initially had permissions set to root as both Owner and Group. However, as part of my troubleshooting attempts, I changed Owner to the Service Account I'd created in Active Directory and set the Group to Domain Users.
Finally, I initially had the NFS Share configured as version 3 (which is the default - I believe). However, I changed it to version 4 and set -fstype=nsf4 in my AutoFS configuration. Since the NFS Share is being mounted successfully, I don't think this is a contributing factor to the permission denied situation.
I'm willing to share more screenshots and/or outputs of my configuration as needed. Thank you.
I could use some help with NFS Share permissions. Been going at this all night and I'm not making any headway, any help is greatly appreciated.
I'm testing TrueNAS-SCALE-22.12.3.1 in a virtualized environment and I have a rather simple setup. I'm running a single node XCP-ng version 8.2.1 as my hypervisor on a HP ProLiant DL360p Gen8 server with the following specs using a single ZFS Dataset:
- Processor: Intel(R) Xeon(R) CPU E5-2640 0 @ 2.50GHz
- Processor Count: 2 (6 cores each)
- Memory: 768 GB (with ECC)
- RAM Allocated to TrueNAS VM: 16 GB
- vCPUs Allocated to TrueNAS VM: 2
- Virtual Disk Type: Local (ext4 I believe)
- Virtual Disk Count: 4
- Virtual Disk Capacity: 100GB each
- Virtual Disk Provisioning: Thin
I can successfully mount the NFS Share from a Linux client (Debian 12 both manually and using AutoFS), however, when I attempt to change into the directory or run the "ls" command against it, I get "Permission denied" (see screenshot below). The client is bound to my Active Directory domain and I'm seeing this issue while logged in with the local root account and with a domain account. TrueNAS is bound to the same Active Directory domain.
I have not applied any settings in the ADVANCED OPTIONS for the NFS Share (as confirmed by the exports below) - although, I'd experimented with different combinations of Maproot User, Maproot Group, Mapall User, and Mapall Group - all of which didn't alleviate my permission denied problem:
On the ZFS Dataset itself, I initially had permissions set to root as both Owner and Group. However, as part of my troubleshooting attempts, I changed Owner to the Service Account I'd created in Active Directory and set the Group to Domain Users.
Finally, I initially had the NFS Share configured as version 3 (which is the default - I believe). However, I changed it to version 4 and set -fstype=nsf4 in my AutoFS configuration. Since the NFS Share is being mounted successfully, I don't think this is a contributing factor to the permission denied situation.
I'm willing to share more screenshots and/or outputs of my configuration as needed. Thank you.