How to wipe a disk which was OSD before?

Oct 28, 2013
309
48
93
www.nadaka.de
Hi there,

I did a reinstall of my three node PVE/Ceph cluster, and now I would like to clean up the OSDs so that I can use them again as... OSDs :D. Lately I found a nice command for this task, but I can't find it anymore. Can you help?

Thanks and greets
Stephan
 
The ceph-volume lvm zap /dev/sdX is enough, to clear the GPT. And with the pveceph the disk is then zapped again on creation.