Move a virtual disk to a new storage location.
This command moves a single virtual disk from the system chose with the --host
parameter to a new storage location. The disk to move can be chosen either with the --virt
parameter (followed by a device on the system), --real
followed by the path on the host, or --lv
followed by a logical volume name.
The destination is set using with --new-storage
parameter, followed by a storage ID as shown by the list-disk-storages
command. This is typically either files
or lvm_
followed by a volume group name.
Alternately, you can force a move to a specific disk image directory with the --new-directory
flag followed by a path.
Example usage
cloudmin move-disk --host xencentos.home --virt /dev/hda --new-storage files Moving virtual disk for /dev/hda to files .. .. done
Command Line Help
Move a virtual disk to a new storage location. cloudmin move-disk --host hostname --real device|file | --virt device | --lv name [--new-storage id | --new-directory dir]