Hide Forgot
Description of problem: ----------------------- glusterfsd does not release a file, [server(server1) info]: # glusterfs --version glusterfs 3.4.0 built on Jul 17 2013 01:31:52 # gluster volume info Volume Name: d01r1 Type: Distribute Volume ID: 9485c9a8-dfe4-435b-a27d-38ef6d7c2729 Status: Started Number of Bricks: 1 Transport-type: tcp Bricks: Brick1: server1:/var/service/gluster/fs/d01r01 # ls /var/service/gluster/fs/d01r01 total 0 [client(client1) info]: # mount | grep glusterfs server1:/d01r1 on /mnt/d01r1 type fuse.glusterfs (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072) # ls /mnt/d01r1 total 0 [execute client code]: # cd /mnt/d01r1 # for i in `seq 4`; do dd if=/dev/zero of=mogera$i bs=102 count=102; done; mv -f * /tmp [then server]: # lsof -c glsuterfsd | grep mogera glusterfs 877 root 15r REG 8,0 10404 2147483721 /var/service/dplat/var/gluster/fs/d01r01/mogera1 (deleted) glusterfs 877 root 16r REG 8,0 10404 2147483723 /var/service/dplat/var/gluster/fs/d01r01/mogera2 (deleted) glusterfs 877 root 17r REG 8,0 10404 2147483725 /var/service/dplat/var/gluster/fs/d01r01/mogera3 (deleted) glusterfs 877 root 18r REG 8,0 10404 2147483727 /var/service/dplat/var/gluster/fs/d01r01/mogera4 (deleted) Version-Release number of selected component (if applicable): ------------------------------------------------------------- 3.4.0 How reproducible: ----------------- always Steps to Reproduce: ------------------- 1.create a plain volume 2.mount a plain volume 3.execute "for i in `seq 4`; do dd if=/dev/zero of=mogera$i bs=102 count=102; done; mv -f * /tmp" Actual results: --------------- glusterfsd does not release a file. Expected results: ----------------- release a file. Additional info: ---------------- This problem does not exist in version 3.3.1.
Can you please try by disabling open-behind? open-behind can be disabled by: #gluster volume set d01r1 open-behind off If this addresses the problem, a fix is available in 3.4.1.
(In reply to Vijay Bellur from comment #1) > Can you please try by disabling open-behind? open-behind can be disabled by: > > #gluster volume set d01r1 open-behind off > > If this addresses the problem, a fix is available in 3.4.1. Thanks! I'll try "pen-behind off" and glusterfs version 3.4.1.
> #gluster volume set d01r1 open-behind off It solved at "open-behind off" at version 3.4.0. > If this addresses the problem, a fix is available in 3.4.1. I checked the fix at version 3.4.1. Thanks for your help.
http://www.gluster.org/download/ Latest Version: GlusterFS 3.4 (ver. 3.4.0 – July 14, 2013) Is it possibly ver. 3.4.1?
(In reply to hiro-su from comment #4) > http://www.gluster.org/download/ > Latest Version: GlusterFS 3.4 (ver. 3.4.0 – July 14, 2013) > > Is it possibly ver. 3.4.1? Yes, this should be 3.4.1. We will have it fixed.
(In reply to Vijay Bellur from comment #5) > (In reply to hiro-su from comment #4) > > http://www.gluster.org/download/ > > Latest Version: GlusterFS 3.4 (ver. 3.4.0 – July 14, 2013) > > > > Is it possibly ver. 3.4.1? > > Yes, this should be 3.4.1. We will have it fixed. and thanks for letting us know!