Just a quick tip today. While setting up a lab I had the need to mount a cDOT (8.3.0) export from behind a NAT gateway. When attempting the mount operation I got a relatively unhelpful error:
After some digging, I found that the cause of this is a setting on the storage virtual machine (a.k.a. SVM, formerly vserver). The problem is that by default cDOT expects that a port <= 1024 will be used for the mount operation. When NAT happens between you and the export, you are at the mercy of the gateway device for the port to be used. By setting the SVM NFS option mount-rootonly
to disabled, this requirement is lifted.
To fix the problem from the cluster shell:
1 |
vserver nfs modify -vserver svmName -mount-rootonly disabled |
To fix the problem using the NetApp PowerShell toolkit:
1 2 3 4 5 6 |
# create the config parameter template $serviceConfig = Get-NcNfsService -Template $serviceConfig.IsMountRootonlyEnabled = $false # update the SVM configuration Get-NcVserver $svmName | Set-NcNfsService -Attributes $serviceConfig |