mdadm help
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
Quoted 8 lines · On Wed, 19 Oct 2011 20:49:27 -0600 Yathindra <[email protected]> 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.
Quoted 2 lines
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
Quoted 7 lines
Thanks,
Yathi
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Thanks Neil.
Quoted 26 lines · NeilBrown
Quoted 8 lines · On Wed, 19 Oct 2011 20:49:27 -0600 Yathindra<[email protected]> 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.
Quoted 2 lines
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
Quoted 6 lines
Thanks,
Yathi
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html