Virtual hard diskAdd a hard disk --device-add hdd [ --image < image_name >] [ --type < expand | plain >] [ --size < n >] [ --split ] [ --iface < ide | scsi | sata >] [ --position < n >] [ --subtype < buslogic | lsi-spi | lsi-sas >] [ --online-compact < on | off >] Modify a hard disk --device-set < hdd_name > [ --image < image_name >] [ --type < expand | plain >] [ --size < n >] [ --split ] [ --iface < ide | scsi | sata >] [ --position < n >] [ --subtype < buslogic | lsi-spi | lsi-sas >] [ --online-compact < on | off >] Parameters
hdd_name:
The name of the virtual hard disk to modify (-
-device-set
command only). Virtual hard disks are named using the hddN format where N is the drive index number starting from 0 (e.g. hdd0, hdd1). To obtain the list of disk names, use the
--image
: specifies the name of the file to be used for emulating the VM virtual disk drive. If this option is omitted, a new file is created inside the directory storing all VM-related configuration files and assigned the name of
--type : specifies the type of the virtual disk from one of the following:
--size : hard disk size, in megabytes. --split : splits the hard disk into 2 Gb pieces. --iface : virtual hard disk interface type: ide , scsi , or sata . --position : the SCSI / IDE / SATA device identifier to be used for the disk drive. Allowed ranges:
--subtype : virtual hard disk subtype: buslogic , lsi-spi , lsi-sas . --online-compact : enables or disables virtual hard disk online compact mode. |
||||
|