[Gluster-users] posix-locks question

Deian Chepishev dchepishev at nexbrod.com
Sun Oct 19 11:52:16 UTC 2008


Hello,

I read in the docs that in order to have posix-lock I have to load this 
translator on the server side.

My question is, if for example the server config file is:

volume brick
 type storage/posix
 option directory /storage/gluster-export/data/
end-volume

volume locks
  type features/posix-locks
  subvolumes brick
end-volume


volume brick-ns
 type storage/posix
 option directory /storage/gluster-export/ns
end-volume

### Add network serving capability to above brick.
volume server
 type protocol/server
 option transport-type tcp/server     # For TCP/IP transport
 subvolumes brick brick-ns
 option auth.ip.brick.allow 10.1.124.*  # Allow access to "brick" volume
 option auth.ip.brick-ns.allow 10.1.124.* # Allow access to "brick-ns" 
volume
end-volume

Which name should be listed for directive "subvolumes" in the volume 
"server"
should it be
subvolumes bricks brick-ns
or
subvolumes locks brick-ns

Regards,
Deian





More information about the Gluster-users mailing list