23 Feb
2025
23 Feb
'25
7:39 a.m.
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.