PurposeCommand or Action
/CPU0 disk1:disk0:
commit
Step 4
Verifies that the primary device is now the secondary device
and vice versa. In the output, if disk0: was the primary disk that
show mirror [location node-id]
Example:
RP/0/RSP0/CPU0:router# show mirror
Step 5
you want to replace, it should now be listed as the secondary
device.
Temporarily pauses disk mirroring.
mirror pause [location node-id]
Example:
RP/0/RSP0/CPU0:router# mirror pause
Step 6
Verifies that mirroring has paused. In the output, the Current
Mirroring State should be paused.
show mirror
Example:
RP/0/RSP0/CPU0:router# show mirror
Step 7
Unmounts the secondary device which is the device that you
want to replace. Initially, this was the primary device.
unmount secondary-device [location node-id]
Example:
RP/0/RSP0/CPU0:router# unmount disk1:
Step 8
Remove the device and insert a new device.
Step 9
Verifies that the new disk is partitioned. You should see that
the new device is mounted. If the new device is not partitioned,
format the device as indicated in the next step.
show media [location node-id]
Example:
RP/0/RSP0/CPU0:router# show media
Step 10
(Optional)
Formats the device. You only need to perform this step if the
new device is not partitioned.
format secondary-device partition [location
node-id]
Example:
RP/0/RSP0/CPU0:router# format disk1:
partition
Step 11
Resumes mirroring.
mirror resume [location node-id]
Example:
RP/0/RSP0/CPU0:router# mirror resume
Step 12
Verifies that mirroring has restarted. In the output, the Current
Mirroring State should be Syncing.
show mirror [location node-id]
Example:
RP/0/RSP0/CPU0:router# show mirror
Step 13
It can take 15 to 30 minutes for the mirroring process to
complete. The exact time depends on the number of packages
or files on the boot device. When the mirroring is complete,
the Current Mirroring State should be Redundant.
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
81
Configuring Disk Mirroring
Replacing the Primary Mirroring Device