Replacing the Primary Mirroring Device
In the event that your primary boot disk is defective and you need to replace it while disk mirroring is enabled,
perform this task.
SUMMARY STEPS
1.
show mirror [location node-id]
2.
configure
3.
mirror location node-id Primary-device Secondary-device
4.
commit
5.
show mirror [location node-id]
6.
mirror pause [location node-id]
7.
show mirror
8.
unmount secondary-device [location node-id]
9.
Remove the device and insert a new device.
10.
show media [location node-id]
11.
(Optional) format secondary-device partition [location node-id]
12.
mirror resume [location node-id]
13.
show mirror [location node-id]
14.
configure
15.
mirror location node-id Primary-device Secondary-device
16.
show mirror [location node-id]
DETAILED STEPS
PurposeCommand or Action
Verifies that mirroring is in the redundant state. In the output,
the Current Mirroring State should be redundant. If mirroring
show mirror [location node-id]
Example:
RP/0/RSP0/CPU0:router# show mirror
Step 1
is not in the redundant state, you cannot proceed with the
procedure. You must wait until mirroring is in the redundant
state.
configure
Step 2
Swaps the device roles such that the primary mirroring device
now becomes the secondary device and the secondary mirroring
device becomes the primary device.
mirror location node-id Primary-device
Secondary-device
Example:
RP/0/RSP0/CPU0:router(config)# mirror
Step 3
location 0/
RSP0
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
80
Configuring Disk Mirroring
Replacing the Primary Mirroring Device