-2

I also did 'df -h' to see if it's properly mounted or not and then it's showing it is:

gs://bucketname/* 1.0P 0 1.0P 0% /home/admin/(directory in vm instance)

But inside the directory in vm instance when I am typing ls -l , I am gettin total 0. What's the reason behind it?

Jyothi Kiranmayi
  • 2,090
  • 5
  • 14
neo
  • 55
  • 8

1 Answers1

0

You cannot just make up arguments; see mounting.md for reference.

The command for static mounting is:

mkdir /path/to/mount/point
gcsfuse my-bucket /path/to/mount/point

or for dynamic mounting, with a bucket name:

mkdir /path/to/mount/point
gcsfuse /path/to/mount/point

To unmount:

fusermount -u /path/to/mount/point
Martin Zeitler
  • 1
  • 19
  • 155
  • 216
  • I already did that, static mounting.... but when I am in the point directory and typing ls I am getting zero, but there should be files @martin – neo Feb 23 '22 at 04:36
  • 1
    You've entered an incorrect bucket name, therefore it's probably no wonder. Please stop interpreting and see how it actually has to be written, in order to match the expected syntax. – Martin Zeitler Feb 23 '22 at 15:10
  • And please refrain from asking the same question multiple times; I've seen that. The documentation provides clear examples - but the command which you use simply does not match them; there is no `gs://` and also no `/*`. – Martin Zeitler Feb 23 '22 at 15:21