2.2.3.38 SR_RESOURCE_TYPE_QUERY_ELIGIBLE_TARGET_DATADISKS

The SR_RESOURCE_TYPE_QUERY_ELIGIBLE_TARGET_DATADISKS structure SHOULD<35> be used to query eligible target disks, given a source disk, for storage replication. It is a custom-marshalled structure that has fields as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

SourceDataDiskGuid (16 bytes)

...

...

SkipConnectivityCheck

IncludeOfflineDisks

Reserved1

Reserved2

SourceDataDiskGuid (16 bytes): A GUID, as specified in [MS-DTYP] section 2.3.4.2, that contains the resource ID of the storage class resource that is the replication source.

SkipConnectivityCheck (1 byte): The client sets this field to 0x01 to request that the server not consider connectivity of disks to cluster nodes when preparing results. The client sets this field to 0x00 to request that the server return only disks that are not connected to any of the cluster nodes that are connected to the disk represented by SourceDataDiskGuid.

IncludeOfflineDisks (1 byte): The client sets this field to 0x01 to request that results include disks whose resource state is ClusterResourceOffline. Otherwise, the client sets this field to 0x00.

Reserved1 (1 byte): This field MUST be ignored.

Reserved2 (1 byte): This field MUST be ignored.