[Samba] Randomly occurring file losses on samba share
Ralph Böhme
rb at sernet.de
Wed Apr 8 14:06:21 MDT 2015
On Wed, Apr 08, 2015 at 06:34:42PM +0200, Andreas Huppert wrote:
> having migrated from OSX Server with AFP filesharing, we've
> experienced a problem with randomly occurring file losses on our
> samba server. Due to the fact we were not able to reproduce the
> problem reliably, we are quite clueless what could cause this
> behavior and therefore desperately looking for any hints.
>
> The Server in question is running Ubuntu 14.04LTS with the Version
> of Samba being '4.1.6+dfsg-1ubuntu2.14.04.7'. It is set up to
> retrieve its users from an LDAP directory using libnss-ldapd while
> authentication is done via Kerberos. File permissions are controlled
> by POSIX-ACLs on top of an ext4 filesystem.
>
> On the client side, there are clients running Mac OSX 10.9.5 or Mac
> OSX 10.10.2. The connection to the server is established using
> built-in 'Finder' functions.
>
> Server and clients are provided with latest updates.
>
> The Problem was recognized while working on MS Office documents,
> whereby the affected documents were first saved and closed by one
> client, later opened by another client (while the first client was
> still connected to the share), and disappeared shortly after the
> second client saved (and closed) the edited file. The file can be
> restored via extundelete but then may contain content of another
> file. (In a particular example a restored .docx file contained
> content of a .xlsx file that was edited in a timely manner on the
> same share).
>
> We're unsure whether the problem is located in Finder, MS Office or
> samba itself, but quite confident it is related to the new samba
> environment, because this behavior was never observed before, with
> nearly identical share structure, when AFP was used. Maybe it's
> worth to note that normal users are not allowed to write to the
> first level of a share.
sounds like a client side issue to me, but that's just guessing
without drilling into traces.
Is it reproducible? If yes, please file a bugreport and attach a network
trace showing the issue.
-Ralph
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de,mailto:kontakt@sernet.de
More information about the samba
mailing list