LVM2 segments
Hello,
I did some pvmove on some partions to a bigger PV, but now I get many segments.
Do such segments affect performance?
[root@DBA-310-PRD ~]# lvdisplay
--- Logical volume ---
LV Path /dev/vg_data/lv_data
LV Name lv_data
VG Name vg_data
LV UUID ffb8934a-4fb1-4fc6-8095-895b9f37374e
LV Write Access read/write
LV Creation host, time DBA-000-PRD, 2016-06-22 15:47:39 +0200
LV Status available
# open 1
LV Size 1.07 TiB
Current LE 281598
Segments 11
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
[root@DBA-310-PRD ~]# vgdisplay
--- Volume group ---
VG Name vg_data
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 68
VG Access read/write
VG Status resizable
MAX LV 256
Cur LV 1
Open LV 1
Max PV 256
Cur PV 1
Act PV 1
VG Size 1.07 TiB
PE Size 4.00 MiB
Total PE 281598
Alloc PE / Size 281598 / 1.07 TiB
Free PE / Size 0 / 0
VG UUID d1a5c819-df86-4113-8dc7-f383fd68f607
[root@DBA-310-PRD ~]# pvdisplay
--- Physical volume ---
PV Name /dev/sdg1
VG Name vg_data
PV Size 1.07 TiB / not usable 1.37 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 281598
Free PE 0
Allocated PE 281598
PV UUID a117fa22-95a3-48cd-b40a-8b6809d406ed
[root@DBA-310-PRD ~]# lvm version
LVM version: 2.02.143(2)-RHEL6 (2016-04-01)
Library version: 1.02.117-RHEL6 (2016-04-01)
Driver version: 4.33.1
Last edited by HTop; 01-03-2020 at 02:18 PM.
|