2.2.3.40 SR_RESOURCE_TYPE_REPLICATED_DISK
The SR_RESOURCE_TYPE_REPLICATED_DISK structure SHOULD<37> represent one disk in an enumeration of the replicated disks in the cluster state. It is a custom-marshalled structure that contains the following fields.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type |
|||||||||||||||||||||||||||||||
ClusterDiskResourceGuid (16 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
ReplicationGroupId (16 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
ReplicationGroupName (520 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
Type (4 bytes): A 32-bit integer that MUST contain one of the following values, indicating the role this disk plays in storage replication:
-
Value
Meaning
SrReplicatedDiskTypeSource
0x00000001
Source disk
SrReplicatedDiskTypeLogSource
0x00000002
Source log disk
SrReplicatedDiskTypeDestination
0x00000003
Target disk
SrReplicatedDiskTypeLogDestination
0x00000004
Target log disk
ClusterDiskResourceGuid (16 bytes): A GUID, as specified in [MS-DTYP] section 2.3.4.2, that contains the resource ID of the storage class resource corresponding to this disk.
ReplicationGroupId (16 bytes): A GUID that contains the ID of the replication group.
ReplicationGroupName (520 bytes): A buffer of 16-bit Unicode characters representing the name of the replication group. This buffer MUST contain the replication group name as a null-terminated Unicode string. If the replication group name plus null termination is less than the size of the buffer, the string MUST be padded with additional null characters. Any such padding MUST be ignored.