[vox-tech] mdadm failing to start RAID5 array

Ryan Castellucci cjg5ehir02 at sneakemail.com
Sun Apr 17 11:26:52 PDT 2005


I'm trying to use RAID5 with 4 200gb SATA drives on mandrake 10.1, and
the array creates fine, but when I try to restart it, i get 'invalid
argument' errors from mdadm, adding devices to /dev/md0

[root at media root]# cat /etc/mdadm.conf
DEVICE /dev/sd*1
ARRAY /dev/md0 level=raid5 num-devices=4 UUID=d9008623:c81eff0d:a8fc1629:4223b0b6 devices=/dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1

[root at media root]# mdadm -v --assemble /dev/md0
mdadm: looking for devices for /dev/md0
mdadm: /dev/sdd1 is identified as a member of /dev/md0, slot 4.
mdadm: /dev/sdc1 is identified as a member of /dev/md0, slot 2.
mdadm: /dev/sdb1 is identified as a member of /dev/md0, slot 1.
mdadm: /dev/sda1 is identified as a member of /dev/md0, slot 0.
mdadm: failed to add /dev/sdb1 to /dev/md0: Invalid argument
mdadm: failed to add /dev/sdc1 to /dev/md0: Invalid argument
mdadm: no uptodate device for slot 3 of /dev/md0
mdadm: failed to add /dev/sdd1 to /dev/md0: Invalid argument
mdadm: failed to add /dev/sda1 to /dev/md0: Invalid argument
mdadm: /dev/md0 assembled from 1 drive and -1 spares - not enough to start the array.

-- 
Ryan Castellucci - http://ryanc.org/
GPG Key: http://ryanc.org/files/publickey.asc


More information about the vox-tech mailing list