A.2.2. The dmsetup ls Command
You can list the device names of mapped devices with the
dmsetup ls command. You can list devices that have at least one target of a specified type with the dmsetup ls --target target_type command. For other options of the dmsetup ls, see the dmsetup man page.
The following example shows the command to list the device names of currently configured mapped devices.
The following example shows the command to list the devices names of currently configured mirror mappings.
LVM configurations that are stacked on multipath or other device mapper devices can be complex to sort out. The
dmsetup ls command provides a --tree option that displays dependencies between devices as a tree, as in the following example.