linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Phil Turmel <philip@turmel.org>
To: simonmcnair@gmail.com
Cc: linux-raid@vger.kernel.org
Subject: Re: Linux software RAID assistance
Date: Thu, 10 Feb 2011 13:24:22 -0500	[thread overview]
Message-ID: <4D542D56.1090802@turmel.org> (raw)
In-Reply-To: <4D540F6C.6050904@gmail.com>

Hi Simon,

On 02/10/2011 11:16 AM, Simon McNair wrote:
> 
[trim /]
> 
> So I tried running mdadm --create --verbose /dev/md0 --metadata=1.1
> --level=5 --raid-devices=10 missing /dev/sde1 /dev/sdf1 /dev/sdg1
> /dev/sdh1 /dev/sdi1 /dev/sdj1 /dev/sdk1 /dev/sdl1 /dev/sdm1 --chunk=64

Uh-Oh.  You told mdadm to create an array with a missing member, but you didn't tell it to assume-clean.

> as it seemed that /dev/sdd1 failed to be added to the array.  This did nothing.

According to your mdadm -E output below, it did what you asked:  it created a new array from the devices given (note the new array UUID on the nine devices).  Since you have one device missing, it can't rebuild, so you might not have lost your data yet.

That mdadm -E /dev/sdd1 reports its array assembled and clean is odd.

Please show us the output of /proc/mdstat and then "mdadm -D /dev/md*" or "mdadm -D /dev/md/*"

Phil

