3 # Zap the disk to a fresh, usable state (zap-all is important, b/c MBR has to be clean)
4 # You will have to run this step for all disks.
7 # These steps only have to be run once on each node
8 # If rook sets up osds using ceph-volume, teardown leaves some devices mapped that lock the disks.
9 ls /dev/mapper/ceph-* | xargs -I% -- dmsetup remove %
10 # ceph-volume setup can leave ceph-<UUID> directories in /dev (unnecessary clutter)