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:20:56 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 02 Oct 2008 13:22:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C50A9343.E6B%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: <004301c924c9$7a8edfe0$6fac9fa0$@Henning@prd-inc.com> <C50A9343.E6B%bobby.cox@xxxxxxxxxxxxxxxx>
Reply-to: Dustin.Henning@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ackj/OIrXkB5tKHwpEmII+72oVi6ygAzGgpwAAAptvkAAJayYA==

                Well, I haven’t tried, and this may be bad advice, but  what about a hardlink?

Dustin

 

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Bobby Cox
Sent: Thursday, October 02, 2008 16:04
To: Dustin.Henning@xxxxxxxxxxx
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: 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
<Prev in Thread] Current Thread [Next in Thread>