Ubuntu 14.04.1 & NAS

Since the post originally referenced mounting SMB shares on Ubuntu 14.04, I just wanted to mention that you can also configure Ubuntu to access the SMB share if you like. You need to install cifs-utils.

sudo apt-get install cifs-utils

Once you do that and create your mount points (for the example below, I did ‘mkdir /mnt/Tower/TV’ and ‘mkdir /mnt/Tower/Miovies’), you should be able to add the mounts you want to your /etc/fstab so they’ll be available after boot.

Append lines similar to the ones below to /etc/fstab, assuming you’re using a guest login for read-only access:

#TV
//tower/tv	/mnt/Tower/TV	cifs	ro,guest,uid=1000,gid=1000   0       0

#Movies
//tower/movies      /mnt/Tower/Movies   cifs   ro,guest,uid=1000,gid=1000   0       0

Then you can do a ‘mount -a’ to mount them and mount to confirm:

brian@UbuntuPM:~$ sudo mount -a
[sudo] password for brian: 
brian@UbuntuPM:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
//tower/tv on /mnt/Tower/TV type cifs (ro)
//tower/movies on /mnt/Tower/Movies type cifs (ro)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=brian)
brian@UbuntuPM:~$