Citrix Systems 6 Server User Manual


 
177
Display the specified data source for a VM.
Select the VM(s) on which to perform this operation by using the standard selection mechanism (see VM
selectors). Optional arguments can be any number of the VM parameters listed at the beginning of this section.
If no parameters to select hosts are given, the operation will be performed on all VMs.
vm-destroy
vm-destroy uuid=<uuid_of_vm>
Destroy the specified VM. This leaves the storage associated with the VM intact. To delete storage as well, use
xe vm-uninstall.
vm-disk-add
vm-disk-add disk-size=<size_of_disk_to_add> device=<uuid_of_device>
[<vm-selector>=<vm_selector_value>...]
Add a new disk to the specified VMs. Select the device parameter from the value of the allowed-VBD-
devices parameter of the VMs.
The disk-size parameter can be specified in bytes or using the IEC standard suffixes KiB (2
10
bytes), MiB (2
20
bytes), GiB (2
30
bytes), and TiB (2
40
bytes).
The VM or VMs on which this operation should be performed are selected using the standard selection
mechanism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the
beginning of this section.
vm-disk-list
vm-disk-list [vbd-params] [vdi-params] [<vm-selector>=<vm_selector_value>...]
Lists disks attached to the specified VMs. The vbd-params and vdi-params parameters control the fields
of the respective objects to output and should be given as a comma-separated list, or the special key all for
the complete list.
The VM or VMs on which this operation should be performed are selected using the standard selection
mechanism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the
beginning of this section.
vm-disk-remove
vm-disk-remove device=<integer_label_of_disk> [<vm-selector>=<vm_selector_value>...]
Remove a disk from the specified VMs and destroy it.
The VM or VMs on which this operation should be performed are selected using the standard selection
mechanism (see VM selectors). Optional arguments can be any number of the VM parameters listed at the
beginning of this section.
vm-export
vm-export filename=<export_filename>
[metadata=<true | false>]
[<vm-selector>=<vm_selector_value>...]
Export the specified VMs (including disk images) to a file on the local machine. Specify the filename to export the
VM into using the filename parameter. By convention, the filename should have a .xva extension.