OpenSUSE 12.3 xen+vmm+xen-tools: transfer vm between disk pools on localhost

Hello,

Would someone point me to the documents where the procedure for this prosaic task is described?

Or, tell me how to do it?

I am using OpenSUSE 12.3 as Dom0 and have xen-tools installed and virtual machine manager is installed and working fine (I guess).

In other words, a straight-forward stock xen installation (I suppose).

I have a windows7 virtual machine located in the default location:

/var/lib/libvirt/images

I want to move the windows7 files to another location which will be more likely to be backed up: lets say

/x/z_vm

I must not understand the terms used in xen administration, because I don’t seem to be able to find anything directly on point.

Since things seem to be working, I don’t want to screw them up (yet).

TKA

Hi, I am not an expert, but moving VM image is easy:

Assuming you manage your VM with new xl tool, the vm config file is located in /etc/xen/vm/ directory. My system is upgraded several times, so it may happen that you have it elsewhere, so just search for you VM name.

Now in this config file you will see specification where your image(s) is located.

  1. Shut down your VM
  2. Change the line in config file to whatever place you want to move your VM.
  3. Save the config file
  4. Move your image(s) to new location
  5. Start the VM
    Done

This is the disk specification in VM config file:
disk=
‘format=raw, vdev=hda, access=rw, target=/var/lib/xen/images/opensuse-hvm/opensuse-hvm.raw’,

‘format=raw, vdev=hdc, access=ro, devtype=cdrom, target=/mnt/openSUSE-13.1-DVD-x86_64.iso’

  ]

Boris