From 2737f91b5501670b2d880cf093569f02a17a4d27 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Mon, 4 Jan 2021 00:17:08 +0100 Subject: [PATCH] clean command update --- CLEAN-COMMAND | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CLEAN-COMMAND b/CLEAN-COMMAND index f60419f..296b8a9 100644 --- a/CLEAN-COMMAND +++ b/CLEAN-COMMAND @@ -10,11 +10,17 @@ vgchange -an wipefs --all /dev/md* mdadm --stop /dev/md* mdadm --zero-superblock /dev/sd* +mdadm --zero-superblock /dev/nvme* mdadm --stop /dev/md* vgchange -an pvremove -ff -y /dev/sd* +pvremove -ff -y /dev/nvme* vgchange -an wipefs --all /dev/sd* wipefs --all /dev/sd* -blkdiscard /dev/sda & blkdiscard /dev/sdb & -dd if=/dev/zero of=/dev/sdc bs=1G count=40 & dd if=/dev/zero of=/dev/sdd bs=1G count=40 & +wipefs --all /dev/nvme* +wipefs --all /dev/nvme* +blkdiscard /dev/nvme0n1 +blkdiscard /dev/nvme1n1 +#blkdiscard /dev/sda & blkdiscard /dev/sdb & +#dd if=/dev/zero of=/dev/sdc bs=1G count=40 & dd if=/dev/zero of=/dev/sdd bs=1G count=40 &