From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Kristleifur_Da=F0ason?= Subject: Re: Array over arrays - how to autoassemble correctly? Date: Wed, 27 Jan 2010 19:45:13 +0000 Message-ID: <73e903671001271145p7b698661w3ca6562c2ced1018@mail.gmail.com> References: <73e903671001271032q1802c678i860744c72e2a92f3@mail.gmail.com> <20100127194139.GA18250@maude.comedia.it> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20100127194139.GA18250@maude.comedia.it> Sender: linux-raid-owner@vger.kernel.org To: linux-raid List-Id: linux-raid.ids On Wed, Jan 27, 2010 at 7:41 PM, Luca Berra wrote: > On Wed, Jan 27, 2010 at 06:32:57PM +0000, Kristleifur Da=C4=91ason wr= ote: >> >> # mdadm.conf >> # >> >> # by default, scan all partitions (/proc/partitions) for MD superblo= cks. >> # alternatively, specify devices to scan, using wildcards if desired= =2E >> DEVICE partitions /dev/md/d0 /dev/md/d1 >> >> # auto-create devices with Debian standard permissions >> # CREATE owner=3Droot group=3Ddisk mode=3D0660 auto=3Dmdp >> >> # automatically tag new arrays as belonging to the local system >> HOMEHOST >> >> # definitions of existing MD arrays >> >> ARRAY /dev/md/d0 metadata=3D1.1 name=3Dmamma:d0 >> UUID=3D7f98e926:206a8ebe:59fc8d7b:4644a883 level=3Draid6 num-devices= =3D6 # >> container=3D6f98a7a8:d7b50181:587c27d1:59d6d137 >> >> ARRAY /dev/md/d1 metadata=3D1.1 name=3Dmamma:d1 >> UUID=3Dda547022:042a6f68:d5fe251e:5e89f263 level=3Draid6 num-devices= =3D6 # >> container=3D6f98a7a8:d7b50181:587c27d1:59d6d137 >> >> ARRAY /dev/md/tank metadata=3D1.1 name=3Dmamma:tank >> UUID=3D6f98a7a8:d7b50181:587c27d1:59d6d137 level=3Draid0 num-devices= =3D2 >> devices=3D/dev/md/d0,/dev/md/d1 >> > > this kind of setup should be working without any issue on recent mdad= m > try removing > DEVICE partitions /dev/md/d0 /dev/md/d1 > and the "devices=3D/dev/md/d0,/dev/md/d1" from mdadm.conf > and let it discover things on boot by itself > > L. > Many thanks for the reply! However, that's how the mdadm.conf looked like until today - adding the DEVICE and devices stuff is something I put in to get things to autoassemble themselves fully, as I thought 'man mdadm.conf' indicated it. Still, I'll certianly try - with and without - and double-checking that my initramfs is OK. Any further input most well appreciated. -- Kristleifur -- To unsubscribe from this list: send the line "unsubscribe linux-raid" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html