3.1 Example 1: Make a Disk Online
This example demonstrates making the disk online as described in section 2.5.1.3
Prerequisites
The Storage Services protocols meet all the preconditions that are described in section 2.4.
The disk is connected to the storage server.
The Disk Management Remote Protocol, as described in [MS-DMRP], is enabled on both the client and server.
The communication channel between the Admin Client and the Disk Management service of the Storage Service system has been established, as described in [MS-DMRP] section 2.1.
Initial System State
The disk that is connected to the server is in an offline state.
Final System State
The disk that is in an offline state is made online.
Sequence of Events

Figure 8: Example of making an offline disk into an online disk
The following steps describe this sequence:
The Admin Client contacts the Disk Management service by using the IVolumeClient::ReAttachDisk() method, as described in [MS-DMRP] section 3.2.4.4.1.41, to convert an offline disk to an online disk.
The Disk Management service converts the offline disk to an online disk, by storing configuration information in an implementation-specific manner. It responds to the Admin Client and returns zero on success.