All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@cfl.rr.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: Goswin von Brederlow <goswin-v-b@web.de>
Subject: Re: Raid5 regression
Date: Wed, 04 May 2011 09:49:48 -0400	[thread overview]
Message-ID: <4DC1597C.1040507@cfl.rr.com> (raw)
In-Reply-To: <871v0ebtfn.fsf@frosties.localnet>

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.


  reply	other threads:[~2011-05-04 13:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-03 14:33 Raid5 regression Phillip Susi
2011-05-03 15:30 ` Phillip Susi
2011-05-03 20:39 ` Phillip Susi
2011-05-03 21:15   ` Jérôme Poulin
2011-05-04  6:17     ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-05-04 11:23   ` Goswin von Brederlow
2011-05-04 13:49     ` Phillip Susi [this message]
2011-05-04 15:09       ` Phillip Susi
2011-05-04 15:21         ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-05-04 18:37           ` Phillip Susi
2011-05-04 19:01             ` Goswin von Brederlow
2011-05-04 20:23             ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-05-05 14:38               ` Phillip Susi
2011-05-05 16:57                 ` Goswin von Brederlow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DC1597C.1040507@cfl.rr.com \
    --to=psusi@cfl.rr.com \
    --cc=goswin-v-b@web.de \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.