If you run out of disk space, you can increase the size of the disk. You can change the virtual device node and the persistence mode for virtual disk configuration for a virtual machine.

Before you begin

Verify that you have the following privileges:

  • Virtual machine > Configuration > Modify device settings on the virtual machine.

  • Virtual machine > Configuration > Extend virtual disk on the virtual machine.

  • Datastore > Allocate space on the datastore.

Procedure

  1. Right-click a virtual machine in the inventory and select Edit Settings.
  2. On the Virtual Hardware tab, expand Hard disk to view the disk options.
  3. (Optional) : To change the size of the disk, type a new value in the Provisioned Size text box and select the units from the drop-down menu.
  4. (Optional) : To change the way that disks are affected by snapshots, select a disk mode option.

    Option

    Description

    Dependent

    Dependent disks are included in snapshots.

    Independent - Persistent

    Disks in persistent mode behave like conventional disks on your physical computer. All data written to a disk in persistent mode are written permanently to the disk.

    Independent - Nonpersistent

    Changes to disks in nonpersistent mode are discarded when you turn off or reset the virtual machine. With nonpersistent mode, you can restart the virtual machine with a virtual disk in the same state every time. Changes to the disk are written to and read from a redo log file that is deleted when you turn off or reset the virtual machine.

  5. Click OK.