You can specify the capacity of the new hard disk, where it is located, the running mode of the disk, the disk device type, and the write caching policy.

1

On the Hard Disk page, click Create a New Virtual Disk to customize it.

2

On the Properties page, enter the capacity of the new virtual disk in the Capacity text box.

You can specify the capacity in megabytes or gigabytes by selecting MB or GB from the drop-down menu.

Note

Set the maximum size of the disk to a value between 1MB and 2047GB. You can set the virtual disk size to 2047GB only when the block size of the file system is set to 8MB. For more information about block size and maximum file values, see Configuration Maximums for VMware vSphere 4.1.

3

To specify a different location for the new virtual disk, click Browse in the Location field.

The virtual disk is stored as a .vmdk file on the selected datastore.

4

To run the disk in independent mode, click Disk Mode, select Independent, and click the appropriate option.

Option

Action

Persistent

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

Nonpersistent

Changes to disks in nonpersistent mode are discarded when you power off or reset the virtual machine. Nonpersistent mode enables you to 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 power off or reset.

5

To specify the adapter type and a device node for the virtual disk, click Virtual Device Node.

a

In the Adapter drop-down menu, select the adapter type.

b

In the Device drop-down menu, select an available device node.

6

To change the write caching policies for the virtual disk, click Policies and select the appropriate option.

Option

Action

Optimize for safety

Saves all changes to the virtual disk before notifying the system.

Optimize for performance

Acknowledges changes to the virtual disk immediately, but saves them at a later time.

7

Click Next.

The virtual disk is now configured and added to the hardware of the virtual machine.