I have been able to mount a NAS hosted file share residing on a Debian server with a legacy method in fstab using:
//192.168.1.xxx/xxx /xxx cifs rw,username=xxx,password=xxx,dir_mode=0777,filemode=0777,vers=1.0
I upgraded to the latest version of RaspiOS and the and the file share will no longer mounts at boot time.
When I attempt to do sudo mount -a I get:
"mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
mount: (hint) your fstab has been modified, but systemd still uses
the old version; use 'systemctl daemon-reload' to reload."
going through man 8 mount.cfs, I am unable to find out what has changed regarding the arguments between the current RaspiOS, download in September 2024, and the one that was downloaded at the beginning of 2024
I have been using the text of this line in fstab for several years, on different versions of Rasberry Pi devices since the Raspberry Pi was introduced.
What has changed with the argument requirements for cifs mounts in the latest version of RaspiOS?
How can I troubleshoot this problem?
//192.168.1.xxx/xxx /xxx cifs rw,username=xxx,password=xxx,dir_mode=0777,filemode=0777,vers=1.0
I upgraded to the latest version of RaspiOS and the and the file share will no longer mounts at boot time.
When I attempt to do sudo mount -a I get:
"mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
mount: (hint) your fstab has been modified, but systemd still uses
the old version; use 'systemctl daemon-reload' to reload."
going through man 8 mount.cfs, I am unable to find out what has changed regarding the arguments between the current RaspiOS, download in September 2024, and the one that was downloaded at the beginning of 2024
I have been using the text of this line in fstab for several years, on different versions of Rasberry Pi devices since the Raspberry Pi was introduced.
What has changed with the argument requirements for cifs mounts in the latest version of RaspiOS?
How can I troubleshoot this problem?
Statistics: Posted by orignal_traveler — Thu Oct 03, 2024 8:39 pm