All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Thornber <thornber@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Cc: Yathindra Naik <ydev@cs.utah.edu>
Subject: Re: Mapping sectors to have errors
Date: Fri, 28 Oct 2011 10:11:41 +0100	[thread overview]
Message-ID: <20111028091140.GD4105@ubuntu> (raw)
In-Reply-To: <4EAA13E4.6020709@cs.utah.edu>

On Thu, Oct 27, 2011 at 08:31:00PM -0600, Yathindra wrote:
> Hi,
> 
> I'm trying to create a disk and map some sectors to have errors on them.
> 
> I tried this,
> echo "0 100000 linear /dev/sdb 0 100000 480081250 error"| dmsetup
> create bad_disk
> device-mapper: reload ioctl failed: Invalid argument
> Command failed
> 
> I have put in the right arguments but not sure why it fails.

You have 2 target lines concatenated onto the same line there.

  reply	other threads:[~2011-10-28  9:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-28  2:31 Mapping sectors to have errors Yathindra
2011-10-28  9:11 ` Joe Thornber [this message]
2011-10-28 17:54   ` Yathindra
2011-10-28 19:42 ` Milan Broz
2011-10-28 19:46   ` Yathindra
2011-11-04 16:14     ` Yathindra

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=20111028091140.GD4105@ubuntu \
    --to=thornber@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=ydev@cs.utah.edu \
    /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.