On Fri, Feb 9, 2018 at 10:48 AM, Nico Schottelius <nico.schottelius@xxxxxxxxxxx> wrote: > > Dear list, > > for a few days we are disecting ceph-disk and ceph-volume to find out, > what is the appropriate way of creating partitions for ceph. ceph-volume does not create partitions for ceph > > For years already I found ceph-disk (and especially ceph-deploy) very > error prone and we at ungleich are considering to rewrite both into a > ceph-block-do-what-I-want-tool. This is not very simple, that is the reason why there are tools that do this for you. > > Only considering bluestore, I see that ceph-disk creates two partitions: > > Device Start End Sectors Size Type > /dev/sde1 2048 206847 204800 100M Ceph OSD > /dev/sde2 206848 2049966046 2049759199 977.4G unknown > > Does somebody know, what exactly belongs onto the xfs formatted first > disk and how is the data/wal/db device sde2 formatted? If you must, I would encourage you to try ceph-disk out with full verbosity and dissect all the system calls, which will answer how the partitions are formatted > > What I really would like to know is, how can we best extract this > information so that we are not depending on ceph-{disk,volume} anymore. Initially you mentioned partitions, but you want to avoid ceph-disk and ceph-volume wholesale? That is going to take a lot more effort. These tools not only "prepare" devices for Ceph consumption, they also "activate" them when a system boots, it talks to the cluster to register the OSDs, etc... It isn't just partitioning (for ceph-disk). > > Any pointer for the on disk format would be much appreciated! Again, if you are only interested in how ceph-disk partitions or how ceph-volume formats, you should try them out with full verbosity (ceph-volume logs everything to /var/log/ceph/ceph-volume.log) > > Best, > > Nico > > > > > -- > Modern, affordable, Swiss Virtual Machines. Visit www.datacenterlight.ch > _______________________________________________ > 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