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@lists.xensource.com
http://lists.xensource.com/xen-users
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@lists.xensource.com
[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Bobby Cox
Sent: Wednesday, October 01, 2008 15:36
To: xen-users@lists.xensource.com
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@lists.xensource.com
http://lists.xensource.com/xen-users
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@prd-inc.com>
Reply-To: <Dustin.Henning@prd-inc.com>
Date: Thu, 2 Oct 2008 15:00:11 -0500
To: Bobby Cox <bobby.cox@presage-tech.com>
Cc: <xen-users@lists.xensource.com>
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@lists.xensource.com
[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Bobby Cox
Sent: Wednesday, October 01, 2008 15:36
To: xen-users@lists.xensource.com
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@lists.xensource.com
http://lists.xensource.com/xen-users
Well, I haven''t tried, and this may be bad advice, but what
about a hardlink?
Dustin
From: xen-users-bounces@lists.xensource.com
[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Bobby Cox
Sent: Thursday, October 02, 2008 16:04
To: Dustin.Henning@prd-inc.com
Cc: xen-users@lists.xensource.com
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@prd-inc.com>
Reply-To: <Dustin.Henning@prd-inc.com>
Date: Thu, 2 Oct 2008 15:00:11 -0500
To: Bobby Cox <bobby.cox@presage-tech.com>
Cc: <xen-users@lists.xensource.com>
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@lists.xensource.com
[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Bobby Cox
Sent: Wednesday, October 01, 2008 15:36
To: xen-users@lists.xensource.com
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@lists.xensource.com
http://lists.xensource.com/xen-users
Dustin,
Yeah that''s not an option. Homedirs are NFS mounted and/or are
directories. I had thought about it though :)
--
Bobby Cox
________________________________
From: Dustin Henning <Dustin.Henning@prd-inc.com>
Reply-To: <Dustin.Henning@prd-inc.com>
Date: Thu, 2 Oct 2008 15:20:56 -0500
To: Bobby Cox <bobby.cox@presage-tech.com>
Cc: <xen-users@lists.xensource.com>
Subject: RE: [Xen-users] Xm Create Image Path
Well, I haven''t tried, and this may be bad advice, but
what about a hardlink?
Dustin
From: xen-users-bounces@lists.xensource.com
[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Bobby Cox
Sent: Thursday, October 02, 2008 16:04
To: Dustin.Henning@prd-inc.com
Cc: xen-users@lists.xensource.com
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@prd-inc.com>
Reply-To: <Dustin.Henning@prd-inc.com>
Date: Thu, 2 Oct 2008 15:00:11 -0500
To: Bobby Cox <bobby.cox@presage-tech.com>
Cc: <xen-users@lists.xensource.com>
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@lists.xensource.com
[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Bobby Cox
Sent: Wednesday, October 01, 2008 15:36
To: xen-users@lists.xensource.com
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@lists.xensource.com
http://lists.xensource.com/xen-users
On Thu, Oct 2, 2008 at 1:26 PM, Bobby Cox <Bobby.Cox@presage-tech.com>wrote:> Dustin, > > Yeah that''s not an option. Homedirs are NFS mounted and/or are > directories. I had thought about it though :) > > -- > *Bobby Cox* >You plan on pulling the disk images across NFS? Since the symlink is in the users home directory how are you handling permissions? Grant McWilliams _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users