-
Notifications
You must be signed in to change notification settings - Fork 106
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
Hangs when using with autofs #22
Comments
Unfortunately I'm unlikely to be able to help you figure out what's going on here. If you root cause this let me know, and I'm happy to discuss how to work around or fix it. You may find GoogleCloudPlatform/gcsfuse#189 interesting. |
So far I've been able to trace it down that it is indeed happening in mount.go#Mount, I haven't been able to get any logging statements to work past that, I have never worked with Go before |
It seems unlikely (but not impossible) that the problem is in the Go code itself. You might try looking at the kernel stacks ( |
Turned out to be an oversight... Can we replace it with a comment instead of a full io block?? this also breaks Mac OS Auto FS |
I just checked the same thing with geesefs based on jacobsa/fuse with that os.Stat commented out with systemd .automount unit... It hangs even without that os.Stat() :) I.e. when I try to do Moreover, usual C libfuse also has the same stat() call. So if it was the cause then no FUSE filesystems would work with automounters... But I don't know. Maybe all of them really don't work :) |
I'm having trouble mounting on demand with autofs, it hangs when trying to mount such as when trying to list the mount folder contents. I'm doing this with gcsfuse google buckets implementation, I have a docker container set up with a test, just add service account details and your bucket name:
Where dfci-mev-def-12345-678 is my bucket and the Google service account is in service-account.json. Running in privileged mode and the autofs4 module loaded on the host. Output from gcsfuse is:
and then it just hangs forever. I believe it's blocking in mount.go#Mount but I have no idea why. I'm able to mount the bucket normally within the container
The text was updated successfully, but these errors were encountered: