From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1QHcSf-0002IZ-78 for mharc-grub-devel@gnu.org; Wed, 04 May 2011 09:49:53 -0400 Received: from eggs.gnu.org ([140.186.70.92]:50329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHcSd-0002HT-0v for grub-devel@gnu.org; Wed, 04 May 2011 09:49:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHcSc-0001yu-5T for grub-devel@gnu.org; Wed, 04 May 2011 09:49:50 -0400 Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.122]:44331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHcSc-0001yk-3B for grub-devel@gnu.org; Wed, 04 May 2011 09:49:50 -0400 Authentication-Results: cdptpa-omtalb.mail.rr.com smtp.user=psusi@cfl.rr.com; auth=pass (PLAIN) X-Authority-Analysis: v=1.1 cv=r4ol2mxtxc5xI8TLAKnXSH8gFvtbhYjZO2i67n9GxQQ= c=1 sm=0 a=CPlwVjms4CEA:10 a=8nJEP1OIZ-IA:10 a=pg4Dpxby4z7sZisWVyJ9NA==:17 a=N0tv-jp1SHWwPN2bEAUA:9 a=wPNLvfGTeEIA:10 a=pg4Dpxby4z7sZisWVyJ9NA==:117 X-Cloudmark-Score: 0 X-Originating-IP: 72.242.190.170 Received: from [72.242.190.170] ([72.242.190.170:49471] helo=[10.1.1.230]) by cdptpa-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTPA id 6A/B2-16951-C7951CD4; Wed, 04 May 2011 13:49:49 +0000 Message-ID: <4DC1597C.1040507@cfl.rr.com> Date: Wed, 04 May 2011 09:49:48 -0400 From: Phillip Susi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: Raid5 regression References: <4DC0124A.7010508@cfl.rr.com> <4DC067F1.4060901@cfl.rr.com> <871v0ebtfn.fsf@frosties.localnet> In-Reply-To: <871v0ebtfn.fsf@frosties.localnet> 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 Cc: Goswin von Brederlow 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: Wed, 04 May 2011 13:49:52 -0000 On 5/4/2011 7:23 AM, Goswin von Brederlow wrote: > That is a problem mdadm has (had?) too. The problem arises when the > alignment of the partition and its size causes the metadata of the > partition to be also valid for the disk (as in the partition ends > exactly at the end of the disk). > > One of the reasons not to use metadata at the end of the disk. I thought that could be the problem so after speaking with Collin on IRC yesterday, I checked and the partition ends over 300 sectors before the end of the disk, which is enough to prevent the superblock in the partition from being mistaken for one on the end of the disk. At least it should be, and it was under Maverick, but does not seem to be anymore in Natty. Just to make sure there wasn't another actual superblock at the end of the disk, I zeroed out the sectors from the end of the partition to the end of the disk and it did not change anything. It seems that somehow this new version of grub is now scanning more than just the last whole 64k of the disk, though looking at the code, I don't see how.