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 image file ?

To: Marcus Brown <marcusbrutus@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] how to create image file ?
From: xen jones <xenwe@xxxxxxxxx>
Date: Tue, 26 Jul 2005 15:27:57 -0700 (PDT)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 26 Jul 2005 22:26:32 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=FMSai96RQMsMoRlw53Q3xK9pjbgjvS9i/k6V9V+u3vyBNlMk2K/O6MeABJKC2xmaFFOkEcOOy7Rf6IF45wE5uR0P/QJ2VtNai4EqbISanfrhL2Kdp2KTJ5wvJxqN7wRWjQVp8ZzIbG0+Ptz0ltxMUXe9zOvEFrevM3Nsn4tgxno= ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42E5B2D9.2080204@xxxxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks Marcus.
 
I figured it out and posted the finding from another email thread.
 
Jeremy


Marcus Brown <marcusbrutus@xxxxxxxxxxxxxxxx> wrote:
Hi,
I think I see what seems to be your problem (assuming the image file is ok).
You've created your image file in /temp (/dev/sda2) but specified it as
being in /root.
I'm unsure as to your intention, as I guess your xen-domain is too! :)

> mount /dev/sda2 /temp // /dev/sda2 have enough space
> dd if=/dev/sda7 of=/temp/sda7.imge bs=64k
>

right, so you're copying the filesystem in /dev/sda7 to an image called
sda7.imge ['e' a typo?] in /temp (/dev/sda2)

[snip]

> disk = ['file:/root/sda2.img,sda2,w']
>
without changing anything else, perhaps, 'file:/temp/sda7.imge,sda2,w'
would work?
[snip]

> root = "/dev/sda2 rw"

Note that this isn't talking about the /dev/sda2 in the dom0,
it's telling the domU where it's root is (the file you've exported as sda2)

[snip]

>
> Error: Error creating domain: vbd: Segment not found:
> uname=file:/root/sda2.img
>

see?

Marcus.

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


Start your day with Yahoo! - make it your home page
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>