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 ?


2 Answers 2


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.

  • drvfs... not mentioned anywhere else.
    – WernerCD
    Dec 10, 2019 at 23:53
  • finally something that works. everytime from mount -t smbfs through cifs didn't work
    – Jacob
    Mar 1, 2020 at 19:51
  • You saved my day. I successfully migrated my scripts using cifs by using this in WSL Ubuntu. By chance the remote server I access is with my Windows credentials.
    – рüффп
    May 6, 2020 at 12:34
  • 1
    Using rsync + drvfs on the linux versus versus robocopy + native file transfer was dramatically slower (drvfs) by a factor of 4.
    – Screenack
    Apr 3, 2021 at 12:49
  • This works in fstab too: //server/share /mnt/share drvfs
    – Andrew
    May 8 at 8:30

your Ubuntu can not find cifs in filesystem. it is not necessary to add cifs.ko to kernel. you can dreat it in menuconfig in kernel und choose cifs in filesystem. after that copy the new zImage

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.