Hi Kefu, On 09/22/2017 02:49 PM, kefu chai wrote: > hi Loic, > > while ready the source of ceph-disk, i found the "tobe" and "ready" > are confusing, why do we need them, instead of just using a single > ptype? why creating some block partition is atomic, while creating > some others is not? > > could you please shed some insights on it? > In the case of a journal, it is enough to create the partition with the appropriate type and it is ready to be used by ceph-osd. For a data partition, there is an intermediate step: creating the file system and populating it with the required files. Does that answer your question ? If not I'd be happy to explain further. Cheers -- 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