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