Appendix A. The Device Mapper
lock_stress-grant--03.1718
lock_stress-grant--02.1716
lock_stress-grant--03.1713
lock_stress-grant--02.1709
lock_stress-grant--01.1707
lock_stress-grant--01.1724
lock_stress-grant--03.1711
A.2.3. The dmsetup status Command
The dmsetup status device command provides status information for each target in a specified
device. If you do not specify a device name, the output is information about all of the currently
configured Device Mapper devices. You can list the status only of devices that have at least one target
of a specified type with the dmsetup status --target target_type command.
The following example shows the command to list the status of the targets in all currently configured
mapped devices.
[root@ask-07 ~]# dmsetup status
testgfsvg-testgfslv3: 0 312352768 linear
testgfsvg-testgfslv2: 0 312352768 linear
testgfsvg-testgfslv1: 0 312352768 linear
testgfsvg-testgfslv1: 312352768 50331648 linear
VolGroup00-LogVol01: 0 4063232 linear
VolGroup00-LogVol00: 0 151912448 linear
A.2.4. The dmsetup deps Command
The dmsetup deps device command provides a list of (major, minor) pairs for devices referenced
by the mapping table for the specified device. If you do not specify a device name, the output is
information about all of the currently configured Device Mapper devices.
The following example shows the command to list the dependencies of all currently configured
mapped devices.
[root@ask-07 ~]# dmsetup deps
testgfsvg-testgfslv3: 1 dependencies
testgfsvg-testgfslv2: 1 dependencies
testgfsvg-testgfslv1: 1 dependencies
VolGroup00-LogVol01: 1 dependencies
VolGroup00-LogVol00: 1 dependencies
The following example shows the command to list the dependencies only of the device
lock_stress-grant--02.1722:
[root@grant-01 ~]# dmsetup deps lock_stress-grant--02.1722
3 dependencies
: (253, 33) (253, 32) (253, 31)
92
(253, 52)
(253, 40)
(253, 47)
(253, 23)
(253, 8)
(253, 14)
(253, 27)
: (8, 16)
: (8, 16)
: (8, 16)
: (8, 2)
: (8, 2)
Need help?
Do you have a question about the ENTERPRISE LINUX 5 - LOGICAL VOLUME MANAGER ADMINISTRATION and is the answer not in the manual?
Questions and answers