[linux-lvm] Resize LVM2 partition under VMware

Naslain Christophe c.naslain at lectra.com
Wed Dec 19 08:55:42 UTC 2007


Hi David,
Thank a lot for the info, that works fine:

[root at devcentos5 ~]# vgdisplay VolGroup00
  --- Volume group ---
  VG Name               VolGroup00
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               19.88 GB
  PE Size               32.00 MB
  Total PE              636
  Alloc PE / Size       636 / 19.88 GB
  Free  PE / Size       0 / 0
  VG UUID               Ix1XeP-LzJ0-3SEX-wMJ2-I4Im-2gWv-WCAgWm

[root at devcentos5 ~]# pvresize /dev/sda2
  Physical volume "/dev/sda2" changed
  1 physical volume(s) resized / 0 physical volume(s) not resized

Then I used system-config-lvm to resize the logical volume.

Best,

Chris




More information about the linux-lvm mailing list