Forgive me if this has been addressed, but I couldn''t find a similar thread on the mailing list. Is it possible, using dd or something similar, to migrate/move a XEN guest from a file (tap:aio) to an LVM partition (phy)? Both Dom0 and DomU are CentOS 5.2 with stock XEN install. For example, assuming guest "test" has been shutdown: SOURCE: /var/lib/xen/images/test.img = 10Gb image DESTINATION: /dev/VolGroupXEN/test = 10Gb LVM partition dd if=/var/lib/xen/images/test.img of=/dev/VolGroupXEN/test bs=1024 Could it be this simple? If this isn''t the correct way to address this issue, could someone point me in the right direction? Thanks, Ken _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 29/07/2008 02:12, lists@nettwrek.com wrote:> Is it possible, using dd or something similar, to > migrate/move a XEN guest from a file (tap:aio) to an LVM partition (phy)? > > dd if=/var/lib/xen/images/test.img of=/dev/VolGroupXEN/test bs=1024 > > Could it be this simple?Yes, then just edit your domU config and restart it, job done. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I confirm :) It is really that easy ! On Tue, Jul 29, 2008 at 3:12 AM, <lists@nettwrek.com> wrote:> Forgive me if this has been addressed, but I couldn''t find a similar thread > on the mailing list. Is it possible, using dd or something similar, to > migrate/move a XEN guest from a file (tap:aio) to an LVM partition (phy)? > Both Dom0 and DomU are CentOS 5.2 with stock XEN install. > > For example, assuming guest "test" has been shutdown: > > SOURCE: /var/lib/xen/images/test.img = 10Gb image > DESTINATION: /dev/VolGroupXEN/test = 10Gb LVM partition > > > dd if=/var/lib/xen/images/test.img of=/dev/VolGroupXEN/test bs=1024 > > > Could it be this simple? If this isn''t the correct way to address this > issue, could someone point me in the right direction? > > Thanks, > Ken > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Antoine Benkemoun Tel : 03.51.53.57.00 Port : 06.32.88.59.35 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users