Hi folks, we are running a clustered Samba Fileserver using CTDB with two public IPs. We observed the following (mis) behavior: If user A with write permissions opens an excel file via public ip A and User B opens the same file via public ip B, both users get a Deny-Write lock on the same file and overwrite each others changes: 0:3693691 145522 DENY_WRITE 0x12019f RDWR LEASE(RWH) /srv/test test.xlsx Thu Apr 18 08:23:38 2024 1:3437621 0 DENY_WRITE 0x12019f RDWR LEASE(RWH) /srv/test test.xlsx Thu Apr 18 08:19:33 2024 Is this a bug or maybe a misconfiguration? In the latter, which parameters could cause this? We are using sernet packages 4.18.11 on ubuntu 22.04 kernel 5.15.0-102 Best regards Felix --------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Stefan M?ller Geschaeftsfuehrung: Prof. Dr. Astrid Lambrecht (Vorsitzende), Karsten Beneke (stellv. Vorsitzender), Dr. Ir. Pieter Jansens, Prof. Dr. Frauke Melchior --------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------
Hi Felix, On 4/18/24 08:33, Stolte, Felix via samba wrote:> Is this a bug or maybe a misconfiguration? In the latter, which parameters could cause this?I guess the nodes end up using different combinations of dev/inode as primary key for the locking.tdb record. Probably because the device numbers differ on the nodes and you didn't fix this known issue with GPFS with the fileid VFS module. I think we have a section about this in the wiki, wait... ...yes, here it is: <https://wiki.samba.org/index.php/Configuring_clustered_Samba#IBM_GPFS_filesystem> -slow -- SerNet Samba Team Lead Samba Support, Consulting and Development Samba Team Member https://samba.org/ SAMBA+ packages https://samba.plus/ -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature.asc Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20240418/3ae715bb/OpenPGP_signature.sig>