From: Bernd Schubert <bernd.schubert@fastmail.fm>
To: Wilson Jonathan <piercing_male@hotmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: accidently pulled to many devices, raid6 wont start.
Date: Thu, 05 Dec 2013 17:00:06 +0100 [thread overview]
Message-ID: <52A0A306.9070401@fastmail.fm> (raw)
In-Reply-To: <BLU0-SMTP3325A7BDB48F7600841601398D70@phx.gbl>
On 12/05/2013 04:48 PM, Wilson Jonathan wrote:
> Still the same problem, lists non partitioned space, unknown, unknown,
> un partitioned.
>
> I wonder if the problem is because i'm not re-creating it with bitmap
> file, which is listed as starting 8 sectors from superblock, so with it
> not being there the partition table is being read from this space and
> not further along the space.
The bitmap is supposed to be in the gap between data and superblock.
>
> Infact, looking at the re-created superblock there is a change...
>
> /dev/sde6:
> Magic : a92b4efc
> Version : 1.2
> Feature Map : 0x0
> Array UUID : 1c413162:25c7b4af:7b305603:1ce49fed
> Name : BorgCUBE:5 (local to host BorgCUBE)
> Creation Time : Thu Dec 5 00:28:11 2013
> Raid Level : raid6
> Raid Devices : 6
>
> Avail Dev Size : 1833309583 (874.19 GiB 938.65 GB)
> Array Size : 3666617344 (3496.76 GiB 3754.62 GB)
> Used Dev Size : 1833308672 (874.19 GiB 938.65 GB)
> Data Offset : 262144 sectors
> Super Offset : 8 sectors
> State : clean
> Device UUID : de841586:f82b22ed:1a234ae7:57fbb36a
>
> Update Time : Thu Dec 5 00:28:11 2013
> Checksum : 9dcbeec1 - correct
> Events : 0
>
> Layout : left-symmetric
> Chunk Size : 64K
>
> The "data offset" is 262144 where as the sdc (original) is 2048
Seems to be a new mdadm version with different default values. Another
reason not to use '--create' unless there is really no other way. Try to
add --data-offset=1M.
Cheers,
Bernd
PS: Btw, for assemble the order of devices doesn't matter, the kernel
know the correct order from their superblocks...
next prev parent reply other threads:[~2013-12-05 16:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-05 0:30 accidently pulled to many devices, raid6 wont start Wilson Jonathan
2013-12-05 0:51 ` Wilson Jonathan
2013-12-05 13:36 ` Bernd Schubert
2013-12-05 14:20 ` Wilson Jonathan
2013-12-05 14:31 ` Bernd Schubert
2013-12-05 14:48 ` Wilson Jonathan
2013-12-05 15:48 ` Wilson Jonathan
2013-12-05 16:00 ` Bernd Schubert [this message]
2013-12-05 16:36 ` Wilson Jonathan
2013-12-05 16:48 ` Bernd Schubert
2013-12-05 17:08 ` Wilson Jonathan
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=52A0A306.9070401@fastmail.fm \
--to=bernd.schubert@fastmail.fm \
--cc=linux-raid@vger.kernel.org \
--cc=piercing_male@hotmail.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 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.