On Thu, Sep 24, 2015 at 1:51 AM, Cory Hawkless <c...@hawkless.id.au> wrote:
> Hi all,
>
>
>
> I have basic question around how Ceph stores individual objects.
>
> Say I have a pool with a replica size of 3 and I upload a 1GB file to this
> pool. It appears as if this 1GB file gets placed into 3PG’s on 3 OSD’s ,
> simple enough?

Well, you've gone straight from asking about *objects* to talking
about uploading a *file*, so that doesn't make sense :-)

When you write a file in CephFS, it gets striped into many objects
(4MB by default) in RADOS.  Same with objects in RGW, and block
devices in RBD.  The stripes are 4MB by default, which results in good
data distribution for most workloads.  So the short answer is that
unless you're writing directly to RADOS (i.e with librados), you don't
need to worry.

John

> Are individual objects never split up? What if I want to storage backup
> files or Openstack Glance images totalling 100’s of GB’s.
>
>
>
> Potentially I could run into issues is I have an object who’s size exceeds
> the available space on any of the OSD’s, say I have 1TB OSD’s and they are
> all 50% full and I try to upload a 501GB image, I presume this would fail
> even through there is sufficient space in the pool there is not a single OSD
> with >500GB of space available.
>
>
>
> Do I have this right? If so is there any way around this? Ideally I’d like
> to use Ceph as target for all of my servers backups, but some of these total
> in the TB’s but none of my OSD’s are this big(Currently using 900GB SAS
> disks).
>
>
>
> Thanks in advance
>
> Cory
>
>
>
>
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to