linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: EJ Vincent <ej@ejane.org>
To: Phil Turmel <philip@turmel.org>
Cc: linux-raid@vger.kernel.org
Subject: Re: Upgrade from Ubuntu 10.04 to 12.04 broken raid6.
Date: Sun, 30 Sep 2012 19:23:16 -0400	[thread overview]
Message-ID: <5068D464.4030504@ejane.org> (raw)
In-Reply-To: <5068AB81.1060103@turmel.org>

On 9/30/2012 4:28 PM, Phil Turmel wrote:
> On 09/30/2012 03:25 PM, EJ Vincent wrote:
>> On 9/30/2012 3:22 PM, Mathias Burén wrote:
>>> Can't you just boot off an older Ubuntu USB, install mdadm and scan /
>>> assemble, see the device order?
>> Hi Mathias,
>>
>> I'm under the impression that damage to the metadata has already been
>> done by 12.04, making a recovery from an older version of Ubuntu
>> (10.04), impossible.  Is this line of thinking, flawed?
> Your impression is correct.  Permanent damage to the metadata was done.
>   You *must* re-create your array.
>
> However, you *cannot* use your new version of mdadm, as it will get the
> data offset wrong.  Your first report showed a data offset of 272.
> Newer versions of mdadm default to 2048.  You *must* perform all of your
> "mdadm --create --assume-clean" permutations with 10.04.
>
> Do you have *any* dmesg output from the old system?  Or dmesg from the
> very first boot under 12.04?  That might have enough information to
> shorten your search.
>
> In the future, you should record your setup by saving the output of
> "mdadm -D" on each array, "mdadm -E" on each member device, and the
> output of "ls -l /dev/disk/by-id/"
>
> Or try my documentation script "lsdrv". [1]
>
> HTH,
>
> Phil
>
> [1] http://github.com/pturmel/lsdrv
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Hi Phil,

Unfortunately I don't have any dmesg log from the old system or the 
first boot under 12.04.

Getting my system to boot at all under 12.04 was chaotic enough, with 
the overly-aggressive /usr/share/initramfs-tools/scripts/mdadm-functions 
ravaging my array and then dropping me to a busybox shell over and over 
again.  I didn't think to record the very first error.

Here's an observation of mine, disks: /dev/sdb1, /dev/sdi1, and 
/dev/sdj1 don't have the Raid level "-unknown-", neither are they 
labeled as spares.  They are in fact, labeled clean and appear 
*different* from the others.

Could these disks still contain my metadata from 10.04?  I recall during 
my installation of 12.04 I had anywhere from 1 to 3 disks unpowered, so 
that I could drop in a SATA CD/DVDRW into the slot.

I am downloading 10.04.4 LTS and will be ready to use it soon.  I fear 
having to do permutations-- 9! (factorial) would mean 362,880 
combinations.  *gasp*

Many thanks for all your comments and insights.

-EJ
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2012-09-30 23:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-30  9:21 Upgrade from Ubuntu 10.04 to 12.04 broken raid6 EJ
2012-09-30  9:30 ` EJ Vincent
2012-09-30  9:44 ` Jan Ceuleers
2012-09-30 10:04 ` Mikael Abrahamsson
2012-09-30 19:20   ` EJ Vincent
2012-09-30 19:22     ` Mathias Burén
2012-09-30 19:25       ` EJ Vincent
2012-09-30 20:28         ` Phil Turmel
2012-09-30 23:23           ` EJ Vincent [this message]
2012-10-01 12:40             ` Phil Turmel
2012-10-01 17:14               ` EJ Vincent
2012-10-02  2:15             ` NeilBrown
2012-10-02  3:53               ` EJ Vincent
2012-10-02  5:04                 ` NeilBrown
2012-10-02  8:34                   ` Upgrade from Ubuntu 10.04 to 12.04 broken raid6. [SOLVED] EJ Vincent
2012-10-02 12:18                     ` Phil Turmel
2012-09-30 19:50     ` Upgrade from Ubuntu 10.04 to 12.04 broken raid6 Chris Murphy

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=5068D464.4030504@ejane.org \
    --to=ej@ejane.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=philip@turmel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).