Slash added automaticaly before bucket name with fstab and gcsfuse

185 views Asked by At

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 launch 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's run in Ubuntu 16

Why fstab add this "/" automaticaly ?

1

There are 1 answers

1
Bastien D On BEST ANSWER

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

For this, i have rename my folder.