When you map a virtual disk and its associated volume to a drive on the host system, you can connect to the virtual disk without opening a virtual machine.
After you map the virtual disk to a drive on the host system, you cannot power on any virtual machine that uses the disk until you disconnect the disk from the host system.
Note: You cannot map a virtual hard disk for a shared or remote virtual machine.
Important: If you mount a virtual disk that has a snapshot and then write to the disk, you can irreparably damage a snapshot or linked clone created from the virtual machine.
Prerequisites
- Power off all virtual machines that use the virtual disk.
- Verify that the virtual disk (.vmdk) files on the virtual disk are not compressed and do not have read-only permissions.
- Verify that the virtual disk is unencrypted. You cannot map or mount encrypted disks.
Procedure
- Mount the virtual disk to a drive on the host system.
Option |
Description |
Windows host |
Select . |
Linux host |
Select . |
- Map or mount the virtual disk.
Option |
Description |
Windows host |
In the Map or Disconnect Virtual Disks dialog box, click Map. |
Linux host |
In the Mount or Unmount Virtual Disks dialog box, click Mount Disk. |
- (Optional) You can also map a virtual disk from Windows Explorer.
- Open Explorer and browse to the .vmdk file you want to map.
- Right-click the .vmdk file and select Map Virtual Disk.
The menu also allows you to map the first volume of the
.vmdk file to a drive immediately. If you select that option, no further configurations are needed.
- Browse to a virtual disk (.vmdk) file, select it, and click Open.
- Select the volume to map or mount and select an unused drive letter on the host system.
- Click OK or Mount.
The drive appears on the host system. You can read from or write to files on the mapped virtual disk on the host system.
- (Optional) View the mapped or mounted drive.
Option |
Description |
Windows host |
Select . A list of mapped drives displays. |
Linux host |
Select . A list of mounted drives displays. |