dm-flakey.txt 708 B

1234567891011121314151617
  1. dm-flakey
  2. =========
  3. This target is the same as the linear target except that it returns I/O
  4. errors periodically. It's been found useful in simulating failing
  5. devices for testing purposes.
  6. Starting from the time the table is loaded, the device is available for
  7. <up interval> seconds, then returns errors for <down interval> seconds,
  8. and then this cycle repeats.
  9. Parameters: <dev path> <offset> <up interval> <down interval>
  10. <dev path>: Full pathname to the underlying block-device, or a
  11. "major:minor" device-number.
  12. <offset>: Starting sector within the device.
  13. <up interval>: Number of seconds device is available.
  14. <down interval>: Number of seconds device returns errors.