NFS mount of NTFS volume using root user not working due to name mapping failure
Applies to
- ONTAP 9
- NTFS security style volume
- NFSv3 and NFSv4.x
Issue
- NFS mount of an NTFS volume hangs, times out, or getting error "
permission denied" using root user:
mount.nfs: timeout set for Mon May 6 13:21:35 2024
mount.nfs: trying text-based options 'proto=tcp,soft,timeo=300,retrans=2,actimeo=1,vers=4,addr=10.x.x.12,clientaddr=10.x.x.11'
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 10.x.x.12:/dir1/dir2
- Export policy rules grant the client read and write access to the volume:
cluster1::> vserver export-policy check-access -vserver vs1 -client-ip 10.22.32.42 -volume vol4 -authentication-method sys -protocol nfs3 -access-type read-write
Policy Policy Rule
Path Policy Owner Owner Type Index Access
----------------------------- ---------- --------- ---------- ------ ----------
/ default vs1_root volume 1 read
/dir1 default vs1_root volume 1 read
/dir1/dir2 default vs1_root volume 1 read
/dir1/dir2/flex1 data vol4 volume 10 read-write
4 entries were displayed.
