Simulate disk hang
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/sdx/device/delete, that causes the database to crash immediately. But I want to hang the I/O without causing an immediate I/O or disk error.