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.

2.2.1.3.21 <strong>VDS</strong>_INPUT_DISKThe <strong>VDS</strong>_INPUT_DISK structure provides information about a disk for volume creation andmodification.typedef struct _<strong>VDS</strong>_INPUT_DISK {<strong>VDS</strong>_OBJECT_ID diskId;ULONGLONG ullSize;<strong>VDS</strong>_OBJECT_ID plexId;unsigned long memberIdx;} <strong>VDS</strong>_INPUT_DISK;diskId: The <strong>VDS</strong> object ID of the disk object.ullSize: The size of the disk to use, in bytes.plexId: When extending a volume, the <strong>VDS</strong> object ID of the plex object to which the disk will beadded. A volume can only be extended by extending all members of all plexes in the sameoperation. This member is used when extending any volume and ignored when creating avolume or repairing a RAID-5 volume.memberIdx: The zero-based member index of the disk to which the extent belongs. Eitherspecify a memberIdx for all disks or specify it for none. <strong>VDS</strong> uses disks with the samememberIdx in the order they appear in the array. For example, the first disk in the array isalways used first, even if it does not have the lowest index. This member is ignored whenrepairing a RAID-5 volume.2.2.1.3.22 CREATE_PARTITION_PARAMETERSThe CREATE_PARTITION_PARAMETERS structure provides information about partitionproperties.typedef struct _CREATE_PARTITION_PARAMETERS {<strong>VDS</strong>_PARTITION_STYLE style;[switch_is(style)] union {[case(<strong>VDS</strong>_PST_MBR)]struct {byte partitionType;BOOLEAN bootIndicator;} MbrPartInfo;[case(<strong>VDS</strong>_PST_GPT)]struct {GUID partitionType;GUID partitionId;ULONGLONG attributes;WCHAR name[24];} GptPartInfo;[default] ;};} CREATE_PARTITION_PARAMETERS;style: A value from the <strong>VDS</strong>_PARTITION_STYLE enumeration that describes the disk partitionformat.[<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, 201155 / 360

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

Saved successfully!

Ooh no, something went wrong!