Thread (5 messages) 5 messages, 2 authors, 2010-08-12

Re: weird SparesMissing event

From: Tobias Gunkel <hidden>
Date: 2010-08-11 09:46:22

Am 11.08.2010 09:57, schrieb Neil Brown:
This means that /etc/mdadm/mdadm.conf says /dev/md2 has more spare devices
than it currently has.  What is in /etc/mdadm/mdadm.conf
root@MCI03:~# egrep -v '^#|^$' /etc/mdadm/mdadm.conf
DEVICE partitions
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
ARRAY /dev/md0 UUID=304f5f2a:fbc8082b:54307b3d:1949437b
   spares=1
ARRAY /dev/md1 UUID=b263f9c1:5c680152:54307b3d:1949437b
   spares=1
ARRAY /dev/md2 UUID=7aa24776:9d6e8d24:54307b3d:1949437b
   spares=2
MAILADDR foo@bar.com

What do you get if you run

 mdadm --examine --scan --verbose
root@MCI03:~# mdadm --examine --scan --verbose
ARRAY /dev/md0 level=raid1 num-devices=2
UUID=304f5f2a:fbc8082b:54307b3d:1949437b
   spares=1   devices=/dev/sdc1,/dev/sdb1,/dev/sda1
ARRAY /dev/md1 level=raid1 num-devices=2
UUID=b263f9c1:5c680152:54307b3d:1949437b
   spares=1   devices=/dev/sdc2,/dev/sdb2,/dev/sda2
ARRAY /dev/md2 level=raid1 num-devices=2
UUID=7aa24776:9d6e8d24:54307b3d:1949437b
   spares=2
devices=/dev/sdc3,/dev/sdc,/dev/sdb3,/dev/sdb,/dev/sda3,/dev/sda


Hm, md2 contains devices. How is that?

Tobi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help