Re: Bug 1374166 or similar

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

 



Hi Jiffin,

thank you for the explanation

Kind Regards
Bernhard

2017-07-18 8:53 GMT+02:00 Jiffin Tony Thottan <jthottan@xxxxxxxxxx>:
>
>
> 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@xxxxxxxxx>:
>>>
>>> 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@xxxxxxxxxx>:
>>>>
>>>>
>>>> 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@xxxxxxxxxxx
>>>>> http://lists.gluster.org/mailman/listinfo/gluster-users
>>>>
>>>>
>
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users




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

  Powered by Linux