The Dmsetup Ls Command - Red Hat ENTERPRISE LINUX 5 - LOGICAL VOLUME MANAGER ADMINISTRATION Manual

Hide thumbs Also See for ENTERPRISE LINUX 5 - LOGICAL VOLUME MANAGER ADMINISTRATION:
Table of Contents

Advertisement

UUID
UUID of the device.
The following example shows partial output for the dmsetup info command.
[root@ask-07 ~]# dmsetup info
Name:
State:
Read Ahead:
Tables present:
Open count:
Event number:
Major, minor:
Number of targets: 2
UUID: LVM-K528WUGQgPadNXYcFrrf9LnPlUMswgkCkpgPIgYzSvigM7SfeWCypddNSWtNzc2N
...
Name:
State:
Read Ahead:
Tables present:
Open count:
Event number:
Major, minor:
Number of targets: 1
UUID: LVM-tOcS1kqFV9drb0X1Vr8sxeYP0tqcrpdegyqj5lZxe45JMGlmvtqLmbLpBcenh2L3
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.
[root@ask-07 ~]# dmsetup ls
testgfsvg-testgfslv3
testgfsvg-testgfslv2
testgfsvg-testgfslv1
VolGroup00-LogVol01
VolGroup00-LogVol00
The following example shows the command to list the devices names of currently configured mirror
mappings.
[root@grant-01 ~]# dmsetup ls --target mirror
lock_stress-grant--02.1722
lock_stress-grant--01.1720
testgfsvg-testgfslv1
ACTIVE
256
LIVE
0
0
253, 2
VolGroup00-LogVol00
ACTIVE
256
LIVE
1
0
253, 0
(253, 4)
(253, 3)
(253, 2)
(253, 1)
(253, 0)
(253, 34)
(253, 18)

The dmsetup ls Command

91

Advertisement

Table of Contents
loading

Table of Contents