[root@test ~]# lvdisplay /dev/hits/hits1
--- Logical volume ---
LV Name /dev/hits/hits1
VG Name hits
LV UUID W7uUkN-WAIf-MrY7-u7oE-x9uy-AegG-WYATjI
LV Write Access read/write
LV Status available
# open 0
LV Size 1.00 GiB
Current LE 256
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
[root@test ~]#
Most of us would wonder few things with the output of # lvdisplay especially the bottom two lines.
currently set to and Block device.
Block device:
Block Devices refers to the DM (Device Multipath) Associated with the logical volume.
[root@test ~]# dmsetup ls --tree
hits-hits1 (253:0)
└─ (8:16)
--- Logical volume ---
LV Name /dev/hits/hits1
VG Name hits
LV UUID W7uUkN-WAIf-MrY7-u7oE-x9uy-AegG-WYATjI
LV Write Access read/write
LV Status available
# open 0
LV Size 1.00 GiB
Current LE 256
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
[root@test ~]#
Most of us would wonder few things with the output of # lvdisplay especially the bottom two lines.
currently set to and Block device.
Block device:
Block Devices refers to the DM (Device Multipath) Associated with the logical volume.
[root@test ~]# dmsetup ls --tree
hits-hits1 (253:0)
└─ (8:16)
[root@test dev]# ls -l | grep -i "253"
brw-rw----. 1 root disk 253, 0 Jul 4 17:50 dm-0
[root@test dev]#
dm-0 is the device multipath associated with the logical volume hits1.
No comments:
Post a Comment