Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

How can I load a NAS share with cifs using etc/fstab in Ubuntu server 20.04.1 running on a Rasberry Pi 3b+

$
0
0

I have a Rasberry Pi 3B+ running Ubuntu server 20.04.1. I am trying to load shares from my NAS at startup to use with minimserver music server library. After having done some web searching I have succesfully done this with the line below typed into the terminal at ubuntu@ubuntu.

sudo mount -t cifs //192.168.0.70/Playlists /home/ubuntu/Music/Playlists -o username=admin,password=mypassword,uid=1000,vers=1.0,sec=ntlm

However when I try to get this to load at startup by pasting it into etc/fstab using nano it doesn't load the share on startup and I am trying to work out how I can fix this.

I am pretty new to this and mostly understand the above line. Does the line need to be amended somehow to work in etc/fstab? Not completely sure what -t and -o do though. I think first is to do with the version of smb that is needed and second is something to do with security, so thanks for any help anyone can give me.


Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>