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.

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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