Re: Create file bigger than osd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Mon, Jan 19, 2015 at 11:38 AM, Fabian Zimmermann <dev.faz@xxxxxxxxx> wrote:
Hi,

Am 19.01.15 um 12:24 schrieb Luis Periquito:
> AFAIK there is no such limitation.
>
> When you create a file, that file is split into several objects (4MB IIRC
> each by default), and those objects will get mapped to a PG -
> http://ceph.com/docs/master/rados/operations/placement-groups/
right, and this pg is mapped to X osd. (X = level of replication).

Let's assume X=3.

So, even if I split 2T into 4MB junks, I have to store these 3T at all
osds in this pg, isn't it?

Each object will get mapped to a different PG. The size of an OSD will affect its weight and the number of PGs assigned to it, so a smaller OSD will get less PGs.

And BTW, with a replica of 3, a 2TB will need 6TB of storage - each object is replicated 3 times, so taking up triple the space.


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux