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

Troubleshooting • Re: Mounting Synology Shared Folder

$
0
0
I changed the FSTAB file to the following

Code:

mount //192.168.1.179/volume1/homes/ /mnt/SynPi/homes cifs defaults,_netdev,uid=1000,credentials=/home/farrissfpi/passwords/credentials.txt,iocharset=utf8,vers=3.0,noperm,nofail,x-systemd.automount 0 0
Then I "refreshed the file with the following"

Code:

systemctl daemon-reload
Then I rebooted, and it went into emergency mode and said the root was locked.

Thankfully, I was reading the guide you wrote, had made a backup of my fstab file, and could restore and boot back up. I did not use sudo in the code, but I suspect I should not have used "mount" either because it is run on the root when it executes. Of course, I did not think of that until afterward.

Could you check if this is the correct line of code and let me know? I see why you said you were going to stop helping people a while back. It has to be frustrating, but this is all brand new to me, and I am learning. I appreciate the assistance and will pay forward when I understand more.

Code:

//192.168.1.179/volume1/homes/ /mnt/SynPi/homes cifs defaults,_netdev,uid=1000,credentials=/home/farrissfpi/passwords/credentials.txt,iocharset=utf8,vers=3.0,noperm,nofail,x-systemd.automount 0 0

Statistics: Posted by farrissf — Mon Mar 11, 2024 4:48 pm



Viewing all articles
Browse latest Browse all 5172

Trending Articles