Setup Guide
60 Configuring Storage
Moving an SR Between Hosts
If you wish to remove an SR from an existing XenServer host and use it with a
different host, you must back up the SR from the first host and restore it on
the second host:
1
Access the
Backup, Update and Restore
menu in the local console on the
XenServer host or pool master.
2
Trigger an immediate metadata backup to the SR being moved using the
Backup Virtual Machine Metadata
menu option. The metadata backup
creates a backup VDI, if necessary, and attaches it to the host, and then
backs up all the metadata to that SR.
NOTE: The metadata backup process can be scheduled to occur daily,
weekly, or monthly using the Schedule Virtual Machine Metadata option.
3
Perform a metadata restoration operation using the
Restore Virtual
Machine Metadata
menu option. The metadata restoration operation can
restore only VM records associated with the selected SR, or all of the VM
records found.
NOTE: There is also an option to test which VMs will be imported without
actually performing the restoration operation.
Resizing An SR After Changing the Size of An
LVM-Based Storage Volume
If you change the size of a LVM-based volume (SAS, iSCSI, or Fibre
Channel)—for example, if you increase the size of the volume on your iSCSI
storage array—the size of the SR on that volume does not get updated.
Perform the following steps to adjust the size of the SR:
1
Shutdown all virtual machines on the SR.
2
Note the universally unique identifier (UUID) of the SR.
Ty p e t h e
xe sr-list
command on the XenServer host and identify the
SR by its name label.
3
Identify the Physical Block Device (PBD) UUID corresponding to the SR.
Type the following command on XenServer:
# xe sr-param-list uuid=
<SR UUID>
|grep PBD
where <SR UUID> is the UUID of SR noted in step 2










