Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 2 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

 
discard

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.