I am running an instance on gcloud compute engine. I need to mount a Google storage bucket (which belongs to a different project) to my instance. The instance runs on Debian Wheezy. I have installed gcc, fuse, gcsfuse. But when I tried to mount the bucket:
$ gcsfuse bucket-name /mnt/bucket-name
I got the error: stderr: fusermount: fuse device not found, try 'modprobe fuse' first
Tried "modprobe fuse", I got error: -bash: modprobe: command not found
Anyone knows what the problem might be, or anyone has encountered the same issue? Any thoughts, comments, help would be much appreciated. Thanks in advance!
I have resolved the issue with an upgrade to Jessie and then installed gcsfuse following the instructions here: https://github.com/GoogleCloudPlatform/gcsfuse/blob/master/docs/installing.md
To locate a command on your system, you can use
whereis
which will search all the common locations to give you the full path... on my system outputs:
In this case, and probably yours, you would then know to call it as
/sbin/modprobe fuse
.In case someone is using Cloud Run on Google Cloud Platform, second generation of execution environment should be used.
Flag
--execution-environment gen2
it vital based on documentation: