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] Swap File

Same here, I'm thinking perhaps the filename was fat-fingered or there's
a whitespace that isn't screaming out at everyone due to mangling by
mail clients. 

This is my config for my openQRM dom-u which works fine :

disk=['file:/images/dom-u/openqrm.72.232.33.70.img,sda1,w','file:/images/dom-u/openqrm.72.232.33.70.swap,sda2,w']

I'm kidn of anal about how I name the devices vs what the loops are
physically being stored on but afiak it shouldn't matter with a file
backed vbd.

HTH
Tim

On Mon, 2006-06-26 at 13:28 +0100, Mike Williams wrote:
> On Monday 26 June 2006 13:08, Dave Smif wrote:
> > What I thought was going to be pretty simple, has turned out not to be.
> >
> > It seems that it is not possible to specify two "file:" devices in the
> > disk= [] option. If I try to do so, all I get from this line:
> >
> > disk = ['file:/images/ats/swap,hda2,w','file:/images/ats/root_fs,hda1,w']
> >
> > is:
> >
> > Error: Device 769 (vbd) could not be connected. Backend device not found.
> >
> > Or is it that I'm doing something really silly? :)
> 
> Firstly a silly question then, does /images/ats/swap actually exist? :)
> I've got a space after the comma separating multiple file/phy instances, and 
> it works fine.
> These two configs work equally well:
> disk = ['file:/home/xen/gentoo.2006-0-0.img,xvda1,w', 
> 'file:/home/xen/gentoo.2006-0-0.swap,xvda2,w'];
> disk = [ 'phy:mapper/moo-2006--0--0,xvda1,w', 
> 'file:/home/xen/gentoo.2006-0-0.swap,xvda2,w' ];
> 
> 


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>