2.5.3.2 Mount and Dismount Media

Goal

Mount and dismount media.

Context of Use

The administrator is setting up a storage server, and in this process, the administrator has to mount and dismount media.

Actors

  • Admin Tool: A Microsoft Management Console (MMC) component, which is used by the administrator to configure the storage on the server.

  • Admin Client: The primary actor. The Admin Client is code that is running on the administrator's computer. The Admin Client implements client-side protocol components and consumes the storage services that are offered by the storage server. The Admin Client's interest is to correctly interpret, execute, and display the results of the commands that are issued by administrator.

  • RSMP service: The RSMP service is the server-side implementation of the protocols in the Removable Storage Manager (RSM) Remote Protocol, as described in [MS-RSMP].

Stakeholders

  • Administrator: The administrator is the person who administers the storage. The administrator is interested in organizing the storage and setting access rights. The administrator is external to the Storage Services protocols and interacts with the Storage Services protocols through the Admin Client.

Preconditions

The administrator has configured the RSMP service on the storage server and has the appropriate access privileges to configure the removable media.

Main success scenario

  1. Trigger: The administrator requests to mount a media pool by using the Admin Tool.

  2. The Admin Tool requests that the Admin Client establish a communication channel to the RSMP service of the Storage Service system.

  3. The Admin Client contacts the RSMP service to mount a media pool by using the INtmsMediaServices1::MountNtmsMedia method, as described in [MS-RSMP] section 3.2.5.2.2.1.

  4. The RSMP service mounts the requested media pool.

  5. The administrator requests to dismount media pool by using the Admin Tool.

  6. The Admin Client contacts the RSMP service to dismount a media pool by using the INtmsMediaServices1::DismountNtmsMedia method, as described in [MS-RSMP] section 3.2.5.2.2.2.

  7. The RSMP service dismounts the requested media pool.

Postcondition

The required mounting and the dismounting of media have finished successfully.

Extensions

If the communication channel for the Removable Storage Manager (RSM) Remote Protocol cannot be established, or it becomes disconnected, the Admin Client attempts to establish a connection multiple times until it fails. Whether the media is mounted or not depends on when the connection failed.