Comment 0 for bug 1687273

Revision history for this message
Jonathan (jb-alvarado) wrote :

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)
linux-image-extra-4.4.0-75-generic:amd64 (4.4.0-75.96, automatic)
linux-headers-4.4.0-75-generic:amd64 (4.4.0-75.96, automatic)
linux-headers-4.4.0-75:amd64 (4.4.0-75.96, automatic)
Upgrade: libdns-export162:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.5, 1:9.10.3.dfsg.P4-8ubuntu1.6)
linux-headers-generic:amd64 (4.4.0.72.78, 4.4.0.75.81)
linux-libc-dev:amd64 (4.4.0-72.93, 4.4.0-75.96)
mysql-client-5.7:amd64 (5.7.17-0ubuntu0.16.04.2, 5.7.18-0ubuntu0.16.04.1)
libapt-inst2.0:amd64 (1.2.19, 1.2.20)
mysql-server-5.7:amd64 (5.7.17-0ubuntu0.16.04.2, 5.7.18-0ubuntu0.16.04.1)
libsystemd0:amd64 (229-4ubuntu16, 229-4ubuntu17)
linux-image-generic:amd64 (4.4.0.72.78, 4.4.0.75.81)
apt:amd64 (1.2.19, 1.2.20)
mysql-server:amd64 (5.7.17-0ubuntu0.16.04.2, 5.7.18-0ubuntu0.16.04.1)
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-core-5.7:amd64 (5.7.17-0ubuntu0.16.04.2, 5.7.18-0ubuntu0.16.04.1)
libisc-export160:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.5, 1:9.10.3.dfsg.P4-8ubuntu1.6)
linux-virtual:amd64 (4.4.0.72.78, 4.4.0.75.81)
systemd-sysv:amd64 (229-4ubuntu16, 229-4ubuntu17)
distro-info-data:amd64 (0.28ubuntu0.2, 0.28ubuntu0.3)
systemd:amd64 (229-4ubuntu16, 229-4ubuntu17)
mysql-common:amd64 (5.7.17-0ubuntu0.16.04.2, 5.7.18-0ubuntu0.16.04.1)
apt-utils:amd64 (1.2.19, 1.2.20)
libmysqlclient20:amd64 (5.7.17-0ubuntu0.16.04.2, 5.7.18-0ubuntu0.16.04.1)
linux-headers-virtual:amd64 (4.4.0.72.78, 4.4.0.75.81)
linux-image-extra-virtual:amd64 (4.4.0.72.78, 4.4.0.75.81)
thermald:amd64 (1.5-2ubuntu3, 1.5-2ubuntu4)
qemu-guest-agent:amd64 (1:2.5+dfsg-5ubuntu10.10, 1:2.5+dfsg-5ubuntu10.11)
libfreetype6:amd64 (2.6.1-0.1ubuntu2.1, 2.6.1-0.1ubuntu2.2)
linux-image-virtual:amd64 (4.4.0.72.78, 4.4.0.75.81)
libdpkg-perl:amd64 (1.18.4ubuntu1.1, 1.18.4ubuntu1.2)
mysql-server-core-5.7:amd64 (5.7.17-0ubuntu0.16.04.2, 5.7.18-0ubuntu0.16.04.1)
libxslt1.1:amd64 (1.1.28-2.1, 1.1.28-2.1ubuntu0.1)
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