Enabling GlusterFS quota on a volume does not work, as the auxiliary mount parent directory is missing. Reproducible: Always Steps to Reproduce: 1. gluster volume quota <VOLUME> enable Actual Results: quota: Could not start quota auxiliary mount Quota command failed. Please check the cli logs for more details tail -n 2 /var/log/glusterfs/cli.log [2014-11-18 10:39:06.956276] E [cli-cmd-volume.c:1036:gf_cli_create_auxiliary_mount] 0-cli: Failed to create auxiliary mount directory /var/run/gluster/<VOLUME>/. Reason : No such file or directory [2014-11-18 10:39:06.956351] I [input.c:36:cli_batch] 0-: Exiting with: -1 Expected Results: volume quota : success There's already an upstream bug report at https://bugzilla.redhat.com/show_bug.cgi?id=1117888 In the meantime, adding the following checkpath directive to the init script (/etc/init.d/glusterd), solves the problem: start_pre() { # Ensure that the GlusterFS auxiliary mount parent directory exists checkpath --directory --owner root:root --mode 0700 /var/run/gluster }
Good catch mate, thanks; +*glusterfs-3.5.3 (23 Mar 2015) + + 23 Mar 2015; Ultrabug <ultrabug@gentoo.org> -glusterfs-3.3.0.ebuild, + -glusterfs-3.4.2-r1.ebuild, -glusterfs-3.4.4.ebuild, + -glusterfs-3.4.4-r2.ebuild, -glusterfs-3.5.1.ebuild, -glusterfs-3.5.2.ebuild, + +glusterfs-3.5.3.ebuild, +files/glusterd-r2.initd: + version bump, drop old and vulnerable wrt #541540, fix #536606 thx to Jaco + Kroon, fix #529676 thx to Christian Affolter +