Re: [Gluster-users] File locking...

2017-06-02 Thread Joe Julian
Yes, the fuse client is fully posix.

On June 2, 2017 5:12:34 AM PDT, Krist van Besien  wrote:
>Hi all,
>
>A few questions.
>
>- Is POSIX locking enabled when using the native client? I would assume
>yes.
>- What other settings/tuneables exist when it comes to file locking?
>
>Krist
>
>
>-- 
>Vriendelijke Groet |  Best Regards | Freundliche Grüße | Cordialement
>--
>Krist van Besien | Senior Architect | Red Hat EMEA Cloud Practice |
>RHCE |
>RHCSA Open Stack
>@: kr...@redhat.com | M: +41-79-5936260

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users

[Gluster-users] File locking...

2017-06-02 Thread Krist van Besien
Hi all,

A few questions.

- Is POSIX locking enabled when using the native client? I would assume yes.
- What other settings/tuneables exist when it comes to file locking?

Krist


-- 
Vriendelijke Groet |  Best Regards | Freundliche Grüße | Cordialement
--
Krist van Besien | Senior Architect | Red Hat EMEA Cloud Practice | RHCE |
RHCSA Open Stack
@: kr...@redhat.com | M: +41-79-5936260
___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users

[Gluster-users] File locking while using NFS

2014-01-09 Thread Chris Clarke
Hi,

Scenario - 3 servers each with 1 brick of storage on their local disk.
 These 3 bricks make up a distributed Gluster volume.  This volume is
mounted using the fuse client on all 3 servers so they can all concurrently
access the files stored on the shared filesystem.

As I understand it, Gluster will handle file locking and concurrency across
the 3 nodes.  Is that true?

Does gluster also handle the file locking if each of the 3 servers mounts
the gluster volume as NFS (mount -t localhost:/blah /blah) or is locking
then handled by each NFS daemon so it would not lock across the different
servers?

I may not be explaining this very well but I'd welcome your input!!

Thanks

Chris

-- 
Confidentiality: This e-mail and its attachments are intended for the above 
named only and may be confidential. If they have come to you in error you 
must take no action based on them, nor must you copy or show them to 
anyone, please reply to this e-mail and highlight the error.

Security Warning: Please note that this e-mail has been created in the 
knowledge that Internet e-mail is not a 100% secure communications medium. 
We advise that you understand and observe this lack of security when 
e-mailing us.

Viruses: Although we have taken steps to ensure that this e-mail and 
attachments are free from any virus, we advise that in keeping with good 
computing practice the recipient should ensure they are actually virus free.

Centiq Ltd
Registered in England with number 3593921.
Registered office: Unit 1, Charles Park, Charles Way, Cinderhill Road, 
Nottingham, NG6 8RF
___
Gluster-users mailing list
Gluster-users@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] File locking while using NFS

2014-01-09 Thread Vijay Bellur

On 01/09/2014 09:06 PM, Chris Clarke wrote:

Hi,

Scenario - 3 servers each with 1 brick of storage on their local disk.
  These 3 bricks make up a distributed Gluster volume.  This volume is
mounted using the fuse client on all 3 servers so they can all
concurrently access the files stored on the shared filesystem.

As I understand it, Gluster will handle file locking and concurrency
across the 3 nodes.  Is that true?

Does gluster also handle the file locking if each of the 3 servers
mounts the gluster volume as NFS (mount -t localhost:/blah /blah) or is
locking then handled by each NFS daemon so it would not lock across the
different servers?


All locking in glusterfs is handled by the locks translator in the brick 
processes. No locking is local to a gluster NFS server.


-Vijay

___
Gluster-users mailing list
Gluster-users@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-users