I have a DS220+ on my network (ethernet), and two computers: A Thinkpad with Xubuntu 22.04, and a desktop, also with Xubuntu 22.04, but installed yesterday on a new M.2 disk. The following line in /etc/fstab works fine in the Thinkpad, but errors out on the desktop
Code:
192.168.1.164:/volume1/Synology /media/jjj/Synology2 nfs auto,user 0 1
After much searching I discovered that the desktop needed mount.nfs, and the command needs to be:
Code:
sudo /sbin/mount.nfs 192.168.1.164:/volume1/Synology /media/jjj/Synology2
The command works, but I need to make it work in the desktop's /etc/fstab so the Synology will automatically be mounted on boot. I tried prepending /sbin/mount.nfs to the above line, but it didn't work. Can someone help with the syntax for the desktop's /etc/fstab?
I would also like to know why the above line in the Thinkpad's /etc/fstab has worked for years, but the freshly installed 22.04 on the desktop needs /sbin/mount.nfs. I don't absolutely have to know the answer, but I'm curious, 'cause it makes no sense to me.
Linguistics on Linux!