You should use NFS, not CIFS for Unix-based NAS devices. Look up how to enable NFS.
While I wouldn't mount anything under /mnt that isn't just for temporary administrative needs, at least you didn't mount under /media and are stuck fighting with gvfs and/or gio crab mounts.
I don't know which versions of CIFS are supported by your NAS. I don't mount CIFS in the fstab. I use autofs, but here's an example mount with options:
Code:
win7ult -fstype=cifs,iocharset=utf8,rw,vers=2.1,uid=tf,gid=tf,file_mode=0664,dir_mode=0775,credentials=/etc/samba/win7-D.credentials ://172.22.22.8/Data
You can figure out the options, I'm certain.
Win7 supports only version 2.1.
autofs only mounts the storage when it is requested and while it is being used. If there aren't any open files on the mount, it will be automatically removed after 2 minutes. It is all automatic.
Here's an example NFS auto.nfs config:
Code:
/d/D1 -fstype=nfs,nconnect=2,proto=tcp,rw,async istar:/d/D1
In fact, this should work well enough, if you don't want the other options:
Code:
/d/D1 -fstype=nfs istar:/d/D1
That would be
Code:
istar:/d/D1 /d/D1 nfs defaults 0 0
In an fstab.
Bookmarks