linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Veljko <veljko3@gmail.com>
To: linux-raid@vger.kernel.org
Subject: Re: Linear device of two arrays
Date: Mon, 17 Jul 2017 12:16:34 +0200	[thread overview]
Message-ID: <38e015fa-a07c-8f1a-3a04-384d973966be@gmail.com> (raw)
In-Reply-To: <87shhyzhg5.fsf@notabene.neil.brown.name>

On 07/15/2017 02:12 AM, NeilBrown wrote:

> So command should be
>
>>>   dd if=/dev/md2 of=SOMEWHERE/SAFE bs=1M skip=5626590
>
> and expect it to create a 3M file.
>
> Use this 'skip' number of the 'seek' number later.
>
> NeilBrown

Thanks, Neil, now it makes more sense.

I tried to create new linear device, but mdadm is complaining about 
data-offset:

# mdadm -C /dev/md4 -l linear -n 2 --rounding=1M -e 1.0 --data-offset=0 
/dev/md2 /dev/md3
  mdadm: invalid data-offset: 0

I'm using Debian 8.8 if it makes any difference.

# mdadm -V
  mdadm - v3.3.2 - 21st August 2014

What could be the problem?

Regards,
Veljko

  reply	other threads:[~2017-07-17 10:16 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-05 15:34 Linear device of two arrays Veljko
2017-07-05 16:42 ` Roman Mamedov
2017-07-05 18:07   ` Wols Lists
2017-07-07 11:07     ` Nix
2017-07-07 20:26     ` Veljko
2017-07-07 21:20       ` Andreas Klauer
2017-07-07 21:53         ` Roman Mamedov
2017-07-07 22:20           ` Andreas Klauer
2017-07-07 22:33           ` Andreas Klauer
2017-07-07 22:52       ` Stan Hoeppner
2017-07-08 10:26         ` Veljko
2017-07-08 21:24           ` Stan Hoeppner
2017-07-09 22:37             ` NeilBrown
2017-07-10 11:03               ` Veljko
2017-07-12 10:21                 ` Veljko
2017-07-14  2:03                   ` NeilBrown
2017-07-14  1:57                 ` NeilBrown
2017-07-14  2:05                   ` NeilBrown
2017-07-14 13:40                   ` Veljko
2017-07-15  0:12                     ` NeilBrown
2017-07-17 10:16                       ` Veljko [this message]
2017-07-18  8:58                         ` Veljko
2017-07-20 21:40                           ` Veljko
2017-07-20 22:00                         ` NeilBrown
2017-07-21  9:15                           ` Veljko
2017-07-21 11:37                             ` Veljko
2017-07-22 23:03                               ` NeilBrown
2017-07-23 10:05                                 ` Veljko

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=38e015fa-a07c-8f1a-3a04-384d973966be@gmail.com \
    --to=veljko3@gmail.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).