How to fix mount: unknown filesystem type 'smbfs'

Problem:

When you’re trying to mount a Windows network share using a command like

mount-smbfs-example.sh
sudo mount -t smbfs //Asus/store_n_go /mnt/

you see this error message:

mount-error.txt
mount: unknown filesystem type 'smbfs'

Solution

First ensure samba is installed

install-samba.sh
sudo apt install samba

then try again using cifs as filesystem type instead of smbfs:

mount-cifs-example.sh
sudo mount -t cifs //Asus/store_n_go /mnt/

Check out similar posts by category: Linux, Networking