2.2.3.18 CLUS_CSV_VOLUME_INFO

 The CLUS_CSV_VOLUME_INFO structure represents information about a cluster shared volume.

CLUS_CSV_VOLUME_INFO is a custom-marshaled 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

VolumeOffset

...

PartitionNumber

FaultState

BackupState

szVolumeFriendlyName (520 bytes)

...

...

szVolumeName (100 bytes)

...

...

VolumeOffset (8 bytes):  A 64-bit unsigned integer that indicates the offset of the volume.

PartitionNumber (4 bytes):  A 32-bit unsigned integer that indicates the partition number of the volume.

FaultState (4 bytes): A 32-bit integer that indicates the existence of faults for this volume, or that the volume is in volume maintenance mode, backup mode, or redirected mode. The block redirected mode of the volume is not reflected in this field. Possible values are as follows.

Value

Meaning

VolumeStateNoFaults

0x00000000

Indicates that the volume is accessible on all nodes. None of these modes are enabled: volume maintenance mode, backup mode, or redirected mode.

VolumeStateRedirected

0x00000001

Indicates that volume maintenance mode is not enabled and that the volume is either in redirected mode, in backup mode, or in both redirected and backup modes.

VolumeStateNoAccess

0x00000002

Indicates that the volume is not accessible to applications irrespective of whether the volume maintenance, redirected, or backup modes are enabled.

VolumeStateInMaintenance

0x00000004

Indicates that the volume is in volume maintenance mode irrespective of whether redirected or backup modes are enabled.

BackupState (4 bytes): A 32-bit integer that indicates the current backup mode of the volume, as specified in Cluster Node Volume Accessibility (section 3.1.1.4). Possible values are as follows.

Value

Meaning

VolumeBackupNone

0x00000000

Indicates that the volume is not in backup mode.

VolumeBackupInProgress

0x00000001

Indicates that the volume is in backup mode.

szVolumeFriendlyName (520 bytes):  A fixed-length buffer 520 bytes long that contains a null-terminated Unicode string that indicates the friendly name of the volume.

szVolumeName (100 bytes): A fixed-length buffer 100 bytes long that contains a null-terminated Unicode string that indicates the name of the volume in the volume GUID format. For example:

 \\?\Volume{00000000-0000-0000-0000-000000000000}\