2.2.2.13 DFS Volume State

The following table lists the valid states for a DFS root or a DFS link, and it relates to the State field of the DFS_INFO_2, DFS_INFO_4, DFS_INFO_5, DFS_INFO_6, and DFS_INFO_8 structures. The bitmask DFS_VOLUME_STATES (0x0000000F) MUST be used to extract the state of a DFS root or a DFS link from the State field.

Value

Meaning

DFS_VOLUME_STATE_OK

0x00000001

The DFS root or DFS link is initialized to this state. In this state the DFS root or link is available for referral request.

This state is persisted to the DFS metadata.

RESERVED

0x00000002

This value is reserved and MUST NOT be used.

DFS_VOLUME_STATE_OFFLINE

0x00000003

The DFS link is offline, and none of the DFS targets will be included in referral response. This flag is valid only for a DFS link and cannot be set on a DFS root.

This state is persisted to the DFS metadata.

DFS_VOLUME_STATE_ONLINE

0x00000004

The DFS link is online and available for referral request. This flag is valid only for a DFS link and cannot be set on a DFS root.

This state is persisted to the DFS metadata.