Re: redhat-list Digest, Vol 147, Issue 1

2017-11-01 Thread Greaser, Tom
Not sure it will be what your looking for but try stress or stress-ng stress.x86_64 : A tool to put given subsystems under a specified load stress-ng.x86_64 : Stress test a computer system in various ways Today's Topics: 1. Simulate disk hang (Yong Huang) ---

Simulate disk hang

2017-11-01 Thread Yong Huang
What is the best way to simulate a disk I/O hang on Linux? I want to see how long a critical Oracle process can tolerate such a hang. If I delete SD disks by `echo 1 > /sys/block/sd*/device/delete', that causes the database to crash immediately. But I want to see if there's such I/O hang toleran