On 04/11/16 07:12, Volker Lendecke wrote:> On Thu, Nov 03, 2016 at 09:21:46PM +0000, Alex Crow via samba wrote: >> [root at zalma ~]# stat testfile >> ... >> Size: 1286700 Blocks: 2514 IO Block: 65536 regular file >> Device: 29h/41d Inode: 35820037 Links: 1 >> Access: (0774/-rwxrwxr--) Uid: ( 3535/ jh3) Gid: ( 513/Domain Users) >> Access: 2016-11-03 19:51:46.000000000 +0000 >> Modify: 2016-11-01 13:06:04.000000000 +0000 >> Change: 2016-11-01 13:06:04.000000000 +0000 >> Birth: - >> [root at zalma ~]# ssh zearing "stat testfile" >> root at zearing's password: >> ... >> Size: 1286700 Blocks: 2514 IO Block: 65536 regular file >> Device: 29h/41d Inode: 35820037 Links: 1 >> Access: (0774/-rwxrwxr--) Uid: ( 3535/ jh3) Gid: ( 513/Domain Users) >> Access: 2016-11-03 19:51:46.000000000 +0000 >> Modify: 2016-11-01 13:06:04.000000000 +0000 >> Change: 2016-11-01 13:06:04.000000000 +0000 >> Birth: - >> [root at zalma ~]# ssh metropolis "stat testfile" >> root at metropolis's password: >> ... >> Size: 1286700 Blocks: 2514 IO Block: 65536 regular file >> Device: 26h/38d Inode: 35820037 Links: 1 >> Access: (0774/-rwxrwxr--) Uid: ( 3535/ jh3) Gid: ( 513/Domain Users) >> Access: 2016-11-03 19:51:46.000000000 +0000 >> Modify: 2016-11-01 13:06:04.000000000 +0000 >> Change: 2016-11-01 13:06:04.000000000 +0000 >> Birth: - >> >> NB this is a FUSE mounted FS. >> >> What does the Device: XXh/YYd mean? > That's the so-called device number. Unix concept from the early days. > > You can use > > vfs objects = fileid > > and > > fileid:mapping = fsname > > to fix this issue. > > VolkerCan that go in the global section so it applies to all shares? And this should fix the CTDB locking problem? If so, brilliant! Cheers Alex -- This message is intended only for the addressee and may contain confidential information. Unless you are that person, you may not disclose its contents or use it in any way and are requested to delete the message along with any attachments and notify us immediately. This email is not intended to, nor should it be taken to, constitute advice. The information provided is correct to our knowledge & belief and must not be used as a substitute for obtaining tax, regulatory, investment, legal or any other appropriate advice. "Transact" is operated by Integrated Financial Arrangements Ltd. 29 Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 7608 5300. (Registered office: as above; Registered in England and Wales under number: 3727592). Authorised and regulated by the Financial Conduct Authority (entered on the Financial Services Register; no. 190856).
Volker Lendecke
2016-Nov-04 07:21 UTC
[Samba] CTDB and locking issues in 4.4.6 (Classic domain)
On Fri, Nov 04, 2016 at 07:20:22AM +0000, Alex Crow wrote:> Can that go in the global section so it applies to all shares?Yep.> And this should fix the CTDB locking problem? If so, brilliant!Just try :-) Volker
On 04/11/16 07:21, Volker Lendecke wrote:> On Fri, Nov 04, 2016 at 07:20:22AM +0000, Alex Crow wrote: >> Can that go in the global section so it applies to all shares? > Yep. > >> And this should fix the CTDB locking problem? If so, brilliant! > Just try :-) > > VolkerIt wooooorks!!! Fantastic. I've been banging my head against the wall for the best part of a month on that, and the fix is so simple. However I will also get in touch with the FS devs and tell them about the difference in the Device ID. Thanks very much to all who have helped get to the bottom of this, much appreciated. Cheers, Alex -- This message is intended only for the addressee and may contain confidential information. Unless you are that person, you may not disclose its contents or use it in any way and are requested to delete the message along with any attachments and notify us immediately. This email is not intended to, nor should it be taken to, constitute advice. The information provided is correct to our knowledge & belief and must not be used as a substitute for obtaining tax, regulatory, investment, legal or any other appropriate advice. "Transact" is operated by Integrated Financial Arrangements Ltd. 29 Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 7608 5300. (Registered office: as above; Registered in England and Wales under number: 3727592). Authorised and regulated by the Financial Conduct Authority (entered on the Financial Services Register; no. 190856).