* mdadm help
@ 2011-10-20 2:49 Yathindra
2011-10-20 3:03 ` NeilBrown
0 siblings, 1 reply; 3+ messages in thread
From: Yathindra @ 2011-10-20 2:49 UTC (permalink / raw)
To: linux-raid
Hi,
I'm trying to use the faulty personality of mdadm tool to inject various
disk failure patterns
such as medium errors, unresponsive disk etc.
I'm wondering if there is an option to delay commands to get an
unresponsive behavior.
Also, does rt (readtransient) and wt (writetransient) fault options act
as medium errors.
Thanks,
Yathi
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mdadm help
2011-10-20 2:49 mdadm help Yathindra
@ 2011-10-20 3:03 ` NeilBrown
2011-10-20 3:12 ` Yathindra
0 siblings, 1 reply; 3+ messages in thread
From: NeilBrown @ 2011-10-20 3:03 UTC (permalink / raw)
To: Yathindra; +Cc: linux-raid
[-- Attachment #1: Type: text/plain, Size: 916 bytes --]
On Wed, 19 Oct 2011 20:49:27 -0600 Yathindra <ydev@cs.utah.edu> wrote:
> Hi,
>
> I'm trying to use the faulty personality of mdadm tool to inject various
> disk failure patterns
> such as medium errors, unresponsive disk etc.
>
> I'm wondering if there is an option to delay commands to get an
> unresponsive behavior.
No, there is no way to get a delay. You either get a success or a failure.
> Also, does rt (readtransient) and wt (writetransient) fault options act
> as medium errors.
They simple report an error. The linux block layer doesn't distinguish
reliably amongst different types or errors (or it didn't last time I checked).
NeilBrown
>
> Thanks,
> Yathi
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mdadm help
2011-10-20 3:03 ` NeilBrown
@ 2011-10-20 3:12 ` Yathindra
0 siblings, 0 replies; 3+ messages in thread
From: Yathindra @ 2011-10-20 3:12 UTC (permalink / raw)
To: NeilBrown; +Cc: linux-raid
Thanks Neil.
On 10/19/2011 9:03 PM, NeilBrown wrote:
> On Wed, 19 Oct 2011 20:49:27 -0600 Yathindra<ydev@cs.utah.edu> wrote:
>
>> Hi,
>>
>> I'm trying to use the faulty personality of mdadm tool to inject various
>> disk failure patterns
>> such as medium errors, unresponsive disk etc.
>>
>> I'm wondering if there is an option to delay commands to get an
>> unresponsive behavior.
> No, there is no way to get a delay. You either get a success or a failure.
>
>> Also, does rt (readtransient) and wt (writetransient) fault options act
>> as medium errors.
> They simple report an error. The linux block layer doesn't distinguish
> reliably amongst different types or errors (or it didn't last time I checked).
>
> NeilBrown
>
>
>> Thanks,
>> Yathi
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-10-20 3:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-20 2:49 mdadm help Yathindra
2011-10-20 3:03 ` NeilBrown
2011-10-20 3:12 ` Yathindra
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).