ovh / svfs

The Swift Virtual File System
Other
374 stars 54 forks source link

cant not mount specific container #104

Closed jerome-diver closed 7 years ago

jerome-diver commented 7 years ago

Context

Steps to reproduce this issue :

1.mount command from README page with correct authentication, fur a specific container

  1. contanier=default/Images (URL of contanier show this https://hubic.com/home/browser/#default/Images URL)

Results you expected :

have my specific default/Images container mounted on my allready created directory. (i try to mount default, it works, so authentication is ok, mountpoint is ok)

Results you observed :

2016/11/04 20:41:28 mount helper error: fusermount: failed to access mountpoint /mnt/HUBIC/Images: Transport endpoint is not connected FATA[2016-11-04T20:41:28+01:00] fusermount: exit status 1

Debug log :

DEBU[2016-11-04T20:54:17+01:00] Skipping configuration : open : no such file or directory source=svfs
2016/11/04 20:54:17 mount helper error: fusermount: failed to access mountpoint /mnt/HUBIC/Images: Transport endpoint is not connected

Additional information :

maybe my container tag name is wrong, could you please provide a real example for a given container other than default one (deeper) ?

w3st3ry commented 7 years ago

Hi @jerome-diver,

Can you give me the exact command have you entered ?

Thx

On 4 Nov 2016, at 20:56, Jerome notifications@github.com wrote:

Context

svfs version :0.8.2-1 storage provider :hubic product : Steps to reproduce this issue :

1.mount command from README page with correct authentication, fur a specific container

  1. contanier=default/Images (URL of contanier show this https://hubic.com/home/browser/#default/Images URL)

Results you expected :

have my specific default/Images container mounted on my allready created directory. (i try to mount default, it works, so authentication is ok, mountpoint is ok)

Results you observed :

2016/11/04 20:41:28 mount helper error: fusermount: failed to access mountpoint /mnt/HUBIC/Images: Transport endpoint is not connected FATA[2016-11-04T20:41:28+01:00] fusermount: exit status 1

Debug log :

DEBU[2016-11-04T20:54:17+01:00] Skipping configuration : open : no such file or directory source=svfs 2016/11/04 20:54:17 mount helper error: fusermount: failed to access mountpoint /mnt/HUBIC/Images: Transport endpoint is not connected

Additional information :

maybe my container tag name is wrong, could you please provide a real example for a given container other than default one (deeper) ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

jerome-diver commented 7 years ago

Hi @w3st3ry yes, exactly same as example from hubic.md file (with correct hubic_token and hubic_auth options) with: container=default/Images when try for container=default, it works (but i not have a specific directory).

could you now be able to provide a real example (who works) for a container who target on a deeper directory than default one ? As i told you at the end, i think maybe the sentence of container was wrong... just provide an example and then, i should be able to check that. thank you for read all my comment and for your help.

xlucas commented 7 years ago

Hello,

A container is like a top level directory, it's not part of a hierarchy.

So default/Images is not a container. Instead, default is a container and Images is a pseudo directory.

If you want to create a new container, use your mount command without specifying the container option at all, then you'll see all containers under your account. After this, you can create a new one by simply adding a new top level directory (mkdir /mountpoint/my_container).

Then you can also use it with the container option.

jerome-diver commented 7 years ago

@xlucas, ok, i understand now. thank you very much for explain me that, i didn't know.