LVM info
List devices
Logical volumes
_$: lvdisplay -v
Finding all logical volumes
--- Logical volume ---
LV Name /dev/vg00/lvvar
VG Name vg00
LV UUID 7nPx2L-hZ2u-qI0U-VIp2-76xT-pG4h-ngTxnK
LV Write Access read/write
LV Status available
# open 1
LV Size 372.53 GiB
Current LE 95367
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:0
--- Logical volume ---
LV Name /dev/vg00/lvvirt
VG Name vg00
LV UUID 5Iz7jb-x41G-Y0hB-kWyz-fPB0-FF7g-4eOIV3
LV Write Access read/write
LV Status available
# open 1
LV Size 186.26 GiB
Current LE 47683
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:1
--- Logical volume ---
LV Name /dev/vg00/lvsrv
VG Name vg00
LV UUID Xk3Q55-qoaH-fmod-AmsF-WHWf-ZeVo-w4EOHE
LV Write Access read/write
LV Status available
# open 1
LV Size 350.25 GiB
Current LE 89663
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:2
_$: lvdisplay --maps
--- Logical volume ---
LV Name /dev/vg00/lvvar
VG Name vg00
LV UUID 7nPx2L-hZ2u-qI0U-VIp2-76xT-pG4h-ngTxnK
...
--- Segments ---
Logical extent 0 to 95366:
Type linear
Physical volume /dev/md2
Physical extents 0 to 95366
--- Logical volume ---
LV Name /dev/vg00/lvvirt
VG Name vg00
LV UUID 5Iz7jb-x41G-Y0hB-kWyz-fPB0-FF7g-4eOIV3
...
--- Segments ---
Logical extent 0 to 47682:
Type linear
Physical volume /dev/md2
Physical extents 95367 to 143049
--- Logical volume ---
LV Name /dev/vg00/lvsrv
VG Name vg00
LV UUID Xk3Q55-qoaH-fmod-AmsF-WHWf-ZeVo-w4EOHE
...
--- Segments ---
Logical extent 0 to 89662:
Type linear
Physical volume /dev/md2
Physical extents 143050 to 232712
So /var
, /var/images
and /srv
can be found in /dev/md2
.
Volume groups
_$: vgdisplay -v
Finding all volume groups
Finding volume group "vg00"
--- Volume group ---
VG Name vg00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 3
Max PV 0
Cur PV 1
Act PV 1
VG Size 909.04 GiB
PE Size 4.00 MiB
Total PE 232713
Alloc PE / Size 232713 / 909.04 GiB
Free PE / Size 0 / 0
VG UUID KiKvNP-wRfD-nyWb-B6o0-aUf7-Dlu0-yurHfw
--- Logical volume ---
LV Name /dev/vg00/lvvar
VG Name vg00
LV UUID 7nPx2L-hZ2u-qI0U-VIp2-76xT-pG4h-ngTxnK
LV Write Access read/write
LV Status available
# open 1
LV Size 372.53 GiB
Current LE 95367
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:0
--- Logical volume ---
LV Name /dev/vg00/lvvirt
VG Name vg00
LV UUID 5Iz7jb-x41G-Y0hB-kWyz-fPB0-FF7g-4eOIV3
LV Write Access read/write
LV Status available
# open 1
LV Size 186.26 GiB
Current LE 47683
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:1
--- Logical volume ---
LV Name /dev/vg00/lvsrv
VG Name vg00
LV UUID Xk3Q55-qoaH-fmod-AmsF-WHWf-ZeVo-w4EOHE
LV Write Access read/write
LV Status available
# open 1
LV Size 350.25 GiB
Current LE 89663
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:2
--- Physical volumes ---
PV Name /dev/md2
PV UUID yXWPu1-e9i2-BJPL-guY7-Buea-6FNc-8SYcxJ
PV Status allocatable
Total PE / Free PE 232713 / 0
Physical volumes
_$: pvdisplay
--- Physical volume ---
PV Name /dev/md2
VG Name vg00
PV Size 909.04 GiB / not usable 832.00 KiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 232713
Free PE 0
Allocated PE 232713
PV UUID yXWPu1-e9i2-BJPL-guY7-Buea-6FNc-8SYcxJ
_$: pvdisplay --maps
--- Physical volume ---
PV Name /dev/md2
...
--- Physical Segments ---
Physical extent 0 to 95366:
Logical volume /dev/vg00/lvvar
Logical extents 0 to 95366
Physical extent 95367 to 143049:
Logical volume /dev/vg00/lvvirt
Logical extents 0 to 47682
Physical extent 143050 to 232712:
Logical volume /dev/vg00/lvsrv
Logical extents 0 to 89662