to state up front: I am NOT using kerberos or anything else of that sort.
I am bringing up a new NAS (a Synology DS223j) and want to use NFS rather than cifs/SMB for nightly backups (because I think the problems I was having using cifs may be due to the huge number of hard links that rsnapshot uses)
So far I have, after considerable head-banging (never having used NFS on Linux, but on other Unixes decades ago) I have managed to get the backup volume (on the Synology box) working and a command-line mount on Linux, and backups now appear to run flawlessly.
(previously, for years I have used one or another inexpensive 2-drive āRaid boxesā that connected via USB, so I didnāt have to worry about network protocols.)
My issue is this: If I use ā-t nfsā in the mount command I get an error:
$ sudo mount -vvv -t nfs -o defaults,x-systemd.automount,auto,users,exec FcsHome-Backup3:/volume1/backup /mnt/backup
mount.nfs: timeout set for Tue Apr 22 14:06:04 2025
mount.nfs: trying text-based options āvers=4.2,addr=192.168.2.148,clientaddr=192.168.2.12ā
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options āvers=4,minorversion=1,addr=192.168.2.148,clientaddr=192.168.2.12ā
Iām referring to the āProtocol not supportedā line above.
if I modify the commandline, i.e., by removing ā-t nfsā it mounts fine.
I canāt find any docs that would explain that error.
if I build (what I think is) an equivalent entry in /etc/fstab:
//FcsHome-Backup3/volume1/backup /mnt/backup nfs defaults,x-systemd.automount,x-systemd.idle-timeout=ā15min 0sā,auto,users,exec 0 2
it also fails in the same way. Iāve tried nfs, nfs3, nfs4, nfsv4, nfsv4.1 and all of them elicit the warning about unsupported protocol.
Iām willing to omit that from the fstab file, but I canāt find out what the proper syntax is for doing that.
Can anyone here suggest how to either give an acceptable fstype in the commandline (and fstab) or how to omit it from fstab (without screwing up its knowledge of which field in its entry is which?
Thanks in advance!
Fred