This group of parameters is used to add and configure virtual hard disks in a virtual machine.
Syntax
prlctl set ID|VM_name --device-add hdd [--image name]
[--type expand|plain][--size number][--split]
[--iface ide|scsi][--position number]
[--enable|--disable]
prlctl set ID|VM_name --device-add hdd --device name
[--iface ide|scsi][--position number]
[--enable|--disable]
prlctl set ID|VM_name --device-set hddN [--image name]
[--type expand|plain][--size number][--split]
[--iface ide|scsi][--position number]
[--enable|--disable]
prlctl set ID|VM_name --device-set hddN --device name
[--iface ide|scsi][--position number]
[--enable|--disable]
Parameters
Name |
Description |
|
The virtual machine ID. |
|
The virtual machine name. |
|
Adds a virtual hard disk drive to the virtual machine. You can connect up to four IDE devices and up to seven SCSI devices to a virtual machine. This includes hard disks and optical disk drives. |
|
Modifies the parameters of an existing virtual hard disk. |
|
Specifies the type of the virtual device to add to the virtual machine (in this instance, a virtual hard disk). |
|
The name of the virtual hard disk to modify. Virtual hard disks are named using the |
|
This options is used to create a virtual hard disk using an image file. You have an option of creating a new image file or to use an existing image.
|
|
This option is used to create a virtual hard disk based on a boot camp partition (Mac hosts). The |
|
|
|
For image file based virtual disk drives, specified the disk type:
|
|
The size of the virtual hard disk, in megabytes. The default size is 32,000 MB. |
|
Splits the hard disk image file into 2 GB pieces. You should split a virtual disk if it is stored on a file system that cannot support files larger than 2 GB (e.g. FAT16). |
|
Interface type:
|
|
The SCSI or IDE device identifier to be used for the virtual disk. The allowed ID ranges are the following:
You can use one of the following formats for specifying IDs: |
|
Enables the specified virtual disk drive. All newly added disk drives are enabled by default (provided the |
|
Disables the specified virtual disk drive. The disk drive itself is not removed from the virtual machine configuration. |
Links