[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /dev/md0 don't start after controller change



On 12/7/06, michael <michael@estone.ca> wrote:
On Thu, 7 Dec 2006 12:25:40 +0100, Andrea Ganduglia wrote
>
> In some way /dev/sda1 and /dev/sdb1 lost information about --add
> option after any reboot. :-(

After you add your partition,
how does mdadm --detail --scan compare to /etc/mdadm/mdadm.conf ?

There are important differences

pro:~# mdadm --add /dev/md0 /dev/sdc1

pro:~# cat /etc/mdadm/mdadm.conf
DEVICE partitions
ARRAY /dev/md1 level=raid5 num-devices=5 spares=1
UUID=04a39ca8:0f07922a:5eb2e3a1:851b13b9
  devices=/dev/sda2,/dev/sdb2,/dev/sdc2,/dev/sdd2,/dev/sde2,/dev/sdf2
ARRAY /dev/md0 level=raid1 num-devices=5 spares=1
UUID=fc7dc246:3f029459:8ede4b05:519a9a8f
  devices=/dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1

pro:~# mdadm --detail --scan
ARRAY /dev/md1 level=raid5 num-devices=5 spares=1
UUID=04a39ca8:0f07922a:5eb2e3a1:851b13b9
  devices=/dev/sda2,/dev/sdf2,/dev/sdd2,/dev/sdc2,/dev/sde2,/dev/sdb2
ARRAY /dev/md0 level=raid1 num-devices=5
UUID=fc7dc246:3f029459:8ede4b05:519a9a8f
  devices=/dev/sda1,/dev/sdb1,/dev/sdc1



--
Openclose.it - Idee per il software libero
http://www.openclose.it



Reply to: