|
@@ -1,3 +1,11 @@ |
|
|
# DESTROYS EVERYTHING! DON'T USE IF YOU DON'T KNOW WHAT YOU ARE DOING! |
|
|
# DESTROYS EVERYTHING! DON'T USE IF YOU DON'T KNOW WHAT YOU ARE DOING! |
|
|
# ONLY USE ON FRESH AND NON-PRODUCTIVE SYSTEMS |
|
|
# ONLY USE ON FRESH AND NON-PRODUCTIVE SYSTEMS |
|
|
umount /target/boot/* /target/* /target; vgchange -an; mdadm --stop /dev/md*; mdadm --zero-superblock /dev/sd*; mdadm --stop /dev/md*; wipefs --all /dev/sd*; |
|
|
|
|
|
|
|
|
umount /target/boot/* /target/* /target |
|
|
|
|
|
wipefs --all /dev/dm-* |
|
|
|
|
|
vgchange -an |
|
|
|
|
|
wipefs --all /dev/md* |
|
|
|
|
|
pvremove -ff -y /dev/md* |
|
|
|
|
|
mdadm --stop /dev/md* |
|
|
|
|
|
mdadm --zero-superblock /dev/sd* |
|
|
|
|
|
mdadm --stop /dev/md* |
|
|
|
|
|
wipefs --all /dev/sd* |