So i have battled the last days to reclaim my disk. Basically long story short i installed proxmox cluster with a ceph cluster. I reinstalled the proxmox node and didnt remove the osd as you should trough the gui found out later, i tried a bunch of commands like zap the disk wipe the disk and so on. But whatever i do i cannot wipe the ceph disk and i cant seem to wipe the disk so i can reuse the disk. How do you go about wiping a ceph disk when you reinstalled the original OS that had the disk as the OSD. i tried DBAN, i tried ShredOS i tried Dells wipe disk feature but it says its looked. i tried hirens boot and wiping the disk i tried in diskpart in windows to wipe the disk all things fail and i dont get it. Is there no way to reclaim my disk? Thanks in advance. Best regards, Christian
What leads you to say that you can’t wipe the drive? You don’t give us a lot of context re the state of the cluster and the drive right now. * Does `ceph osd tree` show the defunct OSD * Does `ceph auth ls`? * What does `fdsik -l /dev/whatever` show?
So i have battled the last days to reclaim my disk. Basically long story short i installed proxmox cluster with a ceph cluster. I reinstalled the proxmox node and didnt remove the osd as you should trough the gui found out later, i tried a bunch of commands like zap the disk wipe the disk and so on. But whatever i do i cannot wipe the ceph disk and i cant seem to wipe the disk so i can reuse the disk. How do you go about wiping a ceph disk when you reinstalled the original OS that had the disk as the OSD. i tried DBAN, i tried ShredOS i tried Dells wipe disk feature but it says its looked. i tried hirens boot and wiping the disk i tried in diskpart in windows to wipe the disk all things fail and i dont get it. Is there no way to reclaim my disk? Thanks in advance. Best regards, Christian _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
In addition, you can review what is locking the drive, if anything, with lsof (lsof /dev/...). If you boot a live CD of any distro, you will absolutely wipe the OSD drive with wipefs -a. If you had used a WAL/DB SSD, you need to wipe that too. If you had used LVM for the OSDs you should delete those volume groups, for example: vgs|grep ceph|awk '{print $1}'|xargs -I {} vgremove -y {} We run these procedures often and they always work. -- Alex Gorbachev https://alextelescope.blogspot.com On Sat, Feb 22, 2025 at 4:12 PM Christian Hansen <plomke@hotmail.com> wrote:
So i have battled the last days to reclaim my disk. Basically long story short i installed proxmox cluster with a ceph cluster. I reinstalled the proxmox node and didnt remove the osd as you should trough the gui found out later, i tried a bunch of commands like zap the disk wipe the disk and so on. But whatever i do i cannot wipe the ceph disk and i cant seem to wipe the disk so i can reuse the disk. How do you go about wiping a ceph disk when you reinstalled the original OS that had the disk as the OSD. i tried DBAN, i tried ShredOS i tried Dells wipe disk feature but it says its looked. i tried hirens boot and wiping the disk i tried in diskpart in windows to wipe the disk all things fail and i dont get it. Is there no way to reclaim my disk? Thanks in advance. Best regards, Christian _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Den sön 23 feb. 2025 kl 03:40 skrev Alex Gorbachev <ag@iss-integration.com>:
In addition, you can review what is locking the drive, if anything, with lsof (lsof /dev/...). If you boot a live CD of any distro, you will absolutely wipe the OSD drive with wipefs -a. If you had used a WAL/DB SSD, you need to wipe that too.
If you had used LVM for the OSDs you should delete those volume groups, for example:
vgs|grep ceph|awk '{print $1}'|xargs -I {} vgremove -y {}
Yes, making the system not recognize the old LVM is very important. If you only half-clean the disk from its old contents and partitions and LVM signatures, it will act up for you later on. -- May the most significant bit of your life be positive.
participants (4)
-
Alex Gorbachev
-
Anthony D'Atri
-
Christian Hansen
-
Janne Johansson