All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>,
	 The development of GRUB 2 <grub-devel@gnu.org>,
	Marco d'Itri <md@Linux.IT>
Subject: Re: grub-probe seems to be having problems
Date: Fri, 09 Mar 2012 19:15:43 +0100	[thread overview]
Message-ID: <4F5A48CF.50607@gmail.com> (raw)
In-Reply-To: <20120309160538.GA14853@caffeine.csclub.uwaterloo.ca>

[-- Attachment #1: Type: text/plain, Size: 1822 bytes --]

On 09.03.2012 17:05, Lennart Sorensen wrote:
> Attached is the first 512bytes of each disk (so partition table), and
> the first 64k of each partition and I believe the last 64k of each
> partition. The raid meta data appears to be in the first 64k of each
> partition. I have spared the grub-devel list from getting those. 
The thing is: raid_disks = 2 in your metadata. I don't know how this
could be correct or how you could land with such a config.
@md: The problem is following: Lennart has a raid 1 on 3 disks, however
raid_disks in sdd2 is 2 and dev_roles contains only [0, 1, -1, -1, ...],
dev_number is 0
sda2 and sdb2 contain proper raid_disks=3, dev_roles=[0,1,2,-1,-1,..]
and dev_number= 0 respectively 1. It looks to me as a seriously damaged
metadata but apparently mdadm has no problem
@Lennart: did you dd one disk to another or done something like this?

root@rceng03new:~# mdadm --detail /dev/md0
/dev/md0:
        Version : 1.2
  Creation Time : Wed Feb  8 14:39:24 2012
     Raid Level : raid1
     Array Size : 976884 (954.15 MiB 1000.33 MB)
  Used Dev Size : 976884 (954.15 MiB 1000.33 MB)
   Raid Devices : 3
  Total Devices : 3
    Persistence : Superblock is persistent

    Update Time : Thu Mar  1 15:02:06 2012
          State : clean
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0

           Name : rceng03new:0  (local to host rceng03new)
           UUID : 88d43dc8:2888fece:34c1486f:49caa398
         Events : 74

    Number   Major   Minor   RaidDevice State
       0       8        2        0      active sync   /dev/sda2
       1       8       18        1      active sync   /dev/sdb2
       2       8       50        2      active sync   /dev/sdd2



-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

  parent reply	other threads:[~2012-03-09 18:15 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-01 19:47 grub-probe seems to be having problems Lennart Sorensen
2012-03-01 20:04 ` Lennart Sorensen
2012-03-01 20:07 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-01 20:15   ` Lennart Sorensen
2012-03-01 20:19     ` Lennart Sorensen
2012-03-03 22:00 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-05 20:07   ` Lennart Sorensen
2012-03-05 23:10     ` Lennart Sorensen
2012-03-08 17:46     ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-08 19:01       ` Lennart Sorensen
2012-03-08 19:14         ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-08 20:15           ` Lennart Sorensen
2012-03-08 23:37             ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-09 14:53               ` Lennart Sorensen
2012-03-09  0:11             ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-09 15:39               ` Lennart Sorensen
2012-03-09 15:43                 ` Lennart Sorensen
2012-03-09 15:47                   ` Lennart Sorensen
2012-03-09 15:48                   ` Vladimir 'φ-coder/phcoder' Serbinenko
     [not found]                     ` <20120309160538.GA14853@caffeine.csclub.uwaterloo.ca>
2012-03-09 18:15                       ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2012-03-09 18:39                         ` Lennart Sorensen
2012-03-09 20:37                           ` Lennart Sorensen
2012-03-19 21:28                             ` Lennart Sorensen
2012-03-20 10:28                               ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-20 19:02                                 ` Lennart Sorensen
2012-03-20 19:10                                   ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-20 19:13                                     ` Lennart Sorensen
2012-03-20 19:14                                     ` Lennart Sorensen
2012-03-20 19:41                                       ` Lennart Sorensen
2012-03-20 19:11                                   ` Lennart Sorensen
2012-03-22  2:27                                 ` Fwd: " jlcenter
2012-03-22  2:46                                   ` NeilBrown
2012-03-22 17:52                         ` Fwd: " jlcenter
2012-03-09  0:24             ` Vladimir 'φ-coder/phcoder' Serbinenko

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=4F5A48CF.50607@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    --cc=lsorense@csclub.uwaterloo.ca \
    --cc=md@Linux.IT \
    /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.