All of lore.kernel.org
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: Yorik <yoriks13@westnet.com.au>
Cc: linux-raid@vger.kernel.org
Subject: Re: RAIS5 Rebuild Help - Possible Data Offset
Date: Mon, 31 Mar 2014 17:29:53 +1100	[thread overview]
Message-ID: <20140331172953.3f37f6c2@notabene.brown> (raw)
In-Reply-To: <CAFth78xfsaBLzg9TC=UkEoQiafpg-oVJyoxbYgWyrVHCyAuHew@mail.gmail.com>

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

On Sat, 1 Feb 2014 15:56:14 +0800 Yorik <yoriks13@westnet.com.au> wrote:

> Thank you for your help. Sorry for my omission, I thought I had put
> that in. It was one of the first things that I tried and have numerous
> times since.
> 
> #mdadm -Af /dev/md0 /dev/sd[abc]1 /dev/sd[defgi]
> mdadm: /dev/md0 assembled from 5 drives - not enough to start the array.
> 
> Then if I try the command again, I get the following
> 
> # mdadm -Af /dev/md0 /dev/sd[abc]1 /dev/sd[defgi]
> mdadm: /dev/sda1 is busy - skipping
> mdadm: /dev/sdb1 is busy - skipping
> mdadm: /dev/sdc1 is busy - skipping
> mdadm: /dev/sdd is busy - skipping
> mdadm: /dev/sde is busy - skipping
> mdadm: /dev/sdf is busy - skipping
> mdadm: /dev/sdg is busy - skipping
> mdadm: /dev/sdi is busy - skipping
> 
> And my /proc/mdstat looks like this, with all drives marked as spare.
> 
> # cat /proc/mdstat
> Personalities :
> md0 : inactive sda1[0](S) sdf[7](S) sdg[8](S) sde[5](S) sdi[6](S)
> sdd[4](S) sdc1[2](S) sdb1[1](S)
>       23442114872 blocks super 1.1
> 
> unused devices: <none>

If this is still a problem then please:
1/ get the latest mdadm:
     cd /tmp
     git clone git://neil.brown.name/mdadm
     cd mdadm
     make
2/ stop the array
     ./mdadm --stop /dev/md0
3/ force-assemble the array with --verbose:

     ./mdadm --assemble --force --verbose /dev/md0 /dev/sd[abc]1 /dev/sd[defgi]

and report all the output of the last command.

NeilBrown


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

  reply	other threads:[~2014-03-31  6:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-30 14:20 RAIS5 Rebuild Help - Possible Data Offset Yorik
2014-01-31 10:25 ` Robin Hill
2014-02-01  7:56   ` Yorik
2014-03-31  6:29     ` NeilBrown [this message]
2014-03-31  6:54       ` Yorik
2014-03-31  7:12         ` NeilBrown
2014-03-31  7:24           ` Yorik
2014-03-31  8:37             ` NeilBrown
2014-04-01  3:49               ` Yorik

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=20140331172953.3f37f6c2@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=yoriks13@westnet.com.au \
    /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.