How to mount Windows network disk in WSL
Backgroud
Mount samba directly in wsl like linux is difficult
Password for root@//filesystem.domain/root:
mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Solution
But is easily mount net disk in windows file manager. So if your windows share is already mapped to a drive in the Windows host, it can be even simpler.
Suppose you already mounted the share on Z:. In that case the following will work:[1]
sudo mkdir /mnt/z
sudo mount -t drvfs 'Z:' /mnt/z