Comment 17 for bug 569900

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 569900] Re: mount: mounting /dev/md0 on /root/ failed: Invalid argument

On Mon, Apr 26, 2010 at 03:06:55AM -0000, Dustin Kirkland wrote:
> It seems that it interprets both /dev/sda and /dev/sda1 as separate
> "partitions" containing RAID superblocks.

This happens if /dev/sda1 extends all the way to the end of the disk. I
made a change last month to prevent this:

partman-base (139ubuntu2) lucid; urgency=low

  * Always leave a small gap at the end of the disk (except on device-mapper
    devices), to avoid confusing mdadm by leaving the MD 0.90 superblock at
    the end of the disk as well as the end of a partition (LP: #527401).

 -- Colin Watson <email address hidden> Fri, 26 Mar 2010 11:32:01 +0000

Perhaps you can investigate why this apparently isn't working, based on this
history?