Hi,
Apologies for this trivial question, but what is the correct procedure to 
replace a failed OSD that uses a shared journal device?

Suppose you have 5 spinning disks (sde,sdf,sdg,sdh,sdi) and these each have a 
journal partition on sda (sda1-5). Now sde fails and is replaced with a new 
drive. Where do you put the journal for the new sde? It _should_ be sda1 of 
course, but I didn’t yet work out the correct way to reuse that.

Using ceph-disk (in dumpling), I found that ceph-disk prepare /dev/sde /dev/sda 
will create a 6th partition on sda. If I rm partition 1 before running 
ceph-disk, it seems to re-use partition 1 but the udev triggers (probably 
partx) don’t quite like this and the osd is never activated.

I’m just curious, for such a routine operation, what are most admins doing in 
this case?

Cheers, Dan

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

Reply via email to