Hi all.

Is there any way to create osd manually, which would use a designated partition 
of the journal disk (without using ceph-ansible)?
I have journals on SSD disks nad each journal disk contains 3 partitions for 3 
osds.

Example: one of the osds crashed. I changed a disk (sdaa) and want to prepare 
the disk for adding to the cluster. Here is the journal, that should be used by 
new osd:
/dev/sdaf :
/dev/sdaf2 ceph journal
/dev/sdaf3 ceph journal, for /dev/sdab1
/dev/sdaf1 ceph journal, for /dev/sdz1

You see, that the bad disk used a second partition. If I run ceph-disk prepare  
/dev/sdaa /dev/sdaf, ceph-disk creates /dev/sdaf4 partition and sets it as 
journal disk for the osd. But I want to use second empty partition 
(/dev/sdaf2). If I delete /dev/sdaf2 partition, the behavior doesn't change.

Can someone help me?


BR,
Nikita


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

Reply via email to