[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] how to create image file ?


  • To: Marcus Brown <marcusbrutus@xxxxxxxxxxxxxxxx>
  • 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= ;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.