Re: [Openstack] Swift supported file system

2012-01-23 Thread Khaled Ben Bahri

Thanks for your answer,

For the first question I meant, tha i wish to mount a shared forlder that uses 
swift for storage

Best Regards
Khaled

Date: Fri, 20 Jan 2012 13:59:56 -0600
From: florian.hi...@gmail.com
To: openstack@lists.launchpad.net
Subject: Re: [Openstack] Swift supported file system


On Friday, January 20, 2012 at 12:47 PM, Khaled Ben Bahri wrote:





Hi,

Can any one please tell me if we can mount and use for openstack swift a 
mounted shared folder as a storage device

Do you mean use shared storage as the storage backend for swift?  Or do you 
wish to mount a shared folder that uses swift for storage (ala 
dropbox/jungledisk/fuse) ?


 Is it necessary that storage devices have to be mounted on /srv/node??

You can change where you mount devices with the devices config option in the 
default section of your config.
--Florian Hines | @pandemicsynhttp://about.me/pandemicsyn 



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp   
  ___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Swift supported file system

2012-01-23 Thread John Dickinson
That functionality is left up to a client. For example, you could use FUSE to 
spoof swift as a filesystem or you could use a client like Cyberduck or even 
write your own. Last week someone on this mailing list talked about adding 
webDAV support to swift.

All of these work in that they present swift to the user as a filesystem. 
However, swift doesn't follow POSIX semantics and therefore any attempt to 
force swift into such a model will have drawbacks (mostly with regards to 
performance).

--John


On Jan 23, 2012, at 4:47 AM, Khaled Ben Bahri wrote:

 Thanks for your answer,
 
 For the first question I meant, tha i wish to mount a shared forlder that 
 uses swift for storage
 
 Best Regards
 Khaled
 
 Date: Fri, 20 Jan 2012 13:59:56 -0600
 From: florian.hi...@gmail.com
 To: openstack@lists.launchpad.net
 Subject: Re: [Openstack] Swift supported file system
 
 On Friday, January 20, 2012 at 12:47 PM, Khaled Ben Bahri wrote:
 Hi,
 
 Can any one please tell me if we can mount and use for openstack swift a 
 mounted shared folder as a storage device
 
 Do you mean use shared storage as the storage backend for swift?  Or do you 
 wish to mount a shared folder that uses swift for storage (ala 
 dropbox/jungledisk/fuse) ?
 
 
  
 Is it necessary that storage devices have to be mounted on /srv/node??
 
 You can change where you mount devices with the devices config option in 
 the default section of your config.
 
 --
 Florian Hines | @pandemicsyn
 http://about.me/pandemicsyn
  
 
 
 ___ Mailing list: 
 https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net 
 Unsubscribe : https://launchpad.net/~openstack More help : 
 https://help.launchpad.net/ListHelp
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp



smime.p7s
Description: S/MIME cryptographic signature
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Swift supported file system

2012-01-23 Thread Khaled Ben Bahri

Thanks a lot

and for using a shared folder mounted on nfs as the storage backend for swift? 
is it possible??

