[Pkg-samba-maint] Bug#843153: Provide a means to wake-up (reconnect) an existing share
martin f krafft
madduck at debian.org
Fri Nov 4 11:13:59 UTC 2016
Package: cifs-utils
Version: 2:6.6-1
Severity: wishlist
After a laptop suspend, SMB sessions are usually disconnected on the
server, and even the client will have a hard time just resuming.
This will either lead to soft-errors or hard-blocks, until on the
client, eventually, the kernel states
kernel: [27763.247021] CIFS VFS: Server samba.example.org has not
responded in 120 seconds. Reconnecting…
and reconnects.
One way around this is to lazy-umount the shares, and to remount
them, but that's not easily done with e.g. libpam-mount, and it also
doesn't solve the issue with open inodes.
I don't really want to shorten the 120 seconds (and I wouldn't know
how, there seems to be no mount option), but what would be great
would be a way to prod the share and make it wake-up (i.e.
reconnect), e.g.
mount.cifs --resume -a
which would immediately cause a reconnection, not only after 120
seconds. This could then be executed by systemd for the resume
target…
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages cifs-utils depends on:
ii libc6 2.24-5
ii libcap-ng0 0.7.7-3
ii libkeyutils1 1.5.9-9
ii libkrb5-3 1.14.3+dfsg-2
ii libtalloc2 2.1.8-1
ii libwbclient0 2:4.4.7+dfsg-1
ii samba-common 2:4.4.7+dfsg-1
cifs-utils recommends no packages.
Versions of packages cifs-utils suggests:
pn keyutils <none>
pn smbclient <none>
pn winbind <none>
-- no debconf information
--
.''`. martin f. krafft <madduck at d.o> @martinkrafft
: :' : proud Debian developer
`. `'` http://people.debian.org/~madduck
`- Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1089 bytes
Desc: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20161104/74b78f77/attachment.sig>
More information about the Pkg-samba-maint
mailing list