Opens the set of disks for mounting on a Windows virtual machine. All the disks for a dynamic volume or Logical Disk Manager (LDM) must be opened together.
VixError VixMntapi_OpenDiskSet(VixDiskLibHandle diskHandles[], int numberOfDisks, uint32 openMode, VixDiskSetHandle *diskSet);
The VixDiskLibHandle type, defined in vixDiskLib.h, is the same as for the diskHandle parameter in the VixDiskLib_Open() function, but here it is an array instead of a single value.
■
| |
■
| |
■
| |
■
|
If you want to mount disks on a Windows system, first call VixDiskLib_Open() for every disk, then use the returned disk handle array to call VixMntapi_OpenDiskSet(), which returns a disk set handle.
If you want to mount disks on a Linux system, call the function VixMntapi_OpenDisks(), which opens and creates the disk set handle, all in one function.