[Gluster-devel] About locking ERR => -1 (38)

Anand Avati avati at zresearch.com
Mon May 12 07:16:19 UTC 2008


You need to use remote-subvolume as 'locks' (not 'brick')

avati

On 10/05/2008, Alan <javatask at ukr.net> wrote:
>
> Hi,
>
> I seem to have run into a problem. I get this in my glusterfs client log:
> Regular error
> E [fuse-bridge.c:2361:fuse_setlk_cbk] glusterfs-fuse: 60549: ERR => -1 (38)
>
> on runing IMB_3.1.tgz with mpich2-1.0.7.tar.gz
> IMB - io benchmark
> mpich2 - mpi 2
>
> command:  mpiexec -n 6 IMB-IO
> on client in mounted folder
>
> I have such configuration:
>
> Client:
> ubuntu-server-7.10 x32
>
> Server:
> ubuntu-server-7.10 x64
>
> Soft:
> gluster-1.3.8
> fuse-2.7.3glfs10.tar.gz
>
> Server conf:
> ----------------------------- cut here --------------------------
> volume brick
>   type storage/posix                   # POSIX FS translator
>   option directory /home/alan          # Export this directory
> end-volume
>
> volume locks
>   type features/posix-locks
>   subvolumes brick
> end-volume
>
> ### Add network serving capability to above brick.
> volume server
>   type protocol/server
>   option transport-type tcp/server     # For TCP/IP transport
>   subvolumes locks
>   option auth.ip.brick.allow * # Allow access to "brick" volume
> end-volume
> ----------------------------- cut here --------------------------
>
> Client conf :
> ----------------------------- cut here --------------------------
> volume client
>   type protocol/client
>   option transport-type tcp/client     # for TCP/IP transport
>   option remote-host 10.100.1.77         # IP address of the remote brick
>   option remote-subvolume brick        # name of the remote volume
> end-volume
> ----------------------------- cut here --------------------------
>
> Please help, Andrey.
>
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>



-- 
If I traveled to the end of the rainbow
As Dame Fortune did intend,
Murphy would be there to tell me
The pot's at the other end.



More information about the Gluster-devel mailing list