[Gluster-devel] Gluster and FreeBSD

Nithya Balachandran nbalacha at redhat.com
Fri Sep 9 12:37:41 UTC 2016


I recently debugged a problem [1] where linkfiles were not created properly
a gluster volume created using bricks running UFS . Whenever a linkfile was
created, the sticky bit was not set on it causing the same file to be
listed twice.

>From  https://www.freebsd.org/cgi/man.cgi?query=chmod&sektion=2

The FreeBSD VM system totally ignores the sticky bit (S_ISVTX) for
executables. On UFS-based file systems (FFS, LFS) the sticky bit may only
be set upon directories.

Based on this I do not think we can support UFS bricks for gluster volumes.
However, I have not worked with FreeBSD so I would like folks who have to
let me know if this is correct or if there is something I am missing.

I was able to force the sticky bit on a file using a testfile attached to
[1] but it is not straightforward and I am reluctant to propose this.


[1] https://bugzilla.redhat.com/show_bug.cgi?id=1176011
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20160909/2f00a17e/attachment.html>

More information about the Gluster-devel mailing list