There is a new pull request by andry-dev against master on the void-packages repository https://github.com/andry-dev/void-packages samba-gluster https://github.com/void-linux/void-packages/pull/27300 Samba: add clustering functionality. I waited for Samba 4.X to get merged to create this PR. I didn't want to interfere with the original one because it was pretty important. This PR enables the cluster module (`ctdb`) and the GlusterFS VFS: - The GlusterFS VFS (`/usr/lib/samba/glusterfs_vfs.so`) is needed to improve I/O performance with GlusterFS volumes. This is enabled automatically if `waf` can find the Gluster libraries, so to make it work it's only needed to add `glusterfs-devel` in the `makedepends` for `samba` and that's it. - The `ctdb` module is needed to keep track of TDB across various nodes in a cluster, so that a share can be exposed as a single IP and resume operations in case of node failures. This is generally used in conjunction with Gluster, Ceph or other distributed filesystems. Enabling both modules doesn't break existing users since these features are opt-in: for the Gluster VFS you specifically need to enable it in a share definition (see [vfs_glusterfs(8)](https://www.samba.org/samba/docs/current/man-html/vfs_glusterfs.8.html)); for `ctdb` you need to enable and configure the daemon `ctdbd`. A patch file from https://github.com/void-linux/void-packages/pull/27300.patch is attached