You can change virtual hard disk node and mode settings.
To change the node and mode settings for a virtual hard disk on a selected virtual machine, select Hardware tab, select the virtual hard disk, and click Advanced. By default, changes are immediately written to the disk. The data on the disk is saved when you take a snapshot of the virtual machine.
, click theSetting | Description |
---|---|
Virtual device node | Select the SCSI, IDE, SATA, or NVMe device identifier to use for the drive. For example, if you select SCSI 0:2, the guest operating system detects the drive as ID 2 on controller 0. You determine whether the virtual disk is seen as a SCSI, IDE, SATA, or NVMe device at the time that you create it. |
Independent | If the Independent check box is unavailable, the virtual machine might have snapshots. After you delete the snapshots, the check box becomes available.
Caution: Independent disks do not participate in snapshots. Only select
Independent mode for a disk in a virtual machine if you are prepared to give up the ability to take snapshots of the virtual machine when powered on.
Although independent disks are not commonly used, they are useful in specific situations. For example, you have a virtual machine with two virtual disks. The second disk is configured to hold the Linux swap file or the Windows page file. The data on this disk has no value once the virtual machine is powered off. Therefore, you have no need to save the data from the second disk in a snapshot of the virtual machine. You can economize host disk space by not storing that data when a snapshot is taken. Accomplish this economy of host disk space by making the second disk independent. Specify independent disks as Persistent or Nonpersistent. While the virtual machine is running, a non-persistent disk stores all of the changes made to a disk in a separate file. When the virtual machine is shut down, the changes are discarded. Discarding the changes is useful in certain situations. For example, you have a virtual machine configured for a school setting or kiosk. The virtual machine has all the necessary software loaded, such as browsers, programming tools, computer-aided learning software, and so on. Students can use the virtual machine normally during the day. When the virtual machine is powered off at the end of the day, all changes made are discarded. When the virtual machine is powered on the following day, the non-persistent disk is exactly as it was at the beginning of the previous day. The disk contains no new malware or misconfigured software. Students can save their work to a USB thumb drive or network location as needed. |