1

I had mounted my gcs bucket to my virtual machine with the following command.

mount -t gcsfuse -o rw,key_file=gcskey.json,_netdev,allow_other,uid=65534,gid=65534 mybucket /mypath

It seemed to be working at first but after I copied files with an rsync command for a while, it was disconnected with this error:

cannot access '/mypath': Transport endpoint is not connected

I found a quick solution on stackoverflow.com that suggested me to unmount and mount it again but I really need it to be working properly without disconnecting.

How can I do that ?

Thank you.

  • This usually happens when gcsfuse loses connection to GCS (internet fluctuation, some security background process blocking connections etc.). If this was on a GCP VM and happens frequently, do file an [issue](https://github.com/GoogleCloudPlatform/gcsfuse/issues) – AviD Sep 14 '22 at 07:42

0 Answers0