WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: seven@xxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Xen 3.0 domain creation issues on fc4
From: Colin Coe <CCoe@xxxxxxxxxxxxxxx>
Date: Fri, 30 Dec 2005 12:48:41 +0800
Delivery-date: Fri, 30 Dec 2005 04:53:40 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

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