On 26-09-14 17:16, Dan Van Der Ster wrote: > 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? > I simply would do: $ ceph-deploy osd create mycephnode1:sde:sda1 That should work just fine. > Cheers, Dan > > _______________________________________________ > ceph-users mailing list > ceph-users at lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > -- Wido den Hollander 42on B.V. Phone: +31 (0)20 700 9902 Skype: contact42on