[Gluster-users] Bug 1374166 or similar

Jiffin Tony Thottan jthottan at redhat.com
Tue Jul 18 06:53:49 UTC 2017



On 16/07/17 20:11, Bernhard Dübi wrote:
> Hi,
>
> both Gluster servers were rebooted and now the unlink directory is clean.

Following should have happened, If delete operation is performed gluster 
keeps file in .unlink directory if it has open fd.
In this case since lazy umount is performed, ganesha server may still 
keep the fd's open by that client so gluster keeps
the unlink directory even though it is removed from fuse mount.

--
Jiffin

> Best Regards
> Bernhard
>
> 2017-07-14 12:43 GMT+02:00 Bernhard Dübi <1linuxengineer at gmail.com>:
>> Hi,
>>
>> yes, I mounted the Gluster volume and deleted the files from the
>> volume not the brick
>>
>> mount -t glusterfs hostname:volname /mnt
>> cd /mnt/some/directory
>> rm -rf *
>>
>> restart of nfs-ganesha is planned for tomorrow. I'll keep you posted
>> BTW: nfs-ganesha is running on a separate server in standalone configuration
>>
>> Best Regards
>> Bernhard
>>
>> 2017-07-14 10:43 GMT+02:00 Jiffin Tony Thottan <jthottan at redhat.com>:
>>>
>>> On 14/07/17 13:06, Bernhard Dübi wrote:
>>>> Hello everybody,
>>>>
>>>> I'm in a similar situation as described in
>>>> https://bugzilla.redhat.com/show_bug.cgi?id=1374166
>>>
>>> The issue got fixed by https://review.gluster.org/#/c/14820 and is already
>>> available in 3.8 branch
>>>
>>>> I have a gluster volume exported through ganesha. we had some problems
>>>> on the gluster server and the NFS mount on the client was hanging.
>>>> I did a lazy umount of the NFS mount on the client, then went to the
>>>> Gluster server, mounted the Gluster volume and deleted a bunch of
>>>> files.
>>>> When I mounted the volume again on the client I noticed that the space
>>>> was not freed. Now I find them in $brick/.glusterfs/unlink
>>> Here you have mounted the volume via glusterfs fuse mount and deleted those
>>> files
>>> right(not directly from the bricks)?
>>> Can you restart nfs-ganesha server and see what happens ?
>>> What type of volume are you using?
>>> --
>>> Jiffin
>>>
>>>> OS: Ubuntu 16.04
>>>> Gluster: 3.8.13
>>>> Ganesha: 2.4.5
>>>>
>>>> Let me know if you need more info
>>>>
>>>> Best Regards
>>>> Bernhard
>>>> _______________________________________________
>>>> Gluster-users mailing list
>>>> Gluster-users at gluster.org
>>>> http://lists.gluster.org/mailman/listinfo/gluster-users
>>>



More information about the Gluster-users mailing list