Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N6QoB-00059F-HG for mharc-grub-devel@gnu.org; Fri, 06 Nov 2009 10:33:03 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N6Qo9-000590-6R for grub-devel@gnu.org; Fri, 06 Nov 2009 10:33:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N6Qo4-00055V-K4 for grub-devel@gnu.org; Fri, 06 Nov 2009 10:33:00 -0500 Received: from [199.232.76.173] (port=51963 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6Qo4-00055S-Dc for grub-devel@gnu.org; Fri, 06 Nov 2009 10:32:56 -0500 Received: from moutng.kundenserver.de ([212.227.126.177]:52805) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N6Qo3-0006UF-PL for grub-devel@gnu.org; Fri, 06 Nov 2009 10:32:56 -0500 Received: from [85.180.24.241] (e180024241.adsl.alicedsl.de [85.180.24.241]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0Mgrgq-1MkNiV3jua-00MUyM; Fri, 06 Nov 2009 16:32:52 +0100 From: Felix Zielcke To: The development of GRUB 2 Content-Type: text/plain; charset="UTF-8" Date: Fri, 06 Nov 2009 16:32:51 +0100 Message-ID: <1257521571.3060.23.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18TCzfD0T19XIKOncsEtT7ANQv0JSN+/t1uOCj deJxyWQdICC5PTJmBNSMNzMuARn7TvcWkXZCJiKitHDg35lE4B Dt/2OOggeS6BCzU1Mzo0w== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [BZR BRANCH] [RFC] mdraid 1.x metadata support X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2009 15:33:01 -0000 I made now a branch for supporting the mdraid 1.x metadata bzr+ssh://bzr.savannah.gnu.org/grub/people/fzielcke/raid http://bzr.savannah.gnu.org/r/grub/people/fzielcke/raid The problem with 1.x is that there's no more a prefered minor stored in the superblock but only a name. I currently use it now directly as a GRUB device, without checking for duplicates. The problem is only that `grub-probe -t drive' still uses the /dev/ filename for the output. So we need again a way to map a Linux device to a GRUB device. For now either use mdadm -Q --detail /dev/md0 to see what it assigned as `Name:' or grub-emu. The second problem is that the name probable doestn't need to be unique. How should I solve that problem? Just using name0 if name is taken and after name9 then name10? Someone on #debian-devel suggested to just use UUIDs as GRUB devices but I don't like that and I don't think many users do. The Debian mdadm maintainer also said we should only rely on UUIDs and not on the Linux device names for mdraid. With LVM we also have the problem for duplicates, but this is very very rarely. -- Felix Zielcke Proud Debian Maintainer and GNU GRUB developer