Skip to contentSkip to conversation

IDE layer adoptations that *fake* a failing drive?

DISCUSSION Leon Woestenberg 1 participant 1 message May 14, 2004 libata

lore
Share & tools
lore
#0 lore raw

Hello,

I wondered if anyone here is aware of code that sits between the IDE software layer and the storage device, that emulates a failing disk in one way or another.

I.e. for example, write multiple re-tries with time-outs, checksum errors, failing to complete read/writes to medium etc.

From my networking stuff, I know there are network simulators that you can provoke to simulate all kind of network traffic abnormalities, such as congestion, dupes, lost packets, bursting.

I have access to only a limited number of really bad disks, and want to do stress tests against fully automatically managed software RAID arrays under Linux (except for the part where you have to physically swap defect disks :-)

Ciao,

Leon.