diff --git a/Documentation/ceph-teardown.md b/Documentation/ceph-teardown.md index 7f03db438..9d9c7030c 100644 --- a/Documentation/ceph-teardown.md +++ b/Documentation/ceph-teardown.md @@ -76,7 +76,10 @@ DISK="/dev/sdb" # Zap the disk to a fresh, usable state (zap-all is important, b/c MBR has to be clean) # You will have to run this step for all disks. sgdisk --zap-all $DISK +# Clean hdds with dd dd if=/dev/zero of="$DISK" bs=1M count=100 oflag=direct,dsync +# Clean disks such as ssd with blkdiscard instead of dd +blkdiscard $DISK # These steps only have to be run once on each node # If rook sets up osds using ceph-volume, teardown leaves some devices mapped that lock the disks.