How to verify that the data on the primary and secondary data volumes are the same
| Article:TECH8459 | | | Created: 2000-01-19 | | | Updated: 2002-01-01 | | | Article URL http://www.symantec.com/docs/TECH8459 |
Problem
How to verify that the data on the primary and secondary data volumes are the same
Solution
If there is an interruption in replication or a problem
with one or more of the rlink(s) that have been corrected, it may be
advantageous to verify that the data on the primary and secondary are the
same.
This is how to verify that the data on the primary and secondary are the same:
1. Stop all the applications (if any) involved in replication on the primary host
2. Unmount all file systems on the data volumes in the primary host:
This is how to verify that the data on the primary and secondary are the same:
1. Stop all the applications (if any) involved in replication on the primary host
2. Unmount all file systems on the data volumes in the primary host:
#
umount /<mountpoint>
3. Verify all the rlinks are up to date.:
# vxrlink <-g diskgroup> status <rlink>
4. Start the Replicated Volume Group (RVG) on the secondary host:
#
vxrvg <-g diskgroup> start <rvg name>
5. For each data volume, run the following command on both the primary and secondary hosts, and compare the checksum:
# dd
if=/dev/vx/rdsk/<diskgroup>/<datavol> bs=64k |
cksum
6. Stop the secondary RVG:
#
vxrvg <-g diskgroup> stop <rvg name>
7. Mount all file systems on the primary hosts that were unmounted in step 2:
#
mount /<mountpoint>
8. Start the applications on the primary host that were stopped in step 1.
|
|
Legacy ID
231804
Article URL http://www.symantec.com/docs/TECH8459
Terms of use for this information are found in Legal Notices









Thank you.