I have a compute engine instance (Ubuntu 16.04) and a storage bucket both in the same project.
I want to mount the storage on the compute instance. I found some resources on this page: https://cloud.google.com/storage/docs/gcs-fuse.
I already installed gcsfuse on the instance and created a directory to mount the storage like this:
cd $HOME
mkdir storage
Then I mounted the storage using the gcsfuse command:
gcsfuse storage-bucket storage/
According the gcsfuse output everything looks solid, but when I try to create a test file like:
touch storage/test.txt
I get the following error:
touch: cannot touch 'storage/test.txt': Input/output error
I'm kinda stuck at the moment, what else should I try?
--foregroundflag when mounting to get errors printed to stderr. If that's not enough detail, try also--debug_fuse. - jacobsa--key-fileparameter when mounting the bucket. Maybe it'll help? - Peter