> 
> dmesg contains:
> 
> md: invalid superblock checksum on sdd1
> md: sdd1 does not have a valid v1.1 superblock, not importing!
> md: md_import_device returned -22
> 
> The output of mdadm -E is as follows:
> 
> proxmox:~# mdadm -E /dev/sd[d-m]1
> /dev/sdd1:
>          Magic : a92b4efc
>        Version : 1.1
>    Feature Map : 0x0
>     Array UUID : c4f62f32:4244a1db:b7746203:f10b5227
>           Name : proølox:0
>  Creation Time : Sat Aug 21 19:16:38 2010
>     Raid Level : raid5
>   Raid Devices : 10
> 
>  Avail Dev Size : 1953099512 (931.31 GiB 999.99 GB)
>     Array Size : 17577894528 (8381.79 GiB 8999.88 GB)
>  Used Dev Size : 1953099392 (931.31 GiB 999.99 GB)
>    Data Offset : 264 sectors
>   Super Offset : 0 sectors
>          State : clean
>    Device UUID : b0ffd0a1:866676af:3ae4c03c:d219676e
> 
>    Update Time : Mon Feb  7 21:08:29 2011
>       Checksum : 13aa9685 - expected 93aa9672
>         Events : 60802
> 
>         Layout : left-symmetric
>     Chunk Size : 64K
> 
>   Device Role : Active device 0
>   Array State : AAAAAAAAAA ('A' == active, '.' == missing)
> /dev/sde1:
>          Magic : a92b4efc
>        Version : 1.1
>    Feature Map : 0x0
>     Array UUID : 7d55c29e:273c35da:f6438197:0365f95f
>           Name : ubuntu:0
>  Creation Time : Thu Feb 10 11:59:48 2011
>     Raid Level : raid5
>   Raid Devices : 10
> 
>  Avail Dev Size : 1953099512 (931.31 GiB 999.99 GB)
>     Array Size : 17577894528 (8381.79 GiB 8999.88 GB)
>  Used Dev Size : 1953099392 (931.31 GiB 999.99 GB)
>    Data Offset : 264 sectors
>   Super Offset : 0 sectors
>          State : clean
>    Device UUID : 4121fa31:7543218c:f42a937d:fddf04e8
> 
>    Update Time : Thu Feb 10 12:17:59 2011
>       Checksum : 5f965c84 - correct
>         Events : 4
> 
>         Layout : left-symmetric
>     Chunk Size : 64K
> 
>   Device Role : Active device 1
>   Array State : .AAAAAAAAA ('A' == active, '.' == missing)
--
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:[~2011-02-10 18:24 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-10 16:16 Linux software RAID assistance Simon McNair
2011-02-10 18:24 ` Phil Turmel [this message]
2011-02-15  4:53 ` NeilBrown
2011-02-15  8:48   ` Simon McNair
2011-02-15 14:51   ` Phil Turmel
2011-02-15 19:04     ` Simon McNair
2011-02-15 19:37       ` Phil Turmel
2011-02-15 19:45         ` Roman Mamedov
2011-02-15 21:09           ` Simon McNair
2011-02-17 15:10           ` Simon Mcnair
2011-02-17 15:42             ` Roman Mamedov
2011-02-18  9:13               ` Simon McNair
2011-02-18  9:38                 ` Robin Hill
2011-02-18 10:38                   ` Simon Mcnair
2011-02-19 11:46                     ` Jan Ceuleers
2011-02-19 12:40                       ` Simon McNair
2011-02-19 17:37                         ` Jan Ceuleers
2011-02-16 13:51     ` Simon McNair
2011-02-16 14:37       ` Phil Turmel
2011-02-16 17:49         ` Simon McNair
2011-02-16 18:14           ` Phil Turmel
2011-02-16 18:18             ` Simon McNair
2011-02-16 18:22               ` Phil Turmel
2011-02-16 18:25                 ` Phil Turmel
2011-02-16 18:52                   ` Simon McNair
2011-02-16 18:57                     ` Phil Turmel
2011-02-16 19:07                       ` Simon McNair
2011-02-16 19:10                         ` Phil Turmel
2011-02-16 19:15                           ` Simon McNair
2011-02-16 19:36                             ` Phil Turmel
2011-02-16 21:28                               ` Simon McNair
2011-02-16 21:30                                 ` Phil Turmel
2011-02-16 22:44                                   ` Simon Mcnair
2011-02-16 23:39                                     ` Phil Turmel
2011-02-17 13:26                                       ` Simon Mcnair
2011-02-17 13:48                                         ` Phil Turmel
2011-02-17 13:56                                           ` Simon Mcnair
2011-02-17 14:34                                             ` Simon Mcnair
2011-02-17 16:54                                               ` Phil Turmel
2011-02-19  8:43                                                 ` Simon Mcnair
2011-02-19 15:30                                                   ` Phil Turmel
     [not found]                                                     ` <AANLkTinOXJWRw_et2U43R_T9XPBzQLnN56Kf2bOAz=_c@mail.gmail.com>
2011-02-19 16:19                                                       ` Phil Turmel
2011-02-20  9:56                                                         ` Simon Mcnair
2011-02-20 19:50                                                           ` Phil Turmel
2011-02-20 23:17                                                             ` Simon Mcnair
2011-02-20 23:39                                                               ` Phil Turmel
2011-02-22 17:12                                                                 ` Simon Mcnair
2011-02-22 17:14                                                                   ` Simon Mcnair
2011-02-22 18:23                                                                     ` Phil Turmel
2011-02-22 18:36                                                                       ` Simon McNair
2011-02-22 19:06                                                                         ` Phil Turmel
2011-02-18  9:31                               ` Simon Mcnair
2011-02-18 13:16                                 ` Phil Turmel
2011-02-18 13:21                                   ` Roberto Spadim
2011-02-18 13:26                                     ` Phil Turmel
2011-02-18 13:29                                   ` Simon Mcnair
2011-02-18 13:34                                     ` Phil Turmel
2011-02-18 14:12                                       ` Simon McNair
2011-02-18 16:10                                         ` Phil Turmel
2011-02-18 16:38                                           ` Roberto Spadim
     [not found]                               ` <AANLkTi=RmR5nVnmFLuqK5anHc3WDPxjuYjitT6+5wAqS@mail.gmail.com>
2011-02-20 18:48                                 ` Phil Turmel
2011-02-20 19:25                                   ` Simon Mcnair
2011-02-19  8:49             ` Simon Mcnair
2011-02-16 13:56     ` Simon McNair

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=4D542D56.1090802@turmel.org \
    --to=philip@turmel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=simonmcnair@gmail.com \
    /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).