All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aleh Suprunovich <a.suprunovich@sam-solutions.com>
To: Nicolas Michel <be.nicolas.michel@gmail.com>
Cc: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: Re: Import data from an array coming from another computer
Date: Thu, 6 Jun 2013 18:13:45 +0300	[thread overview]
Message-ID: <20130606151345.GA15605@sam-solutions.com> (raw)
In-Reply-To: <CAO5znavkSqxqkSjmYtbTmuW7OkEkHexaX8vfohfaVp0asU+8ig@mail.gmail.com>

On Thu, Jun 06, 2013 at 06:00:44PM +0300, Nicolas Michel wrote:
> It is better but it still doesn't work:
> $ mdadm --assemble /dev/md1 --run /dev/sdc1
> mdadm: failed to RUN_ARRAY /dev/md1: Input/output error
> mdadm: Not enough devices to start the array.
> 

One device should be enough to start RAID1 array. But here is something I missed
in your first message:

On Thu, Jun 06, 2013 at 05:47:33PM +0300, Nicolas Michel wrote:
> ############################################################
> # $ mdadm --examine /dev/sdc1
> # /dev/sdc1:
> #           Magic : a92b4efc
> #         Version : 0.90.00
> #            UUID : 76fc436c:be43bed5:f0f41dd6:3e9e1b96
> #   Creation Time : Fri Jun  8 04:21:19 2012
> #     Raid Level : raid1
> #   Used Dev Size : 20980800 (20.01 GiB 21.48 GB)
> #     Array Size : 20980800 (20.01 GiB 21.48 GB)
> #   Raid Devices : 2
> #   Total Devices : 2
> #  Preferred Minor : 0
> #
> #    Update Time : Thu May 23 14:55:13 2013
> #          State : clean
> #  Active Devices : 1
> #  Working Devices : 2
> #  Failed Devices : 0
> #   Spare Devices : 1
> #        Checksum : b0ae04f1 - correct
> #          Events : 28935
> #
> #
> #       Number   Major   Minor   RaidDevice State
> # this     2       8        1        2      spare   /dev/sda1
> #
> #    0     0       0        0        0      removed
> #    1     1       8       17        1      active sync   /dev/sdb1
> #    2     2       8        1        2      spare   /dev/sda1
> ############################################################

Line starting from 'this' indicate that device you have was spare component of
array, so no information restore is possible with this disk. Do you have acess
to other drive, named /dev/sdb1 in your mdadm --examine output?

  reply	other threads:[~2013-06-06 15:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-06 14:47 Import data from an array coming from another computer Nicolas Michel
2013-06-06 14:54 ` Robin Hill
     [not found] ` <20130606145400.GA15336@sam-solutions.com>
2013-06-06 15:00   ` Nicolas Michel
2013-06-06 15:13     ` Aleh Suprunovich [this message]
2013-06-06 15:28       ` Nicolas Michel
2013-06-07 11:27         ` Sam Bingner

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=20130606151345.GA15605@sam-solutions.com \
    --to=a.suprunovich@sam-solutions.com \
    --cc=be.nicolas.michel@gmail.com \
    --cc=linux-raid@vger.kernel.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.