best regards
Khaled

 Subject: Re: [Openstack] Swift supported file system
 From: m...@not.mn
 Date: Mon, 23 Jan 2012 07:47:44 -0600
 CC: florian.hi...@gmail.com; openstack@lists.launchpad.net
 To: khaled-...@hotmail.com
 
 That functionality is left up to a client. For example, you could use FUSE to 
 spoof swift as a filesystem or you could use a client like Cyberduck or even 
 write your own. Last week someone on this mailing list talked about adding 
 webDAV support to swift.
 
 All of these work in that they present swift to the user as a filesystem. 
 However, swift doesn't follow POSIX semantics and therefore any attempt to 
 force swift into such a model will have drawbacks (mostly with regards to 
 performance).
 
 --John
 
 
 On Jan 23, 2012, at 4:47 AM, Khaled Ben Bahri wrote:
 
  Thanks for your answer,
  
  For the first question I meant, tha i wish to mount a shared forlder that 
  uses swift for storage
  
  Best Regards
  Khaled
  
  Date: Fri, 20 Jan 2012 13:59:56 -0600
  From: florian.hi...@gmail.com
  To: openstack@lists.launchpad.net
  Subject: Re: [Openstack] Swift supported file system
  
  On Friday, January 20, 2012 at 12:47 PM, Khaled Ben Bahri wrote:
  Hi,
  
  Can any one please tell me if we can mount and use for openstack swift a 
  mounted shared folder as a storage device
  
  Do you mean use shared storage as the storage backend for swift?  Or do you 
  wish to mount a shared folder that uses swift for storage (ala 
  dropbox/jungledisk/fuse) ?
  
  
   
  Is it necessary that storage devices have to be mounted on /srv/node??
  
  You can change where you mount devices with the devices config option in 
  the default section of your config.
  
  --
  Florian Hines | @pandemicsyn
  http://about.me/pandemicsyn
   
  
  
  ___ Mailing list: 
  https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net 
  Unsubscribe : https://launchpad.net/~openstack More help : 
  https://help.launchpad.net/ListHelp
  ___
  Mailing list: https://launchpad.net/~openstack
  Post to : openstack@lists.launchpad.net
  Unsubscribe : https://launchpad.net/~openstack
  More help   : https://help.launchpad.net/ListHelp
 
  ___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Swift supported file system

2012-01-23 Thread John Dickinson
The storage volumes referenced in the ring are identified by an IP, port, and 
mount point. So, it is possible to use network attached storage for swift (as 
long as it still supports xattrs). However, I don't know if this has ever 
really been tried (especially in production), and I'd be surprised if you get 
any benefits doing this (rather than using local hard drives).

--John


On Jan 23, 2012, at 8:04 AM, Khaled Ben Bahri wrote:

 Thanks a lot
 
 and for using a shared folder mounted on nfs as the storage backend for 
 swift? is it possible??
 
 best regards
 Khaled
 
  Subject: Re: [Openstack] Swift supported file system
  From: m...@not.mn
  Date: Mon, 23 Jan 2012 07:47:44 -0600
  CC: florian.hi...@gmail.com; openstack@lists.launchpad.net
  To: khaled-...@hotmail.com
  
  That functionality is left up to a client. For example, you could use FUSE 
  to spoof swift as a filesystem or you could use a client like Cyberduck or 
  even write your own. Last week someone on this mailing list talked about 
  adding webDAV support to swift.
  
  All of these work in that they present swift to the user as a filesystem. 
  However, swift doesn't follow POSIX semantics and therefore any attempt to 
  force swift into such a model will have drawbacks (mostly with regards to 
  performance).
  
  --John
  
  
  On Jan 23, 2012, at 4:47 AM, Khaled Ben Bahri wrote:
  
   Thanks for your answer,
   
   For the first question I meant, tha i wish to mount a shared forlder that 
   uses swift for storage
   
   Best Regards
   Khaled
   
   Date: Fri, 20 Jan 2012 13:59:56 -0600
   From: florian.hi...@gmail.com
   To: openstack@lists.launchpad.net
   Subject: Re: [Openstack] Swift supported file system
   
   On Friday, January 20, 2012 at 12:47 PM, Khaled Ben Bahri wrote:
   Hi,
   
   Can any one please tell me if we can mount and use for openstack swift a 
   mounted shared folder as a storage device
   
   Do you mean use shared storage as the storage backend for swift? Or do 
   you wish to mount a shared folder that uses swift for storage (ala 
   dropbox/jungledisk/fuse) ?
   
   
   
   Is it necessary that storage devices have to be mounted on /srv/node??
   
   You can change where you mount devices with the devices config option 
   in the default section of your config.
   
   --
   Florian Hines | @pandemicsyn
   http://about.me/pandemicsyn
   
   
   
   ___ Mailing list: 
   https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net 
   Unsubscribe : https://launchpad.net/~openstack More help : 
   https://help.launchpad.net/ListHelp
   ___
   Mailing list: https://launchpad.net/~openstack
   Post to : openstack@lists.launchpad.net
   Unsubscribe : https://launchpad.net/~openstack
   More help : https://help.launchpad.net/ListHelp
 



smime.p7s
Description: S/MIME cryptographic signature
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Swift supported file system

2012-01-23 Thread Khaled Ben Bahri

Hi john,

