> 
> I'm struggling to unbderstand what is the correct way to remove a
> working disk and replace it (e.g. for a disk upgrade) while keeping the
> same OSD ID. I did this several times following this procedure:
> 
>    https://docs.ceph.com/en/reef/cephadm/services/osd/#replacing-an-osd
> 
> every time facing a different issue. This time it happened that after
> removal the OSD was marked as destroyed, so I went on with disk
> replacement and then with:
> 
>    ceph orch apply osd --all-available-devices
> 
> but this created a new OSD with a new ID instead of reusing the old one,
> which remained in destroyed state.
> 

I used to ask this question also. But there is no need to have it the same 
number. You should not care about this. Having said that, last time I checked 
it is just using correct number. 

This is from old manual I have, where you can set the number

sudo -u ceph ceph-osd -i 14 --mkfs --osd-uuid

_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to