All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eli Malul" <eli.malul@kaminario.com>
To: dm-devel@redhat.com
Subject: creating a cascaded linear devices fails
Date: Thu, 14 Apr 2011 12:06:26 +0300	[thread overview]
Message-ID: <E04C10E329E0CD40816C9C17AE53BBD3019D4988@kit001.kaminario.local> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 663 bytes --]

I do not understand why creating a linear device and then trying to
create another linear device on top of it fails.



1.       Creating a linear device over loop1:
===========================
dmsetup create linear_loop1 /tmp/linear_loop1

cat /tmp/linear_loop1
0 1000 linear /dev/loop1 0



2.       Then creating another linear device over this linear device:
=============================================
dmsetup create linear_loop2 /tmp/linear_loop2

device-mapper: reload ioctl failed: Invalid argument
Command failed

cat /tmp/klinear_loop2
0 1000 linear /dev/linear_loop1 0

 

Could you please explain what am I doing wrong?


[-- Attachment #1.2: Type: text/html, Size: 4521 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



                 reply	other threads:[~2011-04-14  9:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E04C10E329E0CD40816C9C17AE53BBD3019D4988@kit001.kaminario.local \
    --to=eli.malul@kaminario.com \
    --cc=dm-devel@redhat.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.