[Gluster-devel] [RFC] What if client fuse process crash?

Changwei Ge chge at linux.alibaba.com
Tue Aug 6 06:14:33 UTC 2019

Hi Ravishankar,

Thanks for your share, it's very useful to me.

I am setting up a glusterfs storage cluster recently and the 
umount/mount recovering process bothered me.

I happened to find some patches[1] from internet aiming to address such 
a problem but no idea why they were not managed to merge into glusterfs 

Do you know why?






On 2019/8/6 1:12 下午, Ravishankar N wrote:
> On 05/08/19 3:31 PM, Changwei Ge wrote:
>> Hi list,
>> If somehow, glusterfs client fuse process dies. All subsequent file 
>> operations will be failed with error 'no connection'.
>> I am curious if the only way to recover is umount and mount again?
> Yes, this is pretty much the case with all fuse based file systems. 
> You can use -o auto_unmount (https://review.gluster.org/#/c/17230/) to 
> automatically cleanup and not having to manually unmount.
>> If so, that means all processes working on top of glusterfs have to 
>> close files, which sometimes is hard to be acceptable.
> There is 
> https://research.cs.wisc.edu/wind/Publications/refuse-eurosys11.html, 
> which claims to provide a framework for transparent failovers.  I 
> can't find any publicly available code though.
> Regards,
> Ravi
>> Thanks,
>> Changwei
>> _______________________________________________
>> Community Meeting Calendar:
>> APAC Schedule -
>> Every 2nd and 4th Tuesday at 11:30 AM IST
>> Bridge: https://bluejeans.com/836554017
>> NA/EMEA Schedule -
>> Every 1st and 3rd Tuesday at 01:00 PM EDT
>> Bridge: https://bluejeans.com/486278655
>> Gluster-devel mailing list
>> Gluster-devel at gluster.org
>> https://lists.gluster.org/mailman/listinfo/gluster-devel

More information about the Gluster-devel mailing list