Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
1 answer
2k views

Can't mount NFS from within WSL2 Ubuntu 22.04

I'm trying to mount an NFS share from within WSL2 running Ubuntu 22.04. This works fine on native Ubuntu. I edit /etc/fstab to add: 172.16.0.113:/mnt/share/yocto-cache /home/tom/cache nfs ...
parsley72's user avatar
  • 1,054
2 votes
1 answer
7k views

NFS Permission Denied when mounting from WSL

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/...
cclloyd's user avatar
  • 812
0 votes
1 answer
490 views

Docker on Remote Host refused mount request : not exported

I have a windows host (10.10.1.28) I'm trying to connect to NFS shares (10.10.1.17) for docker volumes. My NFS export /etc/exports # This file is auto-generated by openmediavault (https://www....
MarkKGreenway's user avatar
0 votes
1 answer
2k views

How to enable NFS v2 in WSL2?

It only has v3 and v4, but my client (U-Boot) only supports v2 $ rpcinfo -p localhost | grep nfs 100003 3 tcp 2049 nfs 100003 4 tcp 2049 nfs 100003 3 udp 2049 nfs ...
Jks Liu's user avatar
  • 101
6 votes
2 answers
21k views

How to mount an NFS share on WSL2?

How can I mount an NFS share from WSL2 on Windows 10? sudo mount -t nfs 192.168.1.101:/mnt/tank /mnt/tank fails with mount.nfs: rpc.statd is not running but is required for remote locking. mount.nfs: ...
Jacob Pavlock's user avatar