Browse Source

remove clean command

master
parent
commit
e36eced8cc
1 changed files with 0 additions and 26 deletions
  1. +0
    -26
      CLEAN-COMMAND

+ 0
- 26
CLEAN-COMMAND View File

@@ -1,26 +0,0 @@
# DESTROYS EVERYTHING!
# DO NOT USE IF YOU DON'T KNOW WHAT YOU ARE DOING!
# ONLY USE ON FRESH AND NON-PRODUCTIVE SYSTEMS
kill -KILL `lsof -t /target`
umount /target/boot/* /target/* /target
wipefs --all /dev/dm-*
vgchange -an
pvremove -ff -y /dev/md*
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*
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 &

Loading…
Cancel
Save