From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RFtRU-0003XW-4Y for mharc-grub-devel@gnu.org; Mon, 17 Oct 2011 16:05:48 -0400 Received: from eggs.gnu.org ([140.186.70.92]:60607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFtRP-0003Ve-R3 for grub-devel@gnu.org; Mon, 17 Oct 2011 16:05:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFtRO-0000Ve-KN for grub-devel@gnu.org; Mon, 17 Oct 2011 16:05:43 -0400 Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.122]:42349) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFtRO-0000Um-GH for grub-devel@gnu.org; Mon, 17 Oct 2011 16:05:42 -0400 X-Authority-Analysis: v=1.1 cv=gqMFsD3PqRa+9IMRRYznR/JjFzasGotwKYCDC6iWcAk= c=1 sm=0 a=69kAZAqfIPEA:10 a=MJilIG4qO4EA:10 a=8nJEP1OIZ-IA:10 a=/DbS/tiKggfTkRRHPZEB4g==:17 a=Qt6ZKLHlS0_9JA7mn9YA:9 a=wPNLvfGTeEIA:10 a=/DbS/tiKggfTkRRHPZEB4g==:117 X-Cloudmark-Score: 0 X-Originating-IP: 67.78.168.186 Received: from [67.78.168.186] ([67.78.168.186:57911] helo=[10.1.1.230]) by cdptpa-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id FA/80-02308-39A8C9E4; Mon, 17 Oct 2011 20:05:39 +0000 Message-ID: <4E9C8A92.8070500@cfl.rr.com> Date: Mon, 17 Oct 2011 16:05:38 -0400 From: Phillip Susi User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: The development of GNU GRUB Subject: unknown LVM metadata header errors Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 75.180.132.122 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2011 20:05:46 -0000 When running update-grub, I get several lines of: error: unknown LVM metadata header. This appears to be caused by grub-probe locating the LVM PV label sector on the underlying physical disk ( hd3,msdos1 ), and incorrectly following the pointer to the mda header. At this point, it has already scanned the 4 physical disks, found the first partition on them, found the mdadm 1.0 superblock, and correctly located the LVM PV label sector inside (md/0). The first few sectors of (md/0) ( 4 disk raid-5 array ) are aliased to (hd3,msdos1), but obviously the offsets are wrong since they are relative to the md array, not the disk partition. My first thought was that once the mdadm superblock is found on the partition, that should take ownership of it and prevent scanning for LVM, but theoretically it is possible to have mdadm inside LVM instead of the other way around, and that would no longer work if you didn't scan for both. Any ideas on what could be done to get rid of this error?