Thanks for your answer
I will try it, and tell you
the shared folder wich i mounted is in nfs wich doesn't support xattrs
I wonder if i can mount a shared folder in a file system that supports xattrs

Best regards
Khaled

 Subject: Re: [Openstack] Swift supported file system
 From: m...@not.mn
 Date: Mon, 23 Jan 2012 08:30:28 -0600
 CC: florian.hi...@gmail.com; openstack@lists.launchpad.net
 To: khaled-...@hotmail.com
 
 The storage volumes referenced in the ring are identified by an IP, port, and 
 mount point. So, it is possible to use network attached storage for swift (as 
 long as it still supports xattrs). However, I don't know if this has ever 
 really been tried (especially in production), and I'd be surprised if you get 
 any benefits doing this (rather than using local hard drives).
 
 --John
 
 
 On Jan 23, 2012, at 8:04 AM, Khaled Ben Bahri wrote:
 
  Thanks a lot
  
  and for using a shared folder mounted on nfs as the storage backend for 
  swift? is it possible??
  
  best regards
  Khaled
  
   Subject: Re: [Openstack] Swift supported file system
   From: m...@not.mn
   Date: Mon, 23 Jan 2012 07:47:44 -0600
   CC: florian.hi...@gmail.com; openstack@lists.launchpad.net
   To: khaled-...@hotmail.com
   
   That functionality is left up to a client. For example, you could use 
   FUSE to spoof swift as a filesystem or you could use a client like 
   Cyberduck or even write your own. Last week someone on this mailing list 
   talked about adding webDAV support to swift.
   
   All of these work in that they present swift to the user as a 
   filesystem. However, swift doesn't follow POSIX semantics and therefore 
   any attempt to force swift into such a model will have drawbacks (mostly 
   with regards to performance).
   
   --John
   
   
   On Jan 23, 2012, at 4:47 AM, Khaled Ben Bahri wrote:
   
Thanks for your answer,

For the first question I meant, tha i wish to mount a shared forlder 
that uses swift for storage

Best Regards
Khaled

Date: Fri, 20 Jan 2012 13:59:56 -0600
From: florian.hi...@gmail.com
To: openstack@lists.launchpad.net
Subject: Re: [Openstack] Swift supported file system

On Friday, January 20, 2012 at 12:47 PM, Khaled Ben Bahri wrote:
Hi,

Can any one please tell me if we can mount and use for openstack swift 
a mounted shared folder as a storage device

Do you mean use shared storage as the storage backend for swift? Or do 
you wish to mount a shared folder that uses swift for storage (ala 
dropbox/jungledisk/fuse) ?



Is it necessary that storage devices have to be mounted on /srv/node??

You can change where you mount devices with the devices config option 
in the default section of your config.

--
Florian Hines | @pandemicsyn
http://about.me/pandemicsyn



___ Mailing list: 
https://launchpad.net/~openstack Post to : 
openstack@lists.launchpad.net Unsubscribe : 
https://launchpad.net/~openstack More help : 
https://help.launchpad.net/ListHelp
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
  
 
  ___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Swift supported file system

2012-01-23 Thread Caitlin Bestler
John Dickinson wrote:

 The storage volumes referenced in the ring are identified by an IP, port, and 
 mount point. So, it is possible to use
 network attached storage for swift (as long as it still supports xattrs). 
 However, I don't know if this has ever really
 been tried (especially in production), and I'd be surprised if you get any 
 benefits doing this (rather than using local
 hard drives).

Also, the Swift code assumes that local storage is indeed local. At the minimum 
I believe it is safe to state that none
of this code has been tested under a scenario where somebody else is changing 
the files behind its back.

Also Swift assumes that if it creates three replicas that those are at least 
three replicas, not three references to shared
NAS storage.


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Swift supported file system

2012-01-20 Thread Chmouel Boudjnah
On Fri, Jan 20, 2012 at 1:59 PM, Florian Hines florian.hi...@gmail.comwrote:

 Is it necessary that storage devices have to be mounted on /srv/node??

 You can change where you mount devices with the devices config option in
 the default section of your config.


Note that there is a few places in the code that reference directly
/srv/nodes as reported on bug #885006 but that should not affect the
operation of the cluster (they are only part of prints).

Chmouel.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp