locks feature not loading ? (2.0.0rc1)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel,


# dataspace of test-ds on dmatest01
  volume test-01-ds
  type protocol/client
  option transport-type tcp/client
  option remote-host 192.168.0.183
  option remote-subvolume test-ds
  option transport-timeout 10           # as per avati at zresearch.com
end-volume

Here, shouldn't the remote subvol be "test-ds-locks"

Krishna

On Wed, Jan 14, 2009 at 8:52 PM, Daniel Maher <dma+gluster at witbe.net> wrote:
> Hi all,
>
> I upgraded from 1.4.0rc3 to 2.0.0rc1 in my test environment, and while
> the upgrade itself went smoothly, i appear to be having problems with
> the (posix-)locks feature. :(  The feature is clearly declared in the
> server config file, and according to the DEBUG-level logs, it is loaded
> successfully at runtime ; however, when Gluster attempts to lock an
> object (for the purposes of AFR self-heal, for example), an error gets
> thrown.
>
>
> Server config :
> [root at dmatest02 glusterfs]# cat glusterfs-server.vol
> # dataspace
> volume test-ds
>   type storage/posix
>   option directory /opt/datadir
> end-volume
>
> # posix locks for test-ds
> volume test-ds-locks
>   type features/locks          # features/posix-locks gives same error
>   option mandatory-locks on    # on or off, same problem
>   subvolumes test-ds
> end-volume
>
> # dataspace of test-ds on dmatest01
>   volume test-01-ds
>   type protocol/client
>   option transport-type tcp/client
>   option remote-host 192.168.0.183
>   option remote-subvolume test-ds
>   option transport-timeout 10           # as per avati at zresearch.com
> end-volume
>
> # automatic file replication translator for test dataspace
> volume test-ds-afr
>   type cluster/afr
>   #option read-subvolume test-ds-locks # enabled or not, same problem
>   subvolumes test-ds-locks test-01-ds
> end-volume
>
> # the actual export
> volume export
>   type performance/io-threads
>   option thread-count 8
>   subvolumes test-ds-afr
> end-volume
>
> # server declaration
> volume server
>   type protocol/server
>   option transport-type tcp/server
>   subvolumes export
>   option auth.addr.export.allow
> 192.168.0.73,192.168.0.183,192.168.0.166,127.0.0.1
>   option auth.addr.test-ds.allow
> 192.168.0.73,192.168.0.183,192.168.0.166,127.0.0.1
> end-volume
>
>
>
> EXCERPT FROM DEBUG-LEVEL LOG :
> 2009-01-14 15:09:36 D [xlator.c:551:xlator_init_rec] test-ds:
> Initialization done
> 2009-01-14 15:09:36 D [xlator.c:551:xlator_init_rec] test-ds-locks:
> Initialization done
>
>
>
> ERROR WHEN ATTEMPTING LOCK FOR SELF-HEAL :
> 2009-01-14 15:10:14 D [server-protocol.c:3288:server_lookup_resume]
> test-ds: LOOKUP '1/VERIFY_DIR'
> 2009-01-14 15:10:14 D [inode.c:323:__inode_retire] test-ds/inode:
> retiring inode(0) lru=2/1024 active=1 purge=1
> 2009-01-14 15:10:14 D [server-protocol.c:5712:server_entrylk_resume]
> test-ds: ENTRYLK '/ (1) '
> 2009-01-14 15:10:14 C [posix.c:3189:posix_entrylk] test-ds:
> "features/posix-locks" translator is not loaded. You need to use it for
> proper functioning of GlusterFS
> 2009-01-14 15:10:14 E [server-protocol.c:3229:server_stub_resume]
> server: INODELK (/VERIFY_DIR) on test-ds returning error: -1 (2)
>
>
>
> Is the locks feature loaded differently in 2.0.0rc1 or something ?
>
>
> Also, the documentation for the locks feature on the wiki says :
>
> "Typically you'll want to load this on the server side, just above the
> POSIX storage translator."
>
> Does it mean to say "below", or should we actually load the locks
> feature before the posix translator, somehow ?
>
>
> Thanks.
>
>
>
> --
> Daniel Maher <dma+gluster AT witbe DOT net>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users
>



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux