3.2.3 Disconnecting from a Shared Virtual SCSI Disk
Goal
To close the connection to the shared virtual SCSI disk.
Context of use
The user no longer needs access to the contents of the shared virtual SCSI disk.
Actors
Application: The application is the primary actor that triggers this use case.
RSVD Client: The RSVD client is a supporting actor that both implements the client role and consumes the services that are offered by the RSVD server.
RSVD Server: The RSVD server is a supporting actor that implements the server role and services the requests made by the RSVD client.
File Client: The file client is a supporting actor that implements client-side protocol components and consumes the file services that are offered by the file server.
File Server: The file server is a supporting actor and implements server-side protocol components and the file services that are consumed by the file client.
Preconditions
The application has a file handle identifying the shared virtual SCSI disk.
Main success scenario
Trigger: The application receives input from the user indicating that the connection to the shared virtual SCSI disk can be closed.
The application uses the interface described in [MS-RSVD] section 3.1.4.3 to close the open on the shared virtual SCSI disk using the file client.
The file client closes the open as described in [MS-SMB2] section 3.2.4.5.
The file server processes the close, as described in [MS-SMB2] section 3.3.4.17, and causes the RSVD server to close the open as described in [MS-RSVD] section 3.2.5.2.
Optionally, the file client can disconnect from the share.
Postcondition
The open to the shared virtual SCSI disk is now closed.
Variations
After the file handle is closed, the file client can optionally log off from the share.