Regular recoverable disconnections over SAMBA on OSX clients
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 16.04.02 running SAMBA 4.3.11, various OS X (or macOS now) clients have issues with our SAMBA server which uses ZFS as the filesystem.
During their regular work, it seems nothing that can be pinned down, every share the system is connected to will disconnect with a notification from macOS. This occurs on our Yosemite, El Cap, and Sierra clients. The systems can be remounted immediately without needing a reboot or resetting services.
This happens anywhere between once and many times a day, but there is not a day that goes by where it doesn't happen once.
The ZFS pool is basic but large (10 pools of 10 disks in a z2), and there is a 128GB of ram dedicated to caching. There have been no reported issues with ZFS that I can see. No errors, missing devices, corruption, etc... The pool is set xattr=sa.
As you can see from the attached smb.conf, fruit is active and configured. We have tried countless variations of the smb.conf but COULD have missed something, so invite enquiries there.
More details: The server is connected over a lagged connection to a switch then served to the clients. Some clients are connecting through a Dell switch and some through a Supermicro switch, both with their own LAG. This doesn't seem to matter.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: samba 2:4.3.11+
ProcVersionSign
Uname: Linux 4.4.0-59-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Wed Feb 22 20:45:15 2017
InstallationDate: Installed on 2017-02-02 (19 days ago)
InstallationMedia: ShareOS 16.04.1 2017.02.01 amd64 "ShareOS Xenial"
NmbdLog:
OtherFailedConnect: Yes
ProcEnviron:
LANGUAGE=en_US
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SambaServerRegr
SmbConfIncluded: Yes
SmbLog:
SourcePackage: samba
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- Regular recoverable disconnections on OSX clients + Regular recoverable disconnections over SAMBA on OSX clients |
description: | updated |
Hello and thank you for filing this bug report!
This does seem like a real bug, but it might be quite tricky to debug, as there are several different axis to consider.
Is it possible to:
a) Reproduce this without ZFS (just for testing, in a separate share)
b) Reproduce this with newer Ubuntu (just for testing, yakkety would be interesting, but zesty is probably better initially, only because we need to ensure it is fixed in the latest release).
c) Does it happen to Ubuntu Samba clients? Or only MacOS? Is it possibly a bug in MacOS?
d) I don't know much about networking itself, but if we could remove the nuances of the local configuration and reproduce it with a simple setup (one server and one client on a single switch using a standard filesystem backing the NFS share), then I think we can more readily debug the issue.
Thanks!
-Nish