I’m trying to mount a NFS folder in WSL2 Ubuntu 20.04
sudo mount singularity:/srv/Storage /mnt/storage -v
But it gives me an error
mount.nfs: access denied by server while mounting singularity:/srv/Storage
I checked the /etc/exports
on the server, and sure enough, I have
/srv/Skipspace *(rw,sync,no_subtree_check,no_root_squash,crossmnt)
(I set it to *
from the previous 10.0.0.0/16
for debugging)
And just to be sure, ran exportfs -ra
and sudo service nfs-kernel-server restart
.
Yet even still, when I try to mount in WSL, I get the permission denied error. I can mount on other machines just fine.