All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Turmel <philip@turmel.org>
To: kustep <kustep@web.de>, linux-raid <linux-raid@vger.kernel.org>
Subject: Re: unused space before data offset mismatch
Date: Wed, 20 Nov 2013 22:25:55 -0500	[thread overview]
Message-ID: <528D7D43.3070708@turmel.org> (raw)
In-Reply-To: <528D118D.7090800@web.de>

On 11/20/2013 02:46 PM, kustep wrote:
> Hello Everyone,
> 
> is there an option to specifiy the "Unused Space : before=...."
> Superblock information in mdadm -C ....?

I don't know about this, but ...

> My Raid crashed due to a controller error, but I was able to make the
> new superblock almost identical to the old one (using mdadm -C
> --assume-clean --level=6 --raid-devices=11 --chunk=256K --metadata=1.2
> --bitmap=None --size=195328588 --data-offset=128768 /dev/md0
> /dev/mapper/disk[cdefmbjkh] missing). Looking at mdadm --examine the

This almost certainly didn't do what you think--square brackets in the
shell don't maintain the order of the letters given.  The device order
actually given to mdadm would have been [bcdefhjkm].  The bracket
notation will also leave out devices that don't actually exist.  You
need to use curly braces with commas to maintain a specific order.

FWIW,

Phil

  reply	other threads:[~2013-11-21  3:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-20 19:46 unused space before data offset mismatch kustep
2013-11-21  3:25 ` Phil Turmel [this message]
2013-11-21  3:33 ` NeilBrown

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=528D7D43.3070708@turmel.org \
    --to=philip@turmel.org \
    --cc=kustep@web.de \
    --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.