Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8621

Beginners • Re: /etc/fstab including userid

$
0
0
Well, I've made progress - by switching from NFS to CIFS

I can acess the NAS using

Code:

sudo mount -t cifs -o username=myuser,password=mypassword //192.168.0.233/SharedData/dcc /home/pi/Mona2
But now I can't figure out how to translate this into an fstab entry

Trying:

Code:

//192.168.0.233:/SharedData/dcc /home/pi/Mona2 cifs rw,relatime,vers=2.1,cache=strict,username=myuser,password=mypassword,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.0.233,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,reparse=nfs,rsize=1048576,wsize=1048576,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1 0 0
Doesn't work - and gives no errors

It's in the guide I linked to earlier.

Statistics: Posted by thagrol — Fri Jan 30, 2026 7:51 pm



Viewing all articles
Browse latest Browse all 8621

Trending Articles