By the way, here is a useful tool to calculate pg.
http://ceph.com/pgcalc/



Best wishes,
Mika


2015-11-18 11:46 GMT+08:00 Vickie ch <mika.leaf...@gmail.com>:

> Hi wah peng,
> Hope you don't  mind. Just for reference.
> A extreme case. If your ceph cluster have 3 osd disks on different osd
> server.
> Set pg number is 10240.(Just example)  That's mean all these pg will
> create on 3 disks.
> Lost one OSD also means a lot of pg lost too. It may bring some trouble
> for re-balance and recovery.
>
> In the other side, if you have 10000 OSDs but only set pg = 8.
> That mean some disks have no chance to using.
>
> Best wishes,
> Mika
>
>
> 2015-11-13 16:26 GMT+08:00 wah peng <wah_p...@yahoo.com.sg>:
>
>> why data lost happens? thanks.
>>
>> On 2015/11/13 ζ˜ŸζœŸδΊ” 16:13, Vickie ch wrote:
>>
>>> In the other side, pg number too large but OSD number too small that
>>> have a chance to cause data lost.
>>>
>> _______________________________________________
>> 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