gcsfuse Input/Output error

后端 未结 5 1764
-上瘾入骨i
-上瘾入骨i 2021-02-20 06:34

I\'m getting an Input/Output error when I try and create a directory or file in a google cloud storage bucket mounted on a linux (Ubuntu 15.10) directory.

Steps I have d

5条回答
  •  耶瑟儿~
    2021-02-20 06:56

    This problem due to missing of credential file.

    go to https://cloud.google.com/docs/authentication/production

    Creating a service account

    • You will get a json file after creation account.
    • upload your json on VM instance.
    • Enter following in /etc/fstab.

      {{gcp bucket name}} {{mount path}} gcsfuse rw,noauto,user,key_file={{/path/to/key.json}}

      if you have already mounted unmount first.

    • $ mount -a

    Follow this link

    https://github.com/GoogleCloudPlatform/gcsfuse/blob/master/docs/mounting.md#credentials

提交回复
热议问题