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

RE: [Xen-users] Xen 3.0 domain creation issues on fc4



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 could use some help.

 

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

 

 




************************************************************************
Bunnings Legal Disclaimer:

1)     This email is confidential and may contain legally privileged
information.  If you are not the intended recipient, you must not
disclose or use the information contained in it.  If you have received
this email in error, please notify us immediately by return email and
delete the document.

2)     All emails sent to and sent from Bunnings Group Limited.
are scanned for content.  Any material deemed to contain inappropriate
subject matter will be reported to the email administrator of all
parties concerned.
************************************************************************
_______________________________________________
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®.