gcsfuse
will not show any directory defined by a file with a slash in its name. So if your bucket contains /files/index.txt
it will not show until you create a object named files
. I am assuming here your bucket contains directories then files, and if that is the case this may be your problem.
gcsfuse
supports a flag called --implicit-dirs
that changes the behaviour. When this flag is enabled, name lookup requests from the kernel use the GCS API's Objects.list operation to search for objects that would implicitly define the existence of a directory with the name in question. So, in the example above, there would appear to be a directory named "files".
There are some drawbacks which are defined here -
https://github.com/GoogleCloudPlatform/gcsfuse/blob/master/docs/semantics.md#implicit-directories
So you have 2 options
Create the directories in your bucket which will make your files appear
Look at --implicit-dirs
flag to get them to always appear.
Hope this helps.