GoogleCloudPlatform / gcsfuse

A user-space file system for interacting with Google Cloud Storage
https://cloud.google.com/storage/docs/gcs-fuse
Apache License 2.0
2.05k stars 426 forks source link

only some bucket folders mounted, others are missing or empty #775

Closed dan9thsense closed 2 years ago

dan9thsense commented 2 years ago

After installing gcsfuse on both a local and a GCP instance, I get the bucket to mount, but only a subset of the folders in the bucket show up. And, in some of the ones that show up, their contents are empty.

Happens with both Ubuntu 18.04 and Ubuntu 20.04.

I cannot find anything that distinguish's the folders that show up from the ones that do not.

dan9thsense commented 2 years ago

After installing gcsfuse on both a local and a GCP instance, I get the bucket to mount, but only a subset of the folders in the bucket show up. And, in some of the ones that show up, their contents are empty.

Happens with both Ubuntu 18.04 and Ubuntu 20.04.

I cannot find anything that distinguish's the folders that show up from the ones that do not.

I have credentials setup, so the command is simply: gcsfuse bucket local_gcp_bucket

I tried running with debugs: gcsfuse --foreground --debug_fuse --debug_fs --debug_gcs --debug_http gcp_bucket local_gcp_bucket

but it failed to mount with those options.

dan9thsense commented 2 years ago

Here is the console output from the debug run:

gcsfuse_debug_output.txt

avidullu commented 2 years ago

Could you retry with --implicit-dirs=true flag set?

dan9thsense commented 2 years ago

That did the trick. They all show up now. @avidullu Thanks!