Re: Correct way to replace working OSD disk keeping the same OSD ID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> 
> 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@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux