-
Notifications
You must be signed in to change notification settings - Fork 430
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
mount fails with file system subtypes set #116
Comments
Thanks for the report. I'm not familiar with Chef; can you provide a link? |
After some Googling, I assume you're referring to this Chef. In particular, here are the docs on mounting. Can you share your Chef configuration that is causing this problem? It seems like you must have provided the string |
My small config is here. mount "/mnt/my-bucket" do
device "gcsfuse#my-bucket"
fstype "fuse"
options "rw,user"
action [:mount, :enable]
end without mount "/mnt/my-bucket" do
device "my-bucket"
fstype "fuse.gcsfuse" # also fstype "gcsfuse"
options "rw,user"
action [:mount, :enable]
end Of course, Chef should skip the device check if fstype is And I found
support mount with subtypes improve compatibility. |
To confirm, I believe you're saying that the following doesn't work because Chef gets in the way: mount "/mnt/my-bucket" do
device "my-bucket"
fstype "gcsfuse"
options "rw,user"
action [:mount, :enable]
end This should work; That said, it does make sense to ensure subtypes work, for the reasons described in torvalds/linux@79c0b2d. I'll look into it. |
For the record, I can reproduce this on Ubuntu 15.04 with the following line in
|
@mapi: Could you confirm that the following causes this to work for you?
|
On Debian 8.1(jessie) after create symlink.
|
Thanks. Right, I haven't added support for the deprecated version. Will make a release that adds support for the modern version soon. |
This allows fstab lines specifying file system type `fuse.gcsfuse` to work, as discussed in #116.
Thanks again for the report. This should be fixed as of v0.11.0. @mapi: Could you update and confirm? |
👏 great work. thank you. |
@mapi how did you get this to work via chef? |
This is work
These are not work.
mount
can use another way. but these command return gcsfuse error.I met this problem while using chef.
Chef's mount function support fuse, but use
mount -t fuse -o rw,user gcsfuse#my-bucket /mnt/mybucket
idiom.The text was updated successfully, but these errors were encountered: