cloudfuse icon indicating copy to clipboard operation
cloudfuse copied to clipboard

Mounting just one container

Open johnlegend opened this issue 14 years ago • 29 comments

Is it possible to mount just one container. By default, cloudfuse mounts all available containers under the given account. Is it possible to specify the container name to mount as a command line parameter?

johnlegend avatar Apr 14 '11 21:04 johnlegend

I would also welcome this feature.

kaysersoze avatar Nov 21 '11 23:11 kaysersoze

Like. Like. I would also welcome this feature.

chrishough avatar Dec 06 '11 18:12 chrishough

Waiting for this feature

aamirdb avatar Jan 16 '12 11:01 aamirdb

Hi I just implemented this in my fork Feel free to use it!

flovilmart avatar Feb 09 '12 21:02 flovilmart

I would really like this feature as well. I tried vfloz's fork and there is no documentation on how to mount an individual container.

jasonwbarnett avatar Feb 17 '12 19:02 jasonwbarnett

nevermind, i looked through vfloz's source code and found it. line 426 in https://github.com/vfloz/cloudfuse/blob/master/cloudfuse.c

container=

jasonwbarnett avatar Feb 17 '12 19:02 jasonwbarnett

Hi I updated the README when I pushed the update You can either specify container="your container" or pass the container="parameter" in the command line!

flovilmart avatar Feb 17 '12 19:02 flovilmart

@vfloz just so you know, i tested your code and it doesn't work. it had really odd behavior. I did a 'ls' once mounted and it listed the same file multiple times.

jasonwbarnett avatar Feb 18 '12 01:02 jasonwbarnett

I had no problem on my side. But I'll have a look at it.

[F v:lmart]

Le 2012-02-17 à 20:55, Jason [email protected] a écrit :

@vfloz just so you know, i tested your code and it doesn't work. it had really odd behavior. I did a 'ls' once mounted and it listed the same file multiple times.


Reply to this email directly or view it on GitHub: https://github.com/redbo/cloudfuse/issues/11#issuecomment-4031202

flovilmart avatar Feb 18 '12 02:02 flovilmart

Just to give you more information, all of the folder structure was lost when I mounted using your version of cloudfuse. All 6100 of the items in the container where listed in the root folder.

jasonwbarnett avatar Feb 18 '12 02:02 jasonwbarnett

not permanently obviously... just where mounted. I'm using CentOS 5.6.

uname -a Linux myhostname 2.6.18-274.18.1.el5xen #1 SMP Thu Feb 9 13:27:02 EST 2012 x86_64 x86_64 x86_64 GNU/Linux

jasonwbarnett avatar Feb 18 '12 02:02 jasonwbarnett

Thanks, i'll have a look, you never had a chance to list all the content in the container? Le 2012-02-17 à 21:28, Jason Barnett a écrit :

not permanently obviously... just where mounted. I'm using CentOS 5.6.

uname -a Linux myhostname 2.6.18-274.18.1.el5xen #1 SMP Thu Feb 9 13:27:02 EST 2012 x86_64 x86_64 x86_64 GNU/Linux


Reply to this email directly or view it on GitHub: https://github.com/redbo/cloudfuse/issues/11#issuecomment-4031383

flovilmart avatar Feb 18 '12 02:02 flovilmart

What do you mean?

jasonwbarnett avatar Feb 18 '12 02:02 jasonwbarnett

once mounted, nothing was showing with a #ls ?

Le 2012-02-17 à 21:32, Jason Barnett a écrit :

What do you mean?


Reply to this email directly or view it on GitHub: https://github.com/redbo/cloudfuse/issues/11#issuecomment-4031411

flovilmart avatar Feb 18 '12 02:02 flovilmart

EVERYTHING showed up when i typed 'ls'

every single file at the root level showed up. there was no directory structure.

jasonwbarnett avatar Feb 18 '12 03:02 jasonwbarnett

What command did you passed?

[F v:lmart]

Le 2012-02-17 à 22:36, Jason [email protected] a écrit :

EVERYTHING showed up when i typed 'ls'

every single file at the root level showed up. there was no directory structure.


Reply to this email directly or view it on GitHub: https://github.com/redbo/cloudfuse/issues/11#issuecomment-4031723

flovilmart avatar Feb 18 '12 03:02 flovilmart

I passed the ls command

ls

jasonwbarnett avatar Feb 27 '12 15:02 jasonwbarnett

I mean for mounting the container.

[F v:lmart]

Le 2012-02-27 à 10:14, Jason [email protected] a écrit :

I passed the ls command

ls


Reply to this email directly or view it on GitHub: https://github.com/redbo/cloudfuse/issues/11#issuecomment-4195186

flovilmart avatar Feb 27 '12 18:02 flovilmart

entry in fstab:

cloudfusecontainer /media/cloudfilescontainer fuse defaults,gid=156,umask=077,allow_other,use_snet=true,username=myusername,api_key=myapikey,container=main_site 0 0

Just so you know... I renamed the binary file cloudfilescontainer

jasonwbarnett avatar Feb 27 '12 18:02 jasonwbarnett

I did not test fstab integration, do you have the same behavior mounting it from command line?

[F v:lmart]

Le 2012-02-27 à 13:56, Jason [email protected] a écrit :

entry in fstab:

cloudfusecontainer /media/cloudfilescontainer fuse defaults,gid=156,umask=077,allow_other,use_snet=true,username=myusername,api_key=myapikey,container=main_site 0 0


Reply to this email directly or view it on GitHub: https://github.com/redbo/cloudfuse/issues/11#issuecomment-4200363

flovilmart avatar Feb 27 '12 19:02 flovilmart

Rsync has issues with the vfloz's fork of the cloud fuse. I tested with redbo's , it works except for preserve time option, but with vfloz's build , i can't seem to get rsync working. Any thoughts ?

amitn322 avatar Jun 09 '12 16:06 amitn322

I need to check more on the rsync. I left this project a while ago asI didn't needed it that much. On my side it all seemed to work but the performance was really bad.

flovilmart avatar Jul 18 '12 13:07 flovilmart

This would be really useful to anyone that doesn't want to expose ALL containers. like me :-)

bobbymac avatar Sep 28 '12 02:09 bobbymac

Is this implemented yet? If not I would really much like this feature...

renemadsen avatar Sep 12 '13 09:09 renemadsen

Hey, sorry to comment on such an old issue. I was just wondering if Cloud Fuse ever implemented single container mounting with cloud fuse?

I am thinking it might be possible to setup a complex ACL equivalent for read/write access for Cloud Files using something like S/FTP. Which would achieve complex ACL without the need for API or RBAC.

Best wishes, Adam

aziouk avatar Jul 12 '16 13:07 aziouk

Hello, I have the same request to mount only one container.

Regards Guidtz

guidtz avatar Jan 30 '17 09:01 guidtz

7 years later, still waiting for this simple feature....

MrMoronIV avatar May 31 '18 18:05 MrMoronIV

@MrMoronIV if it’s so simple, why didn’t you get a crack at it? I’m genuinely curious.

flovilmart avatar May 31 '18 22:05 flovilmart

Isn't this just using fuse subdir? Or am I misunderstanding? -o module=subdir -o subdir=/container

vicomte avatar May 01 '20 23:05 vicomte