Replacing a mirrored unit
A unit selected to replace the failed mirrored unit must satisfy all of the mirrored protection configuration rules and restrictions when it is paired with the remaining unit in the mirrored pair.
You can replace mirrored units by using the Replace Disk Unit option in either dedicated service tools (DST) or system service tools (SST). To do this, you need to have a spare storage unit that can be paired with the mirrored unit of the storage unit that is being replaced. The storage unit being replaced can have a status of active or suspended. However, one of the storage units in the pair must be suspended. The results of the replace operation is different for each status. Replacing a suspended storage unit causes that storage unit to go to a status of resuming after the replace operation. Replacing an active unit causes data in the auxiliary storage pool (ASP) to be lost, so you must first delete the data in ASP (using the DST Delete ASP Data option). The storage unit being replaced can also be missing or not missing. To replace a unit with a status of resuming, you must suspend it. If the status of unit 1 is unknown, replace operations are not allowed until the status of the mirrored units for unit 1 is known. The unit selected to replace another mirrored unit must satisfy all of the mirrored protection configuration rules and restrictions when it is paired with the remaining unit in the mirrored pair.
If a storage unit fails, and if the same storage unit that failed has been repaired, it is not necessary to replace it. The failed disk should have a status of suspended and can be resumed after the repair is complete.
If the storage unit that is being replaced is active, it can only be replaced at DST before the initial program load (IPL) to the IBM i licensed program. It should never be necessary to replace an active unit unless both units of the mirrored pair have failed. If this situation does occur, the service representative should first try to recover the data from the failed units using the Save Disk Unit Data option on the Work with Disk Unit Recovery display. When an active unit is replaced, the last good copy of the data has been lost. The data in the ASP that contains the unit being replaced must be deleted using the DST Delete ASP Data option before an active unit is allowed to be replaced.
Replacing unit 1 requires special handling. If the system ASP has mirrored protection, one of the units in the mirrored pair for unit 1 is selected as the IPL device. It is the only unit that is used until the system performs an IPL to the IBM i licensed program. Until then, it cannot be replaced or even suspended. However, its mirrored unit can be both suspended and replaced. After the IPL to the IBM i licensed program, the IPL device can be suspended and then replaced.
Replacing a unit might cause the level of protection for a mirrored pair to change. If a lower level of protection results from a replacement operation, it shows a warning display. At certain times, especially when missing units are involved in the replace operation, the system might not be able to accurately calculate the level of protection and the same warning display is shown.
To replace a disk unit by using SST, follow these steps: