[Samba] CTDB and locking issues in 4.4.6 (Classic domain)

Volker Lendecke vl at samba.org
Fri Nov 4 07:12:02 UTC 2016


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.

Volker



More information about the samba mailing list