[Gluster-users] set volume locking without shutting off server

Kaushal M kshlmster at gmail.com
Sat Jul 4 08:35:31 UTC 2015

Which version of GlusterFS are you using?

The locks translator should be enabled by default for all volumes for
the latest versions (IIRC 3.5 and above). So you wouldn't need to do
anything. To verify you can check the generated brick volfiles in
/var/lib/glusterd/vols/<VOL>/<brick-name>.vol .

Also, are you really creating GlusterFS bricks on NFS mounts? That
doesn't work..


On Sat, Jul 4, 2015 at 7:16 AM, Jordan Willis <jwillis0720 at gmail.com> wrote:
> Hi,
> Is it possible to enable posix type locking with glusterfs without shutting
> off the volume?
> I think this is what I need (I’m trying to get sqlite to lock files on my
> nfs mounted glusterfs volume)
> volume locks
>   type features/locks
>   subvolumes brick
> end-volume
> Can you enable this with the gluster volume set command in some way? If not,
> do I just add those lines to the /etc/glusterfs/gluster.vol file and turn
> off and on the volume, or how would I reload that file. I manually started
> the current fs with the following. I’m confused on where I should actually
> enable the locking.
> gluster volume create  myvolume nfs_mount_1 nfs_mount_2 …nfs_mount_N
> gluster volume start myvolume
> Thanks so much,
> Jordan
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users

More information about the Gluster-users mailing list