Is it a cephadm managed cluster? In that case don't use ceph-volume outside of containers. Instead you'd need to execute: cephadm ceph-volume lvm zap /dev/sda Or via orchestrator: ceph orch device zap <host> <device_path> And if it's orchestrated, you could just use orch as well to remove the OSD as described here: https://docs.ceph.com/en/squid/cephadm/services/osd/#replacing-an-osd If it's not cephadm managed, look at the ceph-volume.log to find out more about the root cause. But that error message reminds me of other user's attempts to use ceph-volume outside of containers. Zitat von Patrick Begou <ceph-users@ceph.io>:
Better layout of the text:
I'm replacing the HDD of osd.2 in my squid cluster following the provided documentation: https://docs.ceph.com/en/squid/rados/operations/add-or-rm-osds/
The OSD was yet out and the daemon down.
The osd.2 is destroyed:
ceph osd destroy 2 --yes-i-really-mean-it
I've stopped the node and replaced the HDD. Ceph (graphic board) see the HDD as available. But I'm unable to go further with the ceph-volume commands:
# ceph-volume lvm zap /dev/sda
--> RuntimeError: /dev/mapper/osvg-rootvol not found.
# ceph-volume lvm prepare --osd-id 2 --data /dev/sda
--> RuntimeError: /dev/mapper/osvg-rootvol not found.
Something wrong in my cluster or a step is missing in the documentation ?
Le 07/09/2026 à 11:38, Patrick Begou a écrit :
Hi
I'm replacing the HDD of osd.2 in my squid cluster following the provided documentation: https://docs.ceph.com/en/squid/rados/operations/add-or-rm-osds/
The OSD was yet out and the daemon down.
The osd.2 is destroyed:
cephosddestroy2--yes-i-really-mean-it I've stopped the node and replaced the HDD. Ceph (graphic board) see the HDD as available. But I'm unable to go further with the ceph-volume commands: # ceph-volume lvm zap /dev/sda --> RuntimeError: /dev/mapper/osvg-rootvol not found. # ceph-volume lvm prepare --osd-id 2 --data /dev/sda --> RuntimeError: /dev/mapper/osvg-rootvol not found.
Something wrong in my cluster or a step is missing in the documentation ?
Thank
Patrick
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io