18.08.2013 Views

Virtual Disk API Programming Guide - Documentation - VMware

Virtual Disk API Programming Guide - Documentation - VMware

Virtual Disk API Programming Guide - Documentation - VMware

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Restoring <strong>Virtual</strong> <strong>Disk</strong> Data 80<br />

Raw Device Mapping (RDM) <strong>Disk</strong>s 80<br />

Restore of Incremental Backup Data 80<br />

Restore Fails with Direct Connection to ESXi Host 81<br />

Tips and Best Practices 81<br />

Best Practices for SAN Transport 81<br />

Best Practices for HotAdd Transport 81<br />

Best Practices for NBDSSL Transport 82<br />

General Backup and Restore 82<br />

Backup and Restore of Thin‐Provisioned <strong>Disk</strong> 82<br />

<strong>Virtual</strong> Machine Configuration 83<br />

About Changed Block Tracking 83<br />

Windows and Linux Implementations 83<br />

The <strong>VMware</strong> VSS Implementation 83<br />

Working with Microsoft Shadow Copy 84<br />

Linux HotAdd and SCSI Controller ID 85<br />

A <strong>Virtual</strong> <strong>Disk</strong> Mount <strong>API</strong> 87<br />

The VixMntapi Library 87<br />

Types and Structures 87<br />

Operating System Information 87<br />

<strong>Disk</strong> Volume Information 88<br />

Function Calls 88<br />

VixMntapi_Init() 88<br />

VixMntapi_Exit() 88<br />

VixMntapi_Open<strong>Disk</strong>Set() 89<br />

VixMntapi_Open<strong>Disk</strong>s() 89<br />

VixMntapi_Get<strong>Disk</strong>SetInfo() 89<br />

VixMntapi_Free<strong>Disk</strong>SetInfo() 90<br />

VixMntapi_Close<strong>Disk</strong>Set() 90<br />

VixMntapi_GetVolumeHandles() 90<br />

VixMntapi_FreeVolumeHandles() 90<br />

VixMntapi_GetOsInfo() 90<br />

VixMntapi_FreeOsInfo() 91<br />

VixMntapi_MountVolume() 91<br />

VixMntapi_DismountVolume() 91<br />

VixMntapi_GetVolumeInfo() 91<br />

VixMntapi_FreeVolumeInfo() 91<br />

<strong>Programming</strong> with VixMntapi 92<br />

File System Support 92<br />

Read‐Only Mount on Linux 92<br />

<strong>VMware</strong> Product Platforms 92<br />

Sample VixMntapi Code 93<br />

Restrictions on <strong>Virtual</strong> <strong>Disk</strong> Mount 93<br />

B Errors Codes and Open Source 95<br />

Finding Error Code <strong>Documentation</strong> 95<br />

Association With VIX <strong>API</strong> Errors 95<br />

Interpreting Errors Codes 95<br />

Troubleshooting Dynamic Libraries 95<br />

Open Source Components 96<br />

Contents<br />

<strong>VMware</strong>, Inc. 7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!