One possibility would be so have ceph simply set aside space on the OSD and echo the metadata there automatically. Then a mechanism could scan for un-adopted drives and import as needed. So even a dead host would be OK as long as the device/LV was still usable. I've migrated non-ceph LVs, after all.

   Tim

On 4/12/25 10:25, Gregory Orange wrote:
On 12/4/25 20:56, Tim Holloway wrote:
Which brings up something I've wondered about for some time. Shouldn't
it be possible for OSDs to be portable? That is, if a box goes bad, in
theory I should be able to remove the drive and jack it into a hot-swap
bay on another server and have that server able to import the relocated OSD.

True, the metadata for an OSD is currently located on its host, but it
seems like it should be possible to carry a copy on the actual device.
It seems to me the theoretical way to do this would be to `ceph-volume
lvm migrate` it to the HDD, then move the HDD to a new machine.

That would require the box not be fatally bad though, so I'm not sure
how much that helps. Are there lower level tools which could be used
instead of the above?

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

Reply via email to