From: Tobias Gunkel Subject: Re: weird SparesMissing event Date: Wed, 11 Aug 2010 11:46:22 +0200 Message-ID: <4C62716E.1090902@qumido.de> References: <4C624B80.9030304@qumido.de> <20100811175711.40cb75c9@notabene> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20100811175711.40cb75c9@notabene> Sender: linux-raid-owner@vger.kernel.org To: linux-raid@vger.kernel.org List-Id: linux-raid.ids 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 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