Re: Resize LVM2 partition under VMware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Now I try to extend my volume using lvextend command:

[root@devcentos5 ~]# lvextend -L+10G /dev/VolGroup00/LogVol00 Extending logical volume LogVol00 to 27.94 GB
  Insufficient free space: 320 extents needed, but only 0 available

I tried system-config-lvm utility, but there is no unallocated space to use.

How can I get the additional 10G that I added to the /dev/sda2 partition?

You missed "pvresize /dev/sda2". If the physical volume has changed size the pvresize command will resize the physical volume and therefore the volume group its within. If you were to run "vgdisplay VolGroup00" does it show the Free PE/Size that you expect?

--Dave

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux