Dear ALL,


I have a 108 GB space in volume group ..i create virtual machine on it with xen but when i increase the size of this virutal macine the size can not be increase . i create the xen machine on LVM . i use debian 6

here is my out put of VGdisplay command

Volume group ---
VG Name xen-vol
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 8
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 2
Act PV 2
VG Size 150.01 GiB
PE Size 4.00 MiB
Total PE 38402
Alloc PE / Size 10502 / 41.02 GiB
Free PE / Size 27900 / 108.98 GiB
VG UUID fbfxhr-x3l3-EJCj-gwVp-tgox-1POl-x1ScSt

and i use the following command for increasing the size

Lvextend -v -L +10GB -n /dev/xen-vol/lvmtest-disk

ater that i login to virtual machine and use the folloing command also

resize2fs /dev/xvda2

and here is the outp out of Lvdisplay

Logical volume ---
LV Name /dev/xen-vol/lvmtest-swap
VG Name xen-vol
LV UUID ZTV6g3-YLGv-QgoY-U5bp-UAdc-fOxD-i22lK2
LV Write Access read/write
LV Status available
# open 1
LV Size 1.00 GiB
Current LE 256
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:0

--- Logical volume ---
LV Name /dev/xen-vol/lvmtest-disk
VG Name xen-vol
LV UUID uiaLoC-1Z4r-EW6S-NzxM-D4hM-4KVD-e00Ou4
LV Write Access read/write
LV Status available
# open 1
LV Size 40.02 GiB
Current LE 10246
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:1

kinly help me in this regards