I'm probably missing something silly here but I'm stuck. I've got a linux CentOs 6.10 box (yes I know, I don't own it, I'm helping out a customer, I have told them to upgrade) that is in VMware. I've grown the disk form 35GB to 43GB and now need to add that disk space.
Normally I'd create a partition and use pvcreate to kick off the process of growing the LVM but the partition is only giving me 1MB of space:
[root@serverone ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sr0 11:0 1 1024M 0 rom
sda 8:0 0 43G 0 disk
├─sda1 8:1 0 500M 0 part /boot
├─sda2 8:2 0 34.5G 0 part
│ ├─VolGroup-lv_swap (dm-0) 253:0 0 7.8G 0 lvm [SWAP]
│ └─VolGroup-lv_root (dm-1) 253:1 0 26.7G 0 lvm /
└─sda3 8:3 0 1008K 0 part
[root@serverone ~]#
I can see the disk space as part of sda2? I haven't grown it so I'm confused as to why sda2 is 34.5G?
df -h shows:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
27G 4.2G 21G 17% /
Clearly I've missed something somewhere!
help!

Thanks.