[Gluster-users] translator feature/filter

Sergio Traldi sergio.traldi at pd.infn.it
Mon Oct 6 14:32:48 UTC 2014


Hi all,
I have two Redhat EL6 and I install glusterfs
[~]# rpm -qa | grep gluster |sort
glusterfs-3.5.1-1.el6.x86_64
glusterfs-api-3.5.1-1.el6.x86_64
glusterfs-cli-3.5.1-1.el6.x86_64
glusterfs-fuse-3.5.1-1.el6.x86_64
glusterfs-libs-3.5.1-1.el6.x86_64
glusterfs-server-3.5.1-1.el6.x86_64

I create one brick each host and I create a volume:

[~]# gluster volume status testvolume
Status of volume: testvolume
Gluster process                        Port    Online    Pid
------------------------------------------------------------------------------
Brick cert-06:/data/brick1/sdb                49152    Y    20445
Brick cert-22:/data/brick1/sdb                49152    Y    14715
NFS Server on localhost                    2049    Y    20457
NFS Server on cert-22                    N/A    N    N/A

Task Status of Volume testvolume
------------------------------------------------------------------------------
There are no active volume tasks



[~]# gluster volume info testvolume
Volume Name: testvolume
Type: Distribute
Volume ID: 25340233-1627-486c-8cc7-0923c131d53e
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: cert-06:/data/brick1/sdb
Brick2: cert-22:/data/brick1/sdb

Now I would like to test the features/filter described here:
http://gluster.org/community/documentation/index.php/Translators/features

So I try to add to /var/lib/glusterd/vols/testvolume/testvolume-fuse.vol 
and /var/lib/glusterd/vols/testvolume/trusted-testvolume-fuse.vol

volume brick-readonly
   type features/filter
   option root-squashing enable
   option translate-uid 501-1000=10000,1000-1999=10001
   subvolumes brick
end-volume

But when I try to mount from another host I found this error in the log:
[2014-10-06 06:31:57.858248] I [glusterfsd.c:1959:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.5.1 (/usr/sbin/glusterfs --volfile-server=cert-06 --volfile-server=cert-22 --volfile-server=cert-06 --volfile-id=/testvolume /dataGluster)
[2014-10-06 06:31:57.866273] I [socket.c:3561:socket_init] 0-glusterfs: SSL support is NOT enabled
[2014-10-06 06:31:57.866397] I [socket.c:3576:socket_init] 0-glusterfs: using system polling thread
[2014-10-06 06:31:57.880056] W [xlator.c:188:xlator_dynload] 0-xlator: /usr/lib64/glusterfs/3.5.1/xlator/features/filter.so: cannot open shared object file: No such file or directory
[2014-10-06 06:31:57.880131] E [graph.y:212:volume_type] 0-parser: Volume 'brick-readonly', line 60: type 'features/filter' is not valid or not found on this machine
[2014-10-06 06:31:57.880155] E [graph.y:287:volume_sub] 0-parser: Volume 'brick-readonly', line 63: subvolume 'brick' is not defined prior to usage
[2014-10-06 06:31:57.880173] E [graph.y:321:volume_end] 0-parser: "type" not specified for volume brick-readonly
[2014-10-06 06:31:57.880390] E [glusterfsd.c:1823:glusterfs_process_volfp] 0-: failed to construct the graph
[2014-10-06 06:31:57.880717] W [glusterfsd.c:1095:cleanup_and_exit] (-->/usr/lib64/libgfrpc.so.0(rpc_clnt_handle_reply+0xa5) [0x3cd4c0e6d5] (-->/usr/sbin/glusterfs(mgmt_getspec_cbk+0x320) [0x40bd50] (-->/usr/sbin/glusterfs(glusterfs_process_volfp+0x106) [0x405146]))) 0-: received signum (0), shutting down
[2014-10-06 06:31:57.880745] I [fuse-bridge.c:5475:fini] 0-fuse: Unmounting '/dataGluster'.
[2014-10-06 06:31:57.897585] W [glusterfsd.c:1095:cleanup_and_exit] (-->/lib64/libc.so.6(clone+0x6d) [0x32078e8b6d] (-->/lib64/libpthread.so.0() [0x3207c079d1] (-->/usr/sbin/glusterfs(glusterfs_sigwaiter+0xd5) [0x4053e5]))) 0-: received signum (15), shutting down


Have anyone try to use the feature filter in gluster 3.5?
Thanks in advance for any answer
Cheers
Sergio


More information about the Gluster-users mailing list