Skip to content

Instantly share code, notes, and snippets.

@portertech
Created May 17, 2011 02:28
Show Gist options
  • Save portertech/975778 to your computer and use it in GitHub Desktop.
Save portertech/975778 to your computer and use it in GitHub Desktop.
sudo umount /mnt/raid
sudo mdadm --stop /dev/md0
sudo mdadm --remove /dev/md0
for (( i = 1; i <= 6; i++ )); do sudo mdadm --zero-superblock /dev/sdx${i}; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment