Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to mount fuse under a give path multiple times in Linux #34

Closed
mohankumarv2005 opened this issue Jul 5, 2019 · 1 comment
Closed

Comments

@mohankumarv2005
Copy link

mohankumarv2005 commented Jul 5, 2019

I am testing hellofs example in Linux (CentOS 6). For very first time, I mounted successfully under "/root/adrive". When I tried next time to mount under same path, the mount failed without any error. However, it can succesfully mount again with new path E.g. "/root/adrive1".

Can you please help me on this?

@billziss-gh
Copy link
Collaborator

In Linux FUSE a file system does not get unmounted when the file system process goes away. This is by design in Linux FUSE/libfuse.

Cgofuse uses libfuse underneath and in general works in a similar manner. Cgofuse tries to automatically unmount the file system when it is shutdown in an orderly manner. However when it is forcibly killed it is unable to do so and you must manually use fusermount to unmount the file system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants