13.07.2015 Views

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

pwszAdaptorName: The null-terminated Unicode name that the operating system assigns tothe adapter to which the disk is attached. This property MAY be NULL. If present, a client canuse this property to display the adapter name of the disk.pwszDevicePath: The null-terminated Unicode device path that the operating system uses toidentify the device for the disk. This property MAY be NULL. If present, a client can use thisproperty to display the device path of the disk.2.2.2.10 IVds<strong>Disk</strong>3 Data TypesThis section lists data types that are used exclusively by the IVds<strong>Disk</strong>3 methods.2.2.2.10.1 Enumerations2.2.2.10.1.1 <strong>VDS</strong>_DISK_OFFLINE_REASONThe <strong>VDS</strong>_DISK_OFFLINE_REASON enumeration defines the reason for the disk to be kept offline.typedef enum _<strong>VDS</strong>_DISK_OFFLINE_REASON{<strong>VDS</strong><strong>Disk</strong>OfflineReasonNone = 0,<strong>VDS</strong><strong>Disk</strong>OfflineReasonPolicy = 1,<strong>VDS</strong><strong>Disk</strong>OfflineReasonRedundantPath = 2,<strong>VDS</strong><strong>Disk</strong>OfflineReasonSnapshot = 3,<strong>VDS</strong><strong>Disk</strong>OfflineReasonCollision = 4} <strong>VDS</strong>_DISK_OFFLINE_REASON;<strong>VDS</strong><strong>Disk</strong>OfflineReasonNone: The reason is unknown.<strong>VDS</strong><strong>Disk</strong>OfflineReasonPolicy: The disk is offline because of the SAN policy.<strong>VDS</strong><strong>Disk</strong>OfflineReasonRedundantPath: The disk is offline because it was determined that thedisk is a redundant path to another disk that is online.<strong>VDS</strong><strong>Disk</strong>OfflineReasonSnapshot: The disk is offline because it is a snapshot disk.<strong>VDS</strong><strong>Disk</strong>OfflineReasonCollision: The disk is offline because its disk signature is the same asthe disk signature of another disk that is online.2.2.2.10.2 Structures2.2.2.10.2.1 <strong>VDS</strong>_DISK_PROP2The <strong>VDS</strong>_DISK_PROP2 structure provides the properties of a disk.typedef struct _<strong>VDS</strong>_DISK_PROP2 {<strong>VDS</strong>_OBJECT_ID id;<strong>VDS</strong>_DISK_STATUS status;<strong>VDS</strong>_DISK_OFFLINE_REASON OfflineReason;<strong>VDS</strong>_LUN_RESERVE_MODE ReserveMode;<strong>VDS</strong>_HEALTH health;DWORD dwDeviceType;DWORD dwMediaType;ULONGLONG ullSize;unsigned long ulBytesPerSector;[<strong>MS</strong>-<strong>VDS</strong>] — v20110610<strong>Virtual</strong> <strong>Disk</strong> <strong>Service</strong> (<strong>VDS</strong>) <strong>Protocol</strong> <strong>Specification</strong>Copyright © 2011 Microsoft Corporation.Release: Friday, June 10, 201174 / 360

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

Saved successfully!

Ooh no, something went wrong!