0

I use gcsfuse to mount bucket in Google Compute Engine.

For this I use this syntax in my fstab:

my_bucket /my_bucket gcsfuse rw,uid=1001,gid=1002

But gcsfuse process is launched like this:

/usr/bin/gcsfuse --foreground -o rw --uid 1001 --gid 1002 /my_bucket /my_bucket

With "/" before "my_bucket", the mount do not work.

It runs on Ubuntu 16

Why does fstab add this / automatically ?

1 Answer 1

0

It's simple. Must not have a bucket name like folder name in root path.

For this, i have rename my folder.

my_new_bucket_folder_name /my_bucket gcsfuse rw,uid=1001,gid=1002
3
  • Can you word this differently and go into a bit more detail? Other users looking for this issue might have a hard time understanding what the solution was.
    – pacey
    Oct 2, 2018 at 15:21
  • Thanks for a helpful answer. Just to add that in my case the directory that had the same name as the bucket was in the home directory, rather than /.
    – u-phoria
    Jul 27, 2020 at 14:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .