Allows creating/removing various block devices, stuff like concatenating devices with each another, or creating a faulty device, etc.
- create a device mapping, and make it faulty later: first
dmsetup create sdx1 --table '0 300000 linear /dev/sda1 0'where0 300000are sectors, andsdx1is the new device name. It will be located at/dev/mapper/sdx1. After you're done working with it in a correct state, calldmsetup -v wipe_table sdx1