I'm not 100% sure, that cifs-utils is the only problem, but since last update from ubuntu 16.04.2, last night, my servers are randomly not able to read and write from shared folders. I got this message:
lsof: WARNING: can't stat() cifs file system /mnt/record
Output information may be incomplete.
lsof: WARNING: can't stat() cifs file system /mnt/record
Output information may be incomplete.
lsof: WARNING: can't stat() cifs file system /mnt/record
Output information may be incomplete.
...
rsync: ERROR: cannot stat destination "/mnt/record/": Host is down (112)
rsync error: errors selecting input/output files, dirs (code 3) at main.c(652) [Receiver=3.1.1]
This comes from my cron script.
When I type df -h it takes sometimes very long to get the list. And it also can be that the mounted share is disconnected and I have to mount -a (what also takes long) again.
I'm not 100% sure, that cifs-utils is the only problem, but since last update from ubuntu 16.04.2, last night, my servers are randomly not able to read and write from shared folders. I got this message:
lsof: WARNING: can't stat() cifs file system /mnt/record
Output information may be incomplete.
lsof: WARNING: can't stat() cifs file system /mnt/record
Output information may be incomplete.
lsof: WARNING: can't stat() cifs file system /mnt/record
Output information may be incomplete.
...
rsync: ERROR: cannot stat destination "/mnt/record/": Host is down (112)
rsync error: errors selecting input/output files, dirs (code 3) at main.c(652) [Receiver=3.1.1]
This comes from my cron script.
When I type df -h it takes sometimes very long to get the list. And it also can be that the mounted share is disconnected and I have to mount -a (what also takes long) again.
My fstab have this command:
//address /mnt/storage cifs auto,nofail, iocharset= utf8,rw, credentials= /path/. smb,uid= 1000,gid= 1000,file_ mode=0660, dir_mode= 0770 0 0
My update list from last night was this:
linux-image- 4.4.0-75- generic: amd64 (4.4.0-75.96, automatic) extra-4. 4.0-75- generic: amd64 (4.4.0-75.96, automatic) 4.4.0-75- generic: amd64 (4.4.0-75.96, automatic) 4.4.0-75: amd64 (4.4.0-75.96, automatic) export162: amd64 (1:9.10. 3.dfsg. P4-8ubuntu1. 5, 1:9.10. 3.dfsg. P4-8ubuntu1. 6) generic: amd64 (4.4.0.72.78, 4.4.0.75.81) dev:amd64 (4.4.0-72.93, 4.4.0-75.96) 5.7:amd64 (5.7.17- 0ubuntu0. 16.04.2, 5.7.18- 0ubuntu0. 16.04.1) inst2.0: amd64 (1.2.19, 1.2.20) 5.7:amd64 (5.7.17- 0ubuntu0. 16.04.2, 5.7.18- 0ubuntu0. 16.04.1) generic: amd64 (4.4.0.72.78, 4.4.0.75.81) 0ubuntu0. 16.04.2, 5.7.18- 0ubuntu0. 16.04.1) core-5. 7:amd64 (5.7.17- 0ubuntu0. 16.04.2, 5.7.18- 0ubuntu0. 16.04.1) export160: amd64 (1:9.10. 3.dfsg. P4-8ubuntu1. 5, 1:9.10. 3.dfsg. P4-8ubuntu1. 6) info-data: amd64 (0.28ubuntu0.2, 0.28ubuntu0.3) 0ubuntu0. 16.04.2, 5.7.18- 0ubuntu0. 16.04.1) 0:amd64 (5.7.17- 0ubuntu0. 16.04.2, 5.7.18- 0ubuntu0. 16.04.1) virtual: amd64 (4.4.0.72.78, 4.4.0.75.81) extra-virtual: amd64 (4.4.0.72.78, 4.4.0.75.81) agent:amd64 (1:2.5+ dfsg-5ubuntu10. 10, 1:2.5+dfsg- 5ubuntu10. 11) 0.1ubuntu2. 1, 2.6.1-0.1ubuntu2.2) virtual: amd64 (4.4.0.72.78, 4.4.0.75.81) core-5. 7:amd64 (5.7.17- 0ubuntu0. 16.04.2, 5.7.18- 0ubuntu0. 16.04.1) 2.1ubuntu0. 1)
linux-image-
linux-headers-
linux-headers-
Upgrade: libdns-
linux-headers-
linux-libc-
mysql-client-
libapt-
mysql-server-
libsystemd0:amd64 (229-4ubuntu16, 229-4ubuntu17)
linux-image-
apt:amd64 (1.2.19, 1.2.20)
mysql-server:amd64 (5.7.17-
udev:amd64 (229-4ubuntu16, 229-4ubuntu17)
libapt-pkg5.0:amd64 (1.2.19, 1.2.20)
libudev1:amd64 (229-4ubuntu16, 229-4ubuntu17)
cifs-utils:amd64 (2:6.4-1ubuntu1, 2:6.4-1ubuntu1.1)
dpkg:amd64 (1.18.4ubuntu1.1, 1.18.4ubuntu1.2)
mysql-client-
libisc-
linux-virtual:amd64 (4.4.0.72.78, 4.4.0.75.81)
systemd-sysv:amd64 (229-4ubuntu16, 229-4ubuntu17)
distro-
systemd:amd64 (229-4ubuntu16, 229-4ubuntu17)
mysql-common:amd64 (5.7.17-
apt-utils:amd64 (1.2.19, 1.2.20)
libmysqlclient2
linux-headers-
linux-image-
thermald:amd64 (1.5-2ubuntu3, 1.5-2ubuntu4)
qemu-guest-
libfreetype6:amd64 (2.6.1-
linux-image-
libdpkg-perl:amd64 (1.18.4ubuntu1.1, 1.18.4ubuntu1.2)
mysql-server-
libxslt1.1:amd64 (1.1.28-2.1, 1.1.28-
dpkg-dev:amd64 (1.18.4ubuntu1.1, 1.18.4ubuntu1.2)
I saw that somebody else has the same problem:
https:/ /askubuntu. com/questions/ 910058/ updates- broke-cifs- smb-mounts- in-16-04
Regards