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] how to create guest image file ?

To: Jeremy Fang <balanceinfotech@xxxxxxxxx>
Subject: Re: [Xen-users] how to create guest image file ?
From: Martti Kuparinen <martti.kuparinen@xxxxxx>
Date: Tue, 26 Jul 2005 12:38:53 +0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 26 Jul 2005 09:37:46 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050726032420.28255.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <20050726032420.28255.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050404)
Jeremy Fang wrote:

    mount /dev/sda2   /temp       // /dev/sda2 have enough space
    dd if=/dev/sda7   of=/temp/sda7.imge bs=64k
...
disk = ['file:/root/sda2.img,sda2,w']
...
[root@xen auto]# xm create sda2_img -c
Using config file "sda2_image".
Error: Error creating domain: vbd: Segment not found: uname=file:/root/sda2.img

Shouldn't you have

disk = ['file:/temp/sda7.img,sda2,w']

in the configuration file? After all, that's where you
saved the image of /dev/sda7, not in the /root directory...

Martti

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

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