From: Tregaron Bayly <tbayly@bluehost.com>
To: linux-raid <linux-raid@vger.kernel.org>
Subject: Specifying a data offset?
Date: Wed, 08 May 2013 14:17:54 -0600 [thread overview]
Message-ID: <1368044274.3368.364.camel@148> (raw)
We have lots of mirrors all over our network and over time this means
arrays created by different versions of mdadm. In turn this means that
we have all sorts of data offsets, including a 2.3.5 mdadm version that
offset the data 262,144 sectors. I can't fathom why I need my data to
start 128M from the beginning of the disk, but whatever.
Inevitably an admin decided that doing a --create over the top of an
existing array was a good and necessary thing and when finished we
couldn't find the filesystem. Bringing it back online was simply a case
of finding the correct offset, locating an mdadm version that would
specify it properly and doing another create. Through the whole
exercise I found myself wondering why there isn't a command line
argument to specify the data offset if something other than the default
is desired. I think that implementing the argument and reading the
value in init_super wouldn't be terribly difficult so I must be missing
an obvious reason. Can someone explain to me why this feature isn't
desirable?
Thanks,
Tregaron
next reply other threads:[~2013-05-08 20:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-08 20:17 Tregaron Bayly [this message]
2013-05-08 20:44 ` Specifying a data offset? Phil Turmel
2013-05-08 23:03 ` Tregaron Bayly
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=1368044274.3368.364.camel@148 \
--to=tbayly@bluehost.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 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).