During RedHat installation, I created one volume group with two logical volumes in it.
Volume Group Name = VolGroup00 LVMs = LogVol00 and LogVol01
LogVol00 size = 48G LogVol01 size = 81G
I have added extra 146GB hard drive. I added that drive as a physical volume and ran the command
PV VG Fmt Attr PSize PFree /dev/sda3 VolGroup00 lvm2 a- 132.00G 0 /dev/sdb5 VolGroup00 lvm2 a- 136.09G 136.09G
Now I'm trying to extend the size of
LogVol01 from 81GB to +200Gb using the command
lvextend /dev/VolGroup00/LogVol01 -l 100%VG
But it is giving me this error:
[root@APP ~]# lvextend /dev/VolGroup00/LogVol01 -l 100%VG Extending logical volume LogVol01 to 268.09 GB Insufficient free space: 5917 extents needed, but only 4355 available
How can I fix this and extend my volume?