Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to set up a RAID1 array, like this:

djc@miles dev $ sudo mdadm -v --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
mdadm: Defaulting to version 1.2 metadata
mdadm: RUN_ARRAY failed: Invalid argument

This is with two brand new hard disks and brand new (type 83) partitions (both have a single partition). What could be going wrong here? Google is not offering much help, and I don't really understand the error message here.

share|improve this question
up vote 3 down vote accepted

I figured it out: my kernel doesn't contain support for RAID1. Should have enabled the CONFIG_MD_RAID1 option.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.