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

Re: [Xen-users] Xm Create Image Path



Dustin,

Yes I had.  Replacing the image path in the configuration did make it work and I knew this before posting.  I guess my question was a bit simple.  I should have asked has anyone done this and had it work for them.  

Thanks for your response.
--
Bobby Cox



From: Dustin Henning <Dustin.Henning@xxxxxxxxxxx>
Reply-To: <Dustin.Henning@xxxxxxxxxxx>
Date: Thu, 2 Oct 2008 15:00:11 -0500
To: Bobby Cox <bobby.cox@xxxxxxxxxxxxxxxx>
Cc: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Xm Create Image Path

I don’t know ,but since no one has replied, have you tried using the true path instead of the local one for testing?  Simply modifying the config to replace /home/fred/ with /var/ would answer that, right?
Dustin
 

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Bobby Cox
Sent: Wednesday, October 01, 2008 15:36
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xm Create Image Path

All,

Is is possible for xm create foo.cfg to traverse a symlink to access the foo.img.  Here’s an example config and the resulting error..
---
name = "jim"
memory = "512"


disk = [ 'phy:/dev/VolGroup00/foo,xvda,r',
         'tap:aio:/home/fred/local/jim/build/foo_swap.img,xvdd,w',
         'tap:aio:/home/fred/local/jim/build/foo.img,xvdb,w' ]

vif = ['bridge=xenbr0']
bootloader="/usr/bin/pygrub"
vnc=1
vncunused=1
---


sudo xm create build/jim.cfg
Using config file "./build/jim.cfg".
Error: Device 51728 (tap) could not be connected.
/home/fred/local/jim/build/foo_swap.img does not exist.

The symlink is local which points to /var/local

local -> /var/local/

Regards,
--
Bobby Cox

_______________________________________________
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®.