View Single Post
  #1  
Old 3rd April 2009, 19:26
jlain jlain is offline
Junior Member
 
Join Date: Apr 2009
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default Installing Xen 3.3 on Ubuntu 8.10-failure to create LVM image

After diligently following the instructions for installing Xen 3.3 on a fresh Ubuntu 8.10 server, I am unable to create an LVM-based image using xen-create-image.

I suspect that I blew it while setting up LVM during the Ubuntu install. I'm prepared to start over if I must...but I would like to understand where/how I went wrong.

This is the logfile output of xen-create-image:
--------------------
General Information
--------------------
Hostname : xen1.landcapital.local
Distribution : lenny
Partitions : swap 256Mb (swap)
/ 4Gb (ext3)
Image type : full
Memory size : 256Mb
Kernel path : /boot/vmlinuz-2.6.27-11-server
Initrd path : /boot/initrd.img-2.6.27-11-server

Networking Information
----------------------
IP Address 1 : 192.168.101.100 [MAC: 00:16:3E:64:99:35]
Netmask : 255.255.255.0
Broadcast : 192.168.101.255
Gateway : 192.168.101.1
Insufficient free extents (0) in volume group xen0: 64 required
The LVM partition image creation failed to create /dev/xen0/xen1.landcapital.local-swap.
aborting

===========================
Here is the output of vgdisplay and lvdisplay:
-----------------------------------

root@xen0:~# vgdisplay
--- Volume group ---
VG Name xen0
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 93.13 GB
PE Size 4.00 MB
Total PE 23842
Alloc PE / Size 23842 / 93.13 GB
Free PE / Size 0 / 0
VG UUID lyuc1v-Oet8-f8it-Uzy3-EsIr-J1eG-EdzfvV

------------------------
root@xen0:~# lvdisplay
--- Logical volume ---
LV Name /dev/xen0/root
VG Name xen0
LV UUID tNpKry-aKuo-cmdp-r0x9-vMPp-jQrp-g6Q9Pd
LV Write Access read/write
LV Status available
# open 1
LV Size 89.30 GB
Current LE 22861
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:0

--- Logical volume ---
LV Name /dev/xen0/swap_1
VG Name xen0
LV UUID JbBcGR-1jyk-UcMZ-1QR4-gGEd-ht5W-PmhDWd
LV Write Access read/write
LV Status available
# open 1
LV Size 3.83 GB
Current LE 981
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:1

==========================
Reply With Quote
Sponsored Links