How to remove Linux software RAID MD device?

Well, this is how I solved my problem. I found some steps how to remove MD device.

  1. In the openSUSE 12.3 installer, switch to the console.
  2. List your devices: # df -kh
  3. Make sure the devices are unmounted: # umount /dev/md124
  4. Check the details: # mdadm --detail /dev/md124
  5. Stop the device: # mdadm -S /dev/md124
  6. Zero out the superblocks of physical devices that belong to the MD device:
    # mdadm --zero-superblock /dev/sdb1
  7. Switch back to the installer.
  8. In the partitioning part of installer, refresh devices.
  9. The MD devices should not be there now.