Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NFS client under WSL - mount.nfs: No such device

I am getting the following error trying to mount a nfs export.

sudo mount 192.168.1.175:/mnt/nas /mnt/c/nas
mount.nfs: No such device

Any ideas on how to fix this?

like image 979
Ziffusion Avatar asked May 13 '17 11:05

Ziffusion


People also ask

How do I mount NFS on Windows?

The first thing we need to do is install the NFS Client which can be done by following the steps below: Step 1: Open Programs and Features. Step 2: Click Turn Windows features on or off. Step 3: Scroll down and check the option Services for NFS, then click OK.


1 Answers

As of October 2020: You can mount nfs with wsl2, but wsl2 itself requires a hardware virtualization available. See here: https://github.com/microsoft/WSL/issues/5838

like image 117
Ashark Avatar answered Sep 23 '22 23:09

Ashark