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] Xm Create Image Path

To: "'Bobby Cox'" <Bobby.Cox@xxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Xm Create Image Path
From: "Dustin Henning" <Dustin.Henning@xxxxxxxxxxx>
Date: Thu, 2 Oct 2008 16:00:11 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 02 Oct 2008 13:01:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C5093B3B.E42%bobby.cox@xxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: PRD, Inc.
References: <C5093B3B.E42%bobby.cox@xxxxxxxxxxxxxxxx>
Reply-to: Dustin.Henning@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ackj/OIrXkB5tKHwpEmII+72oVi6ygAzGgpw

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
<Prev in Thread] Current Thread [Next in Thread>