Setup guide
5-11
Cisco 6400 Software Setup Guide
OL-1183-04
Chapter5 Redundancy and SONET APS Configuration
NSP Redundancy
Verifying Disk Synchronization
To verify disk synchronization, complete one or both of the following steps:
Step 1 Use the show redundancy sync-status EXEC command to check that the disk content is synchronized:
Switch# show redundancy sync-status
Disk Mirror is enabled in configuration:proper sync
(Mirror threshold is 0 MB:smaller files will be copied blindly)
Peer Secondary NSP is present
disk1 or sec-disk1 is wrong or missing
mir-disk0(disk0/sec-disk0):in sync.
mir-disk1(disk1/sec-disk1):out of sync.
Step 2 Use the dir command to verify matching file names and file sizes on the mirrored PCMCIA disks.
Switch# dir disk0:
Switch# dir sec-disk0:
Switch# dir disk1:
Switch# dir sec-disk1:
Performing Mirrored IFS Operations
When disk mirroring is enabled and disk synchronization is complete, avoid performing IFS operations
(such as copy, rename, and delete) using the labels disk0:, disk1:, sec-disk0:, or sec-disk1:. Modifying
a file using these labels can break disk synchronization without affecting the output of the
showredundancy sync-status EXEC command. In other words, the showredundancy sync-status
command output can declare disks to be “in sync,” even after disk synchronization is broken using the
improper labels.
Because the dir command does not modify any files, you can use the dir command with the disk0:,
disk1:, sec-disk0:, or sec-disk1: labels at any time to check disk contents, as shown in the previous
sections.
Cisco recommends that you perform mirrored IFS operations by using the labels mir-disk0: and
mir-disk1:. These new labels target the PCMCIA disks in the specified slot of both NSPs, and ensure
that the files affected by the IFS operations are still mirrored.
Note If you want to save a file on only one PCMCIA disk and not have that file mirrored, use the
[sec-]disk0:/non-mirror or [sec-]disk1:/non-mirror directory.
Examples
The following examples show mirrored IFS operations:
Switch# copy tftp://10.1.1.1/test-config mir-disk0:test-config
Switch# rename mir-disk0:test-config mir-disk0:test-config1
Switch# delete mir-disk0:test-config1
The following example shows an intentional nonmirrored IFS operation:
Switch# copy tftp://10.1.1.1/test-config2 sec-disk0:/non-mirror/test-config2