* error injection
@ 2011-09-28 19:32 Jojy Varghese
2011-09-29 12:49 ` Zdenek Kabelac
0 siblings, 1 reply; 2+ messages in thread
From: Jojy Varghese @ 2011-09-28 19:32 UTC (permalink / raw)
To: dm-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: error injection
2011-09-28 19:32 error injection Jojy Varghese
@ 2011-09-29 12:49 ` Zdenek Kabelac
0 siblings, 0 replies; 2+ messages in thread
From: Zdenek Kabelac @ 2011-09-29 12:49 UTC (permalink / raw)
To: dm-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-29 12:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-28 19:32 error injection Jojy Varghese
2011-09-29 12:49 ` Zdenek Kabelac
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox