Article 4XD59 LVM2 segments

LVM2 segments

by
HTop
from LinuxQuestions.org on (#4XD59)
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.1latest?d=yIl2AUoC8zA latest?i=FdY_iq46kvg:exf89e7zWTo:F7zBnMy latest?i=FdY_iq46kvg:exf89e7zWTo:V_sGLiP latest?d=qj6IDK7rITs latest?i=FdY_iq46kvg:exf89e7zWTo:gIN9vFwFdY_iq46kvg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments