Fstab parse error with cifs

Please post all general support questions for LXDE here.
Locked
alexandru
Posts: 1
Joined: Sat Feb 29, 2020 1:52 pm

Fstab parse error with cifs

Post by alexandru »

Hello guys,

I'm new here, so my problem description below.
I am trying to auto mount a network location at startup. The network location in a home made prepared with samba and RPI3B+.
If I am trying to manually mount everythig work well with the following command.
sudo mount.cifs "//192.168.0.***/RaspberryPi NAS" /mnt/share/RpiShare/ -o user=******,pass=*****
*- is used for confidentiality.
Therefore if i edit the etc/fstab with the following command.
"//192.168.0.***/RaspberryPi NAS" /mnt/share/RpiShare cifs username=*******,password=**** 0 0
I got the following syntax error.
mount: /etc/fstab: parse error at line 16 -- ignored
Can you help me with some suggestions.
Thank you very much !

Alexandru
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: Fstab parse error with cifs

Post by drooly »

Apart from the * it looks ok to me, but I'm not sure the double quotes are required.
What exactly is at line 16?
Please use code tags to show us that code.
Locked