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

[Xen-users] Xen 3, LVM and FC4


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Andrew McConnell" <armcconnell@xxxxxxxxx>
  • Date: Thu, 6 Jul 2006 21:26:22 -0400
  • Delivery-date: Thu, 06 Jul 2006 18:27:34 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HJEYSUg4dbh8Bqk1mIOYhLhwn+wDidyJ9/WiN6SSukTut+mL9VZ38Nz7SGwPEJGKLlvuUONpfO83LGQmp4mTnxOjoCjN1Ew758UnpP6T5aLZldCSgMs6wzLow/dJHEsYZHsgKXA5Hl25FuGe8XaR9JGf+U+k/RuvvZ7kX3stLIg=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello,

This is my first attempt at setting up Xen.  I've got xend running
without issue but can't seem to create DomU's.  I'm sure I'm missing
something obvious but I've exhausted my resources trying to find it.
I installed from xen-3.0.2.2-86.1 RPMs.

Do I need to do anything more to a LV before trying to use it with Xen?

[root@phllu3 ~]# uname -a
Linux phllu3 2.6.16-xen3_86.1_fc4 #1 SMP Thu Apr 13 08:26:52 PDT 2006
i686 i686 i386 GNU/Linux
[root@phllu3 ~]# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0     1894     4 r-----    75.8

[root@phllu3 ~]# fdisk -l

Disk /dev/sda: 319.9 GB, 319954092032 bytes
255 heads, 63 sectors/track, 38898 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1305    10482381   83  Linux
/dev/sda2            1306        1827     4192965   82  Linux swap / Solaris
/dev/sda3            1828       38898   297772807+  8e  Linux LVM

[root@phllu3 ~]# lvdisplay
 --- Logical volume ---
 LV Name                /dev/xen_vg/lvol0
 VG Name                xen_vg
 LV UUID                c2Pefx-PKm0-sodt-5FG7-Id7s-9JCu-QDUF8Y
 LV Write Access        read/write
 LV Status              available
 # open                 0
 LV Size                20.00 GB
 Current LE             5120
 Segments               1
 Allocation             inherit
 Read ahead sectors     0
 Block device           254:0

[root@phllu3 ~]# cat /etc/xen/test.cfg
kernel = "/boot/vmlinuz-2.6.16-xen3_86.1_fc4"
memory = 64
name = "vm1"
vif = [ '' ]
disk = [ 'phy:/dev/xen_vg/lvol0,sda1,w' ]

[root@phllu3 ~]# xm create -c test.cfg
Using config file "/etc/xen/test.cfg".
Started domain vm1
Linux version 2.6.16-xen3_86.1_fc4
(rread@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.0.1 20050727 (Red
Hat 4.0.1-5)) #1 SMP Thu Apr 13 08:26:52 PDT 2006
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000004000000 (usable)
0MB HIGHMEM available.
72MB LOWMEM available.
ACPI in unprivileged domain disabled
IRQ lockup detection disabled
Built 1 zonelists
Kernel command line:
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 512 (order: 9, 8192 bytes)
Xen reported: 2793.178 MHz processor.
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Software IO TLB disabled
vmalloc area: c5000000-fb7fe000, maxmem 33ffe000
Memory: 61016k/73728k available (2188k kernel code, 4452k reserved,
681k data, 168k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 5587.17 BogoMIPS (lpj=27935880)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
Checking 'hlt' instruction... OK.
Brought up 1 CPUs
migration_cost=0
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: setting up Xen PCI frontend stub
ACPI: Subsystem revision 20060127
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
xen_mem: Initialising balloon driver.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: System does not support PCI
PCI: System does not support PCI
IA-32 Microcode Update Driver: v1.14-xen <tigran@xxxxxxxxxxx>
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
blkif_init: reqs=64, pages=704, mmap_vstart=0xc3800000
netfront: Initialising virtual ethernet driver.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Registering block device major 8
ide-floppy driver 0.99.newide
usbmon: debugfs is not available
usbcore: registered new driver libusual
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI No-Shortcut mode
VFS: Cannot open root device "<NULL>" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.