> Nothing prevents me to offer a service directly based on RADOS API, if > S3 compatibility is not needed, right ? Correct, That is librados. > What I don't understand is how can I access a single file from RGW. If > LibRBD and RGW are 'gateway' to a RADOS store, i'll have access to a > block device, not to a single file. > Should I create a filesystem on the block device before using that with > RGW? RGW and libRBD are not the same pool, you can`t access aRBD volume with RGW. The RADOS treats the RBD volume as just a large object. On 30 October 2012 21:57, Gandalf Corvotempesta <gandalf.corvotempesta@xxxxxxxxx> wrote: > > 2012/10/30 Gregory Farnum <greg@xxxxxxxxxxx>: > > Not exactly. RADOS is natively a (powerful) object store. RGW takes S3 > > and Swift REST requests and translates them into RADOS requests, > > stored in a "custom" format. RBD is a client-side library which takes > > a logical block device and stripes it over RADOS objects (by default, > > the first 4MB is one object, the second 4MB are another object, etc). > > Make sense? > > So, a ceph cluster is made from multiple OSDs. > these OSDs are combined by RADOS that is an object store that will > stripe over multiple OSDs > > This store can be accessed by RGW (for S3 and Swift api compatibility, > in needed) or directly by a server as a block device with librbd > > This should be the architecture: > > OSD -> RADOS -> RGW/LibRBD -> Customer/Server > > Nothing prevents me to offer a service directly based on RADOS API, if > S3 compatibility is not needed, right ? > > What I don't understand is how can I access a single file from RGW. If > LibRBD and RGW are 'gateway' to a RADOS store, i'll have access to a > block device, not to a single file. > Should I create a filesystem on the block device before using that with > RGW? > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- 袁冬 Email:yuandong1222@xxxxxxxxx QQ:10200230 -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html