Managing Disk Interfaces
By default, any virtual machine is created with a SATA (Serial Advanced Technology Attachment) virtual hard disk. If necessary, you can change the interface type of a disk from SATA to SCSI (Small Computer System Interface) or IDE (Integrated Drive Electronics). For example, to change the interface type of the default disk (
# pctl set MyVM --device-set hdd0 --iface scsi The VM has been successfully configured To check that the interface type has been successfully changed, use this command: # pctl list -i MyVM | grep hdd0 Boot order: hdd0 cdrom0 fdd0 net0 hdd0 (+) scsi:0 image='/var/parallels/VM_SCSI.pvm/harddisk.hdd' 65536Mb
The command output shows that now the interface type of the
You can create additional disks for the
# pctl set MyVM --device-add hdd --iface scsi Creating hdd1 (+) scsi:1 image='/var/parallels/MyVM.pvm/harddisk1.hdd' 65536Mb Create the expanding image file, 65536Mb... The VM has been successfully configured.
You can also create an IDE disk. To do this, specify
The maximum number of devices (both virtual hard disks and CD/DVD-ROM drives) you can add to a virtual machine is given below:
At any time, you can remove the
# pctl set MyVM --device-del hdd1 Remove the hdd1 device. The VM has been successfully configured. Notes : 1. SATA virtual disks can be added to or removed from both running and stopped virtual machines while operations with IDE and SCSI disks can be performed on stopped virtual machines only. 2. You need to initialize a newly added disk before you can start using it. To initialize the disk, use standard means provided by your guest operating system.
3. For more information on the
|
||||
|