Chong-wei Ling
2009-Jul-13 02:26 UTC
[Gluster-users] i cannot make a client work well with 3 servers by glusterfs...pls help~~
hi,all! i ran into some problems when using glusterfs. i cannot make them work together yet. platform information: OS: CentOS 5.3 (2.6.18-128.1.16.el5) GlusterFS: glusterfs-2.0.3 FUSE: fuse-2.7.4 client : 192.168.1.10 (localhost) server 1: 192.168.1.11 (vm1-qemu) server 2: 192.168.1.12 (vm2-qemu) server 3: 192.168.1.13 (vm3--qemu) ########################################################### ** configuration files for all 3 server are same as follow ######################################################### #----------------------server: glusterfsd.vol------------------- volume brick type storage/posix # POSIX FS translator option directory /home/gfs-data # Export this directory end-volume volume server type protocol/server option transport-type tcp subvolumes brick option auth.addr.brick.allow * # Allow access to "brick" volume end-volume #################################################### ** configuration file for client ################################################### #-----------client:glusterfs.vol ------------- ## client feature and attach to remote subvolume volume client1 type protocol/client option transport-type tcp option remote-host 192.168.1.11 option remote-subvolume brick end-volume volume client2 type protocol/client option transport-type tcp option remote-host 192.169.1.12 option remote-subvolume brick end-volume volume client3 type protocol/client option transport-type tcp option remote-host 192.169.1.13 option remote-subvolume brick end-volume volume bricks type cluster/replicate subvolumes client1 client2 client3 end-volume ????????????????????????????????????? after run "glusterfs -f /etc/glusterfs/glusterfs.vol /mnt/glusterfs", only server 1 (192.168.1.11) worked fine with the client (192.168.1.10), but there still was a problem. when i write some data into /home/export at the client,it failed and error "Function not implemented" appeared,which confused me very much. but when i just run a separate server with client,they worked well,and data synchronized sucessfully. im a green hand, and im not sure the configuration of client is correct. pls help me check it. thanks~~~
Jeff Evans
2009-Jul-13 03:05 UTC
[Gluster-users] i cannot make a client work well with 3 servers by
> after run "glusterfs -f /etc/glusterfs/glusterfs.vol > /mnt/glusterfs", only server 1 (192.168.1.11) worked fine with > the client > (192.168.1.10), but there still was a problem. when i write some > data into /home/export at the client,it failed and error > "Function not > implemented" appeared,which confused me very much.Not entirely sure if it will help, but I had a similar issue until I added: volume posix-locks type features/posix-locks subvolumes brick end-volume to my glusterfsd.vol Good luck, Jeff.