title: Mount google bucket during startup
body: <p>I'm trying to mount google bucket to an instance during startup (or access)
  1st way - via fstab:</p>
  
  <pre><code>alex-backup-test /mount gcsfuse uid=0,gid=0,rw,user,key_file=/etc/google/service-account.json
  </code></pre>
  
  <p>After reboot it isn't mounted (
  But when I'm trying to do this manually - it's ok</p>
  
  <pre><code>mount /mount/
  Calling gcsfuse with arguments: --gid 0 --key-file /etc/google/service-account.json -o rw -o noexec -o nosuid -o nodev --uid 0 alex-backup-test /mount
  Using mount point: /mount
  Opening GCS connection...
  Opening bucket...
  Mounting file system...
  File system has been successfully mounted.
  </code></pre>
  
  <p>2nd way - to use autofs:
  In auto.master:</p>
  
  <pre><code>/mount /etc/auto.gcsfuse        --timeout=60 --verbose
  </code></pre>
  
  <p>auto.gcsfuse:</p>
  
  <p>bucket  -fstype=gcsfuse,uid=0,gid=0,rw,noexec,nodev,key_file=/etc/google/service-account.json :alex-backup-test</p>
  
  <p>In the log:</p>
  
  <pre><code>May 10 09:25:09 alex-backup-test automount[31312]: mounted indirect on /mount with timeout 60, freq 15 seconds
  May 10 09:25:21 alex-backup-test automount[31312]: attempting to mount entry /mount/bucket
  May 10 09:25:21 alex-backup-test automount[31312]: &gt;&gt; Calling gcsfuse with arguments: -o rw -o noexec -o nodev --uid 0 --gid 0 --key-file /etc/google/service-account.json alex-backup-test /mount/bucket
  May 10 09:25:21 alex-backup-test automount[31312]: &gt;&gt; Using mount point: /mount/bucket
  May 10 09:25:21 alex-backup-test automount[31312]: &gt;&gt; Opening GCS connection...
  May 10 09:25:21 alex-backup-test automount[31312]: &gt;&gt; Opening bucket...
  May 10 09:25:22 alex-backup-test automount[31312]: &gt;&gt; Mounting file system...
  </code></pre>
  
  <p>And it's stuck.</p>
  
  <p>ps. but options for gcsfuse seems similar on manual and autofs mount.</p>
  
  <p>Many thanks in advice !</p>