You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011
  1. # DESTROYS EVERYTHING! DON'T USE IF YOU DON'T KNOW WHAT YOU ARE DOING!
  2. # ONLY USE ON FRESH AND NON-PRODUCTIVE SYSTEMS
  3. umount /target/boot/* /target/* /target
  4. wipefs --all /dev/dm-*
  5. vgchange -an
  6. wipefs --all /dev/md*
  7. pvremove -ff -y /dev/md*
  8. mdadm --stop /dev/md*
  9. mdadm --zero-superblock /dev/sd*
  10. mdadm --stop /dev/md*
  11. wipefs --all /dev/sd*