Trying to get gluster up and running. Features/locks

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

 



Nevermind, I see the error of my ways :)

I still get this in my clientlog file.

[2011-03-31 12:53:25.322391] W [io-cache.c:1839:init] 0-ioc: dangling volume. check volfile
[2011-03-31 12:53:25.322463] W [dict.c:1205:data_to_str] 0-dict: @data=(nil)
[2011-03-31 12:53:25.322486] W [dict.c:1205:data_to_str] 0-dict: @data=(nil)
[2011-03-31 12:53:25.335221] W [graph.c:120:_log_if_option_is_invalid] 0-writebehind: option 'aggregate-size' is not recognized
[2011-03-31 12:53:25.335331] W [graph.c:120:_log_if_option_is_invalid] 0-client1: option 'remote-port' is not recognized
[2011-03-31 12:53:25.335353] W [graph.c:120:_log_if_option_is_invalid] 0-client0: option 'remote-port' is not recognized

But it works....

[2011-03-31 12:53:25.337350] I [client-handshake.c:1027:select_server_supported_programs] 0-client0: Using Program GlusterFS-3.1.0, Num (1298437), Version (310)
[2011-03-31 12:53:25.342749] I [client-handshake.c:1027:select_server_supported_programs] 0-client1: Using Program GlusterFS-3.1.0, Num (1298437), Version (310)
[2011-03-31 12:53:25.348290] I [client-handshake.c:863:client_setvolume_cbk] 0-client0: Connected to 127.0.0.1:6996, attached to remote volume 'brick0'.
[2011-03-31 12:53:25.348567] I [client-handshake.c:863:client_setvolume_cbk] 0-client1: Connected to 127.0.0.1:6997, attached to remote volume 'brick0'.
[2011-03-31 12:53:25.360618] I [fuse-bridge.c:3316:fuse_graph_setup] 0-fuse: switched graph to 0
[2011-03-31 12:53:25.361021] I [fuse-bridge.c:2897:fuse_init] 0-glusterfs-fuse: FUSE inited with protocol versions: glusterfs 7.13 kernel 7.13


For those interested, this is my new server / client vol files.

client.vol

volume client0
 type protocol/client
 option transport-type tcp
 option remote-host 127.0.0.1
 option remote-port 6996
 option remote-subvolume brick0
end-volume

volume client1
 type protocol/client
 option transport-type tcp
 option remote-host 127.0.0.1
 option remote-port 6997
 option remote-subvolume brick0
end-volume

volume distribute
  type cluster/distribute
  subvolumes client0 client1
end-volume

volume writebehind
  type performance/write-behind
  option aggregate-size 32MB
  option cache-size 64MB
  subvolumes distribute
end-volume

volume ioc
  type performance/io-cache
  option cache-size 64MB
  subvolumes writebehind
end-volume


--server.vol
volume posix0
        type storage/posix
        option directory /glustermnt/sdb1/a1
end-volume

volume locks0
  type features/posix-locks
  subvolumes posix0
end-volume

volume brick0
  type performance/io-threads # Performance enhancement
  option thread-count 8
  subvolumes locks0
end-volume

volume server
        type protocol/server
        option transport-type tcp/server
        option transport.socket.listen-port 6996
        option transport.socket.bind-address 127.0.0.1
        option auth.addr.brick0.allow *
        subvolumes brick0
end-volume






-----Original Message-----
From: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] On Behalf Of Hreinn ?g?stsson
Sent: 31. mars 2011 12:24
To: gluster-users at gluster.org
Subject: Trying to get gluster up and running. Features/locks

I always get this error.

Running - Linux 2.6.32-28-server, Ubuntu server, 10.10 x64


[2011-03-31 12:22:58.441625] W [posix.c:1883:init] 0-locks: Volume is dangling. Please check the volume file.
Given volfile:
+------------------------------------------------------------------------------+
  1: volume brick
  2:         type storage/posix
  3:         option directory /glustermnt/sdb1/a1
  4: end-volume
  5:
  6: volume locks
  7:   type features/posix-locks
  8:   subvolumes brick
  9: end-volume
10:
 11:
 12: volume server
13:         type protocol/server
14:         option transport-type tcp/server
15:         option transport.socket.listen-port 6996
16:         option transport.socket.bind-address 127.0.0.1
17:         option auth.addr.brick.allow *
18:         subvolumes brick
 19: end-volume
[2011-03-31 12:22:58.480571] I [server-handshake.c:535:server_setvolume] 0-server: accepted client from 127.0.0.1:1023
[2011-03-31 12:22:58.504177] C [posix.c:3929:posix_entrylk] 0-brick: "features/locks" translator is not loaded. You need to use it for proper functioning of GlusterFS

Am unable to find any refrences to this problem online...

Best regards,
Hreinn


[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