Windows share folder mount error: cifs filesystem not supported by the system

0

I am trying to mount a windows share folder that is on the local network on the windows ubuntu terminal The command is:

sudo mount -t cifs //xxx.xxx.x.xxx/foldername /mnt/x -o user=username

But I have:

mount error: cifs filesystem not supported by the system mount error(19): No such device

What can I do to mount my ubuntu terminal to my local windows share folder ?

Darky

Posted 2019-10-13T13:35:09.093

Reputation: 1

1

See this link and scroll down to answer by BW-userx.....https://www.linuxquestions.org/questions/linux-newbie-8/mount-error-cifs-filesystem-not-supported-by-the-system-4175593855/

– Moab – 2019-10-13T13:40:39.710

This may help https://github.com/microsoft/WSL/issues/4423. OP did it with /etc/fstab.

– Biswapriyo – 2019-10-13T18:17:25.840

Thanks for the links, is all working now. Thanks for the help. – Darky – 2019-10-15T09:20:42.110

Answers

1

I got it working with Microsoft's drvfs provider, as described in: https://blogs.msdn.microsoft.com/wsl/2017/04/18/file-system-improvements-to-the-windows-subsystem-for-linux/

sudo mount -t drvfs '\\server\share' /mnt/share

Leave out the -o option with credentials, as it grabs those from Windows.

tholesen

Posted 2019-10-13T13:35:09.093

Reputation: 111

drvfs... not mentioned anywhere else. – WernerCD – 2019-12-10T23:53:02.977