Re: understanding PG count for a file

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

 



Hello,

file -> many objects-> many PG(each pg has two copies, because your replication count is two)-> many OSD 
pgs can be distributed in OSDs, no limitation for only 2, replication count 2only determine pg copies is 2.

Hope this will help. 

> 在 2018年8月2日,下午3:43,Surya Bala <sooriya.balan@xxxxxxxxx> 写道:
> 
> Hi folks,
> 
> From the ceph documents i understood about PG and why should PG number should be optimal. But i dont find any info about the below point
> 
> I am using cephfs client in my ceph cluster. When we store a file(consider replication count is 2) , it will be splitted into objects and each object will be stored in different PG and each PG will be mapped to a OSD. It means there can be many OSD for a single file . But why are we getting only 2 OSDs by the command 'ceph OSD map'
> 
> file -> many objects-> many PG-> many OSD 
> 
> Is that all objects of a file will be stored in only 2 OSD(in case of replication count is 2)?
> 
> Regards
> Surya Balan
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
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