[Gluster-devel] posix-locks and afr

Krishna Srinivas krishna at zresearch.com
Mon May 12 06:46:38 UTC 2008


Jeroen,

Can you detail on the setup including the conf files?

Thanks
Krishna

On Sat, May 10, 2008 at 9:53 PM, Jeroen Koekkoek <jtm.koekkoek at home.nl> wrote:
> Hi Everybody,
>
> I'm planning on using glusterfs for the mailservers in my organisation. I
> configured glusterfs to do afr on the server side e.g. the client only
> connects to the localhost and the glusterfs daemon listening on the
> localhost replicates the files over the network. Since I need file locking,
> I used posix-lock/translator volumes and let the afr volume use the
> posix-lock volumes on both hosts as subvolumes. That however doesn't work. I
> can still lock the same file on both hosts at the same time.
>
> After doing some testing I found out that if I configure the client to do
> afr and use the posix-lock volumes as subvolumes in the client, fcntl
> locking does work.
>
> I'd like to know if more people ran into the same problem and if anybody has
> a solution. I'd also like to know if there are downsides to my current
> configuration.
>
> Thanks in advance.
>
> Regards, Jeroen
>
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>





More information about the Gluster-devel mailing list