How to wipe a disk which was OSD before?

Oct 28, 2013
280
43
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!