I have a typical home network with a number of NAS servers of different vintages and protocols, each with fixed IP addresses, and at least 6 linux machines of various configurations. The setup has worked fine for many years, until during the last year when one old NAS (an Iomega Network disc drive running SMB1) started becoming inaccessible as I updated various machines. (newer NASs running smb2 or above are fine)
- Firstly two machines that I upgraded to 24.04 failed to access it either using a manual mount (either using fstab or CL mount, as below) or gvfs,
fstab: //192.168.4.100/PUBLIC /mnt/musicserver cifs guest,rw,uid=1000,gid=1000,vers=1.0,iocharset=utf8 0 0 no gvfs mount mount: 2.39.3-9ubuntu6.2, cifs-utils: 2:7.0-2build1; gvfs: 1.54.0-1ubuntu2
- then a machine with Studio 22.04 after an update started failing with a manual mount (it had worked fine before), but still works with gvfs (albeit after having to manually install gvfs-fuse, so I could see it on its mountpoint).
fstab: //192.168.4.100/PUBLIC /mnt/musicserver1 cifs noexec,_netdev,uid=1000,guest,vers=1.0,iocharset=utf8 0 0 gvfs: /run/user/1000/gvfs/'smb-share:server=musicserver1,share=public' mount 2.37.2-4ubuntu3.4, cifs-utils: 2:6.14-1ubuntu0.1, gvfs: 1.48.2-0ubuntu1
- Access to the NAS still works fine with some old chromeboxes running 18.04 Gallium distro
Gallium Distro Ubuntu 18.04 //192.168.4.100/PUBLIC /mnt/musicserver cifs guest,rw,uid=1000,gid=1000,vers=1.0,iocharset=utf8 0 0 GVFS via Thunar 1.6.15: /run/user/1000/gvfs/smb-share:server=musicserver1,share=public mount ver: 2.31.1-0.4ubuntu3.7, cifs-utils: 2:6.8-1ubuntu1.2
The symptom is that the drive seems to mount fine (I can see the mounted device, e.g. using "mount - t cifs" and I can also see the drive and it's size/used/free in "df -Th", so I am pretty sure it's mounted), but when I try to access it, e.g. by ls, I receive an input/output error. Access via Nautilus and manual mount just says "Folder is Empty". I don't see anything untoward in the basic logs or on dmesg.
It seems that something got changed in some recent update, maybe in the kernel? or in mount.cifs? I've searched all over and don't find anything online regarding this issue. I've also tried all sorts of different mount options (e.g. nounix), but nothing works - and anyway, I don't think the issue is mounting, but something else.
I know I should spring for a new NAS but this one works and it's in a closed environment so security is less of a concern. Anyone got any ideas, please?
Happy to investigate and post whatever might help diagnose this