4.0

Table Of Contents
4 Set the new maximum size for the virtual disk.
5 Select Expand.
6 Click OK after the disk expansion process is complete.
What to do next
Use a disk management tool to increase the disk partition size to match the expanded virtual disk size.
Defragment a Virtual Hard Disk
Like physical disk drives, virtual hard disks can become fragmented. Defragmenting disks rearranges files,
programs, and unused space on the virtual hard disk so that programs run faster and files open more quickly.
Defragmenting does not reclaim unused space on a virtual hard disk.
Defragmenting disks can take considerable time.
Prerequisites
n
Verify that there is adequate free working space on the host system. For example, if the virtual hard disk
is contained in a single file, there must be free space equal to the size of the virtual disk file. Other virtual
hard disk configurations require less free space.
n
Verify that the virtual disk is not mapped or mounted. You cannot defragment a virtual disk while it is
mapped or mounted.
Procedure
1 Run a disk defragmentation utility in the guest operating system.
2 If disk space is not preallocated for the virtual hard disk, use the Player defragmentation tool to defragment
it.
a Power off the virtual machine.
b Select the virtual machine and select Virtual Machine > Virtual Machine Settings.
c On the Hardware tab, select Hard Disk.
d Select Utilities > Defragment.
e When the defragmentation process is finished, click OK.
3 Run a disk defragmentation utility on the host system.
Remove a Virtual Hard Disk from a Virtual Machine
Removing a virtual hard disk disconnects it from a virtual machine. It does not delete files from the host file
system.
After you remove a virtual hard disk from a virtual machine, you can map or mount the disk to the host system
and copy data from the guest operating system to the host without powering on the virtual machine or starting
Player. You can also add the disk to another virtual machine.
Procedure
1 Select the virtual machine and select Virtual Machine > Virtual Machine Settings.
2 On the Hardware tab, select the virtual hard disk and click Remove.
3 Click OK to save your changes.
Chapter 6 Configuring and Managing Devices
VMware, Inc. 81