Proxmox 3.4 extend host disk space

RaidoR

New Member
Aug 14, 2015
20
0
1
Hello,

I have a HP server with hardware raid. Previously I had ~560GB of space (RAID5), now I extended it by adding 2 drives to array and rebooted proxmox.

Proxmox now detects the new disk size:

Code:
# fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 1199.9 GB, 1199864854528 bytes
256 heads, 63 sectors/track, 145305 cylinders, total 2343486044 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 1048576 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1  1171743323   585871661+  ee  GPT
Partition 1 does not start on physical sector boundary.

But pvs still shows old info:

# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 pve lvm2 a-- 558.60g 3.60g

How do I make the new space available for VG named "pve"?

Current situation:
# vgdisplay
--- Volume group ---
VG Name pve
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 26
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 6
Open LV 5
Max PV 0
Cur PV 1
Act PV 1
VG Size 558.60 GiB
PE Size 4.00 MiB
Total PE 143002
Alloc PE / Size 142080 / 555.00 GiB
Free PE / Size 922 / 3.60 GiB
VG UUID Ca8V7A-Pxhe-fKcE-SABw-HLBq-mg4D-lr3Bmi

# pvdisplay
--- Physical volume ---
PV Name /dev/sda3
VG Name pve
PV Size 558.61 GiB / not usable 4.28 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 143002
Free PE 922
Allocated PE 142080
PV UUID zX72Ty-2L56-2yWo-Oive-7wka-J301-XKcRWK