How do I simulate a bad sectors block device on Linux to test some tools?
I followed the steps in Simulate a faulty block device with read errors?, but it is throwing "device-mapper: reload ioctl on bad_disk failed: Invalid argument" error.
Is there any other ways to create a bad sector block device?