From: Zdenek Kabelac <zkabelac@redhat.com>
To: dm-devel@redhat.com
Subject: Re: error injection
Date: Thu, 29 Sep 2011 14:49:10 +0200 [thread overview]
Message-ID: <4E846946.7060002@redhat.com> (raw)
In-Reply-To: <CAJD3hpVdze+RBjUbeCPuB1wEy4c4q=uFpjGVXbTgo1LoV9oEFQ@mail.gmail.com>
Dne 28.9.2011 21:32, Jojy Varghese napsal(a):
> Hi
> I am trying to dynamically add error injection to our virtual
> disk(LVM) for testing+ debugging purpose. I saw "faulty" personality
> module in the kernel and was wondering if there was any documentation
> on its usage. I am not looking to set up a RAID but a simple mapped
> device. So the basic use case is that I need to be able to dynamically
> add/remove error sectors and also be able to have granular error
> configuration like read error, read+write error etc.
>
> thanks in advance
> Jojy
Do you mean linux-kernel/Documentation/device-mapper/dm-flakey.txt
Or just plain dm-error target ?
There you could easily remap your device to be build for partial error
segments (i.e. replace single linear mapping with a list of error/linear segments)
Zdenek
next prev parent reply other threads:[~2011-09-29 12:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-28 19:32 error injection Jojy Varghese
2011-09-29 12:49 ` Zdenek Kabelac [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-09-28 19:48 Jojy Varghese
2011-09-28 23:11 ` NeilBrown
2011-09-29 0:59 ` Jojy Varghese
2011-09-29 1:08 ` NeilBrown
2011-09-29 2:06 ` Jojy Varghese
2011-09-29 2:12 ` 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=4E846946.7060002@redhat.com \
--to=zkabelac@redhat.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.