Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

Re: [Xen-users] Swap File

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Swap File
From: Mike Williams <mike.williams@xxxxxxxxxx>
Date: Mon, 26 Jun 2006 13:28:22 +0100
Delivery-date: Mon, 26 Jun 2006 05:30:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <11c350d00606260508p26e4529q2aca4e4bb13952b@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Comodo
References: <11c350d00606260508p26e4529q2aca4e4bb13952b@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
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' ];


-- 
Mike Williams
System Administration Manager - Comodo
Office Tel Europe: +44 (0) 161 8747070
Fax Europe: +44 (0) 161 8771767

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

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