I’m only a newbie myself but try
changing
disk
= [ 'phy:/dev/vg/lvm1,sda1,w' ]
to
disk
= [ 'phy:vg/lvm1,sda1,w' ]
CC
From: James
[mailto:seven@xxxxxxxx]
Sent: Friday, 30 December 2005
11:29 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen 3.0
domain creation issues on fc4
I made some modifications after reading the list messages in
my e-mail box. I am now getting the following error:
[2005-12-29
20:05:12 xend] DEBUG (blkif:24) exception looking up device number for sda1:
[Errno 2] No such file or directory: '/dev/sda1'
I also
get an error on the screen that /dev/sda1 or /mnt/sda1does not exist and I need
to properly specify the boot parameter.
I get this error when I attempt to use /dev/sda1 or
/mnt/sda1; the LVM partition will mount successfully with a mount
command. I moved it to /mnt/sda1 because the os deletes /dev/sda1 on
reboot and I have to recreate it with a mkdir command. When I mount the
/mnt/sda1 device and run "xm create -c vm01.cfg" I get an error that
the domain cannot mount because the device is in use.
FSTAB on the vm01 file system
/mnt/sda1
/ ext3
defaults 1 1
none /dev/pts
devpts gid=5,mode=620 0 0
none /dev/shm tmpfs
defaults 0 0
none /proc
proc defaults 0 0
none /sys
sysfs defaults 0 0
vm01.cfg used to start the domain
kernel
= "/boot/vmlinuz-2.6.12.6-xen3_7.1_fc4"
memory
= 448
name
= "vm01"
nics
= 1
disk
= [ 'phy:/dev/vg/lvm1,sda1,w' ]
dhcp
= "dhcp"
root
= "/mnt/sda1"
extra
= "ro selinux=0 3