Mount FreeNas Windows Share from Linux

The usual syntax for mounting a Windows Share will fail with “Operation not supported” or similar.

You need an extra parameter to specify the SMB version used.

This will fail:

mkdir /mnt/freenas

mount -t cifs -o username=user, password=secret //<ip addreess of server>/share /mnt/freenas

Add the vers=3.0

Change the mount command options to include the SMB client protocol version for success:

mount -t cifs -o username=user, password=secret,vers=3.0 //<ip addreess of server>/share /mnt/freenas

e.g.

mount -t cifs -o username=nelsoj,password=strongsecret,vers=3.0 //192.168.1.100/share /mnt/freenas

Leave a Reply