Bug 762446 (GLUSTER-714) - Server-side AFR seems to require gluster daemon restart to work
Summary: Server-side AFR seems to require gluster daemon restart to work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-714
Product: GlusterFS
Classification: Community
Component: replicate
Version: 3.0.2
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Anand Avati
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-11 17:36 UTC by John Alberts
Modified: 2015-12-01 16:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description John Alberts 2010-03-11 17:36:14 UTC
I followed the following guide to create a 2 server server-side replication cluster with 1 client.
http://www.gluster.com/community/documentation/index.php/High-availability_storage_using_server-side_AFR


After starting the glusterfs daemon on both servers and attaching the volume on the client using 'glusterfs -f /etc/glusterfs/glusterfs-client.vol /mnt/myshare', any file I create on the client shows the following error on the client immediately.

root@storageclient01:/mnt/share# touch from_client01
touch: closing `from_client01': Bad file descriptor

This is the output in the client gluster log:
[2010-03-11 16:52:54] N [glusterfsd.c:1396:main] glusterfs: Successfully started
[2010-03-11 16:52:54] N [client-protocol.c:6228:client_setvolume_cbk] cluster: Connected to 10.194.221.142:6996, attached to remote volume 'gfs'.
[2010-03-11 16:52:54] N [fuse-bridge.c:2942:fuse_init] glusterfs-fuse: FUSE inited with protocol versions: glusterfs 7.13 kernel 7.12
[2010-03-11 16:52:54] N [client-protocol.c:6228:client_setvolume_cbk] cluster: Connected to 10.242.143.223:6996, attached to remote volume 'gfs'.
[2010-03-11 16:53:11] W [fuse-bridge.c:1174:fuse_err_cbk] glusterfs-fuse: 15: FLUSH() ERR => -1 (Bad file descriptor)



The file is replicated to both servers and I don't see any error in the server logs.

The problem seems to go away if I restart the glusterfs daemon on both servers.

I have done this twice from scratch and had the same results.

This is on all ec2 ubuntu 9.10 32bit instances using the latest official amazon ubuntu ami.

Comment 1 Amar Tumballi 2010-10-06 09:36:58 UTC
Avati, can you see if these bugs are valid anymore? if not valid.. please close.

Comment 2 Vijay Bellur 2010-10-27 05:54:02 UTC
Server side replication is not supported. If you intend to use server side replication, please use gnfs in 3.1.0.


Note You need to log in before you can comment on or make changes to this bug.