Fwd: gluster-3.1.4 - testing of replication feature ??

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

 




Hi,


I have configured glusterfs distributed replicated volume with two storage servers (eg: pvfs2 and pvfs3 )

[root@pvfs2 ~]#  gluster volume create test-vol2 replica 2 transport tcp 172.x.x.x:/opt/glusterfs-pvfs2disk1 172.x.x.x:/opt/glusterfs-pvfs3disk1
Creation of volume test-vol2 has been successful. Please start the volume to access data.

[root@pvfs2 ~]# gluster volume start test-vol2
Starting volume test-vol2 has been successful


storage server1:/opt/glusterfs-pvfs2disk1 has around 6.4GB and storage2:/opt/glusterfs-pvfs3disk1 has around 4.5GB of space

And a client node (pvfs4) NFS mounted to the server1(pvfs2) 
[root@pvfs4 glusterfs]# mount -t nfs 172.x.x.x:/test-vol2 /mnt/glusterfs

And the mounted path shows the total space as 6.4GB i.e.,server1 capacity only ( second server storage is not included )

How can I test the replication feature using these two servers , KIndly help me to do the testing of glusterfs with sample examples or benchmarks using tranport protocols as tcp and rdma . ( I am able to configure the storage volumes using tranport as tcp or rdma )

I tried "cp command"  to copy the files around total space of 6.4GB to the nfs mounted directory in client machine(pvfs4) , after that it shows the error as no space on device, I have checked that all the copied files are physically stored under server1(pvfs2) only but not on second server (pvfs3)

And there are some logs on second server(pvfs3)
[root@pvfs3 ~]# vi /var/log/glusterfs/bricks/opt-glusterfs-pvfs3disk1.log
[2011-05-06 12:52:44.179880] E [common-utils.c:124:gf_resolve_ip6] 0-resolver: getaddrinfo failed (Name or service not known)
[2011-05-06 12:52:44.179934] E [name.c:251:af_inet_client_get_remote_sockaddr] 0-glusterfs: DNS resolution failed on host localhost
[2011-05-06 12:52:44.179984] E [glusterfsd-mgmt.c:452:mgmt_rpc_notify] 0-glusterfsd-mgmt: failed to connect with remote-host: Success
[2011-05-06 12:52:44.180309] E [common-utils.c:124:gf_resolve_ip6] 0-resolver: getaddrinfo failed (Name or service not known)
[2011-05-06 12:52:44.180326] E [name.c:251:af_inet_client_get_remote_sockaddr] 0-glusterfs: DNS resolution failed on host localhost
[2011-05-06 12:52:44.180364] I [glusterfsd.c:700:cleanup_and_exit] 0-glusterfsd: shutting down

Kindly help me to test the glusterfs with examples or becnhmakrs for both tcp and rdma


Thanks & Regards,
shashi









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

  Powered by Linux