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.

•objectType member is the value <strong>VDS</strong>_NTT_PACK.•Pack member is a <strong>VDS</strong>_PACK_NOTIFICATION (section 2.2.1.3.2) structure that has thefollowing attributes:•ulEvent is the value <strong>VDS</strong>_NF_PACK_MODIFY.•packId is the <strong>VDS</strong>_OBJECT_ID (section 2.2.1.1.3) value of this pack object.•If the method call results in RAID-5 or mirrored volumes being regenerated or resynchronized,the server MUST send progress notifications to the client as follows.For each callback object that is registered in the list of callback objects, call the callback object'sIVdsAdviseSink::OnNotify method by using a <strong>VDS</strong>_NOTIFICATION structure that has thefollowing attributes:•objectType member is <strong>VDS</strong>_NTT_VOLUME.•Volume member is a <strong>VDS</strong>_VOLUME_NOTIFICATION (section 2.2.1.3.4) structure thathas the following attributes:•ulEvent is the value <strong>VDS</strong>_NF_VOLUME_REBUILDING_PROGRESS.•volumeId is the <strong>VDS</strong>_OBJECT_ID value of this volume object being regenerated orresynchronized.•plexId is the <strong>VDS</strong>_OBJECT_ID value of the plex object being regenerated orresynchronized.•ulPercentCompleted is a number between 0 and 100 indicating regeneration orresynchronization progress.The server MUST update the percentage completed value periodically during the precedingsequence. How often the percentage completed is updated, and at what point in the sequence, isimplementation-specific.3.4.5.2.19 IVdsPack2 Methods3.4.5.2.19.1 IVdsPack2::CreateVolume2 (Opnum 3)The CreateVolume2 method creates a volume in a disk pack with an optional alignment parameter.HRESULT CreateVolume2([in] <strong>VDS</strong>_VOLUME_TYPE type,[in, size_is(lNumberOf<strong>Disk</strong>s)] <strong>VDS</strong>_INPUT_DISK* pInput<strong>Disk</strong>Array,[in] long lNumberOf<strong>Disk</strong>s,[in] unsigned long ulStripeSize,[in] unsigned long ulAlign,[out] IVdsAsync** ppAsync);type: A value from the <strong>VDS</strong>_VOLUME_TYPE enumeration that indicates the type of volume tocreate.pInput<strong>Disk</strong>Array: An array of <strong>VDS</strong>_INPUT_DISK structures that indicate the disks on which tocreate the volume.[<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, 2011204 / 360

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

Saved successfully!

Ooh no, something went wrong!