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
It should be locks. > subvolumes locks brick-ns -- Anand Babu Periasamy GPG Key ID: 0x62E15A31 Blog [http://ab.freeshell.org] GlusterFS [http://www.gluster.org] The GNU Operating System [http://www.gnu.org] Deian Chepishev wrote:> 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 > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users