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.

•diskId is the <strong>VDS</strong>_OBJECT_ID of the disk object that was added.•ullOffset is the byte offset at which the partition starts on the disk.Finally, for each volume on the disk, for each callback object that is registered in the list of callbackobjects, the server MUST call the callback object's IVdsAdviseSink::OnNotify method with a<strong>VDS</strong>_NOTIFICATION structure that has the following attributes:•objectType member is <strong>VDS</strong>_NTT_VOLUME.•Volume member is a <strong>VDS</strong>_VOLUME_NOTIFICATION that has the following attributes:•ulEvent is <strong>VDS</strong>_NF_VOLUME_ARRIVE.•volumeId is the <strong>VDS</strong>_OBJECT_ID of the volume object.•plexId SHOULD be GUID_NULL, but it is not relevant when ulEvent is<strong>VDS</strong>_NF_VOLUME_ARRIVE.•ulPercentCompleted needs to be in the range from 0-100 and is implementation-specific;however, it is not relevant when ulEvent is <strong>VDS</strong>_NF_VOLUME_ARRIVE.Dynamic <strong>Disk</strong>: If the disk is a dynamic disk, the server MUST create a corresponding disk object andMUST assign it a unique <strong>VDS</strong>_OBJECT_ID. The server MUST set the disk object's pack pointer tothe pack object that corresponds to the pack that the disk belongs to.Note that for dynamic disks, pack object creation occurs separately from disk object creation. Thisbehavior is different from basic disks, where pack objects are created when the disk object iscreated, because on basic providers, packs can have only one disk. For information on pack objectcreation for dynamic disk packs, see section 3.4.5.1.1.The server MUST add the disk object to the list of storage management objects. Then, for eachcallback object that is registered in the list of callback objects, the server MUST call the callbackobject's IVdsAdviseSink::OnNotify method with a <strong>VDS</strong>_NOTIFICATION structure that has thefollowing attributes:•objectType member is <strong>VDS</strong>_NTT_DISK.•<strong>Disk</strong> member is a <strong>VDS</strong>_DISK_NOTIFICATION that has the following attributes:•ulEvent is <strong>VDS</strong>_NF_DISK_ARRIVE.•diskId is the <strong>VDS</strong>_OBJECT_ID of the disk object that was added.Unallocated <strong>Disk</strong>: If the disk is an unallocated disk, the server MUST create a corresponding diskobject and MUST assign it a unique <strong>VDS</strong>_OBJECT_ID. The server MUST add the disk object to thelist of storage management objects. Then, for each callback object that is registered in the list ofcallback objects, the server MUST call the callback object's IVdsAdviseSink::OnNotify methodwith a <strong>VDS</strong>_NOTIFICATION structure that has the following attributes:•objectType member is <strong>VDS</strong>_NTT_DISK.•<strong>Disk</strong> member is a <strong>VDS</strong>_DISK_NOTIFICATION that has the following attributes:•ulEvent is <strong>VDS</strong>_NF_DISK_ARRIVE.•diskId is the <strong>VDS</strong>_OBJECT_ID of the disk object that was added.[<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, 2011163 / 360

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

Saved successfully!

Ooh no, something went wrong!