3.2.4.4.3 QUERY_VOLUME

If this subrequest fails, and the VolumeState field in the VolumeInformation for the volume is currently set to Owned, it MUST be updated to NotOwned, and the EnterNotOwnedTime MUST be set to the current time.

If the subrequest succeeds, and the VolumeState in the VolumeInformation of the volume is not currently set to Owned, then:

  • The VolumeState field of the volume MUST be set to Owned.

  • The VolumeFileTable field for the volume MUST be cleared.

  • The EnterNotOwnedTime field MUST be cleared.

Additionally, if the subrequest succeeds and the seq field returned by the server does not match the VolumeSequenceNumber in the VolumeInformation for the volume, it is an indication that the server's FileTable is out of sync with the client's move notification records. The client MUST then synchronize with the server, as specified in section 3.2.4.2, for the TRK_S_OUT_OF_SYNC processing, which is also described in section 3.2.4.2.