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

Re: [Xen-users] Accessing individual partitions of a HVM guest


  • To: xen-users@xxxxxxxxxxxxx
  • From: Alexandre Kouznetsov <alk@xxxxxxxxxx>
  • Date: Thu, 27 Dec 2012 12:02:31 -0600
  • Delivery-date: Thu, 27 Dec 2012 18:03:27 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hello.

El 27/12/12 11:40, Andreas Hilboll escribió:
I need to do some p2v migration of a very old SuSE server.
Unfortunately, the kernel of that machine doesn't support running as xen
domU, so I need to put the machine into a HVM domU.
 [...]
but then how can I access the individual partitions of the domU's
/dev/sda from the dom0?
kpartx is the tool. It will create device files under /dev/mapper for each partition it finds on the block device you give it. Do not forget to unmap the partitions after you done.

Another way is to mount your /dev/vg_guest/worker1_disk as is, with "mount -o offset=XYZ ". Needs no mapping additional tools, but it's tricky.

--
Alexandre Kouznetsov


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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