gcsfuse

gcsfuse gives a Input/output error when reading or writing to mounted directory in docker

僤鯓⒐⒋嵵緔 提交于 2019-12-04 07:39:30
I am using gcsfuse within a docker container (base image centos7) and am not able to read or write to the mounted directory. I am mounting the directory with gcsfuse like this: [root@6c24c3a6cc28 /]# gcsfuse --foreground --key-file=/src/gcloud_service_account.json my-bucket /gcloud/ Using mount point: /gcloud Opening GCS connection... Opening bucket... Mounting file system... File system has been successfully mounted. When I try and read or write to the mounted directory, I get this error: [root@6c24c3a6cc28 /]# ls -la /gcloud/ ls: reading directory /gcloud/: Input/output error total 0 gcsfuse

Mount Google Cloud Storage Bucket to Instance

狂风中的少年 提交于 2019-12-04 03:10:03
How can I mount a Google Cloud Storage bucket as a disk or folder with a standard path such as ~/myBucket on a Google Compute instance? Everything is in the same project with full access. With the new beta gcsfuse this is now possible. gcsfuse myBucket ~/path/to/mount https://cloud.google.com/storage/docs/gcs-fuse 来源: https://stackoverflow.com/questions/32856043/mount-google-cloud-storage-bucket-to-instance