[linux-lvm] lvextend

Adam Crews acrews at cisco.com
Tue Dec 28 19:09:14 UTC 1999


Hello,

I am having problems trying to extend a lv.

[root at scooby /root]# lvextend -v -l+6514 /dev/mirror_vg/mirror_lv 
lvextend -- checking for valid logical volume path 
lvextend -- locking logical volume manager 
lvextend -- checking existence of logical volume "/dev/mirror_vg/mirror_lv" 
lvextend -- checking for active logical volume "/dev/mirror_vg/mirror_lv" 
lvextend -- reading volume group data of volume group "mirror_vg" from disk(s) 
lvextend -- getting index of logical volume "/dev/mirror_vg/mirror_lv" in volume group "mirror_vg" 
lvextend -- extending logical volume "/dev/mirror_vg/mirror_lv" to 76.16 GB 
lvextend -- setting up logical volume "/dev/mirror_vg/mirror_lv" for extend
lvextend -- not enough free/allocatable physical extents to extend logical volume "/dev/mirror_vg/mirror_lv"
[root at scooby /root]# 


Looing at the vg I see that there is enough free space


[root at scooby /root]# vgdisplay 
--- Volume group --- 
VG Name 		mirror_vg 
VG Access 		read/write 
VG Status 		available/resizable 
VG # 			0 
MAX LV 			256 
Cur LV 			1
Open LV 		0 
MAX LV Size 		255.99 GB 
Max PV 			256 
Cur PV 			3 
Act PV 			3 
VG Size 		76.16 GB 
PE Size 		4 MB 
Total PE 		19496 
Alloc PE / Size 	12982 / 50.71 GB 
Free  PE / Size 	6514 / 25.45 GB 


[root at scooby /root]#

What am I doing wrong?

-Adam




More information about the linux-lvm mailing list