Hi ServerFault Community.
To this volume group:
--- Volume group ---
VG Name virtual-machines
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 117,18 GiB
PE Size 4,00 MiB
Total PE 29999
Alloc PE / Size 25600 / 100,00 GiB
Free PE / Size 4399 / 17,18 GiB
VG UUID iXdHIW-f7eR-aAb2-DHxR-ybAv-dQCy-oBA1Um
containing this logical volume
--- Logical volume ---
LV Name /dev/virtual-machines/win7x64
VG Name virtual-machines
LV UUID 2CXriq-v3M2-dVkG-j8JI-dGUD-yyph-r9waRs
LV Write Access read/write
LV Status available
# open 0
LV Size 100,00 GiB
Current LE 25600
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:0
I'd like to add another logical volume via
lvcreate -L 100G -n win7x64-gaming virtual-machines
but it says
Insufficient free extents (4399) in volume group virtual-machines: 25600 required
So i thought of resizing the vg but I did not find anything like vgresize. How could I manage to add this new lv?
EDIT: I took an empty HDD and just called lvcreate so I assume the following is interesting for you.
--- Physical volume ---
PV Name /dev/sdb1
VG Name virtual-machines
PV Size 117,19 GiB / not usable 4,00 MiB
Allocatable yes
PE Size 4,00 MiB
Total PE 29999
Free PE 4399
Allocated PE 25600
PV UUID iXZ9sf-UMnI-azYF-2h0v-dCt3-44GB-NwT7v9