Product Documentation

Move Virtual Disks

Oct 16, 2015

Virtual disks can be moved or migrated from one storage repository (SR) to a different SR within the same pool. This includes:

  • Virtual disks that are not currently attached to any VM.
  • Virtual disks attached to VMs that are not running.
  • Virtual disks attached to running VMs (using Storage XenMotion)

Note that you can move a virtual disk on local storage to shared storage on a different server, but you cannot move it to a local storage on a different server.

About Storage XenMotion

Storage XenMotion allows you to move virtual disks without having to shut down the VM first, enabling administrative operations such as:

  • moving a VM from cheap local storage to fast, resilient, array-backed storage.
  • moving a VM from a development to production environment.
  • moving between tiers of storage when a VM is limited by storage capacity.
  • performing storage array upgrades.

Note the following limitations for Storage XenMotion:

  • Virtual disks with more than one snapshot cannot be migrated.
  • Virtual disks located on StorageLink SRs cannot be migrated.
    Important: StorageLink technology has been removed from XenServer version 6.5 and higher. Applications, code, or usage that depend on StorageLink technology will not function in XenServer version 6.5 and higher. For information about migrating existing virtual disks (VDIs) from a StorageLink SR to an iSCSI or Fibre Channel SR, see CTX141433.

To move a virtual disk

  1. In the XenCenter Resources pane, select the SR where the virtual disk is currently stored, and then click on the Storage tab. To locate a virtual disk:
    • In the XenCenter Resources pane, select the VM to which the virtual disk that you wish to move is attached.
    • Click on the Storage tab and identify the SR on which the virtual disk is currently stored.
  2. From the Virtual Disks list, select one or more virtual disks that you would like to move, and then click Move. Alternatively, right-click on the selected virtual disk and select Move Virtual Disk from the shortcut menu.
  3. In the Move Virtual Disk dialog box, select the target SR that you would like to move the virtual disk to. Make sure that the target SR has sufficient space for another virtual disk: the available space is shown in the list of available SRs.
  4. Click Move to move the virtual disk.