When a site disaster completely destroys the source file system, a newly created file system can be populated from the last known good Storage Checkpoint on the target system.
To recover from a Storage Checkpoint
Unmount the file system:
# umount target_mntpt
where target_mntpt is the mount point on the target system.
Promote the last good Storage Checkpoint as displayed by the vfradmin getjobckpt command:
# /opt/VRTS/bin/fsckpt_restore device_file checkpoint_name
For example:
# /opt/VRTS/bin/fsckpt_restore /dev/vx/dsk/replicatedg/target2 vxfsrepl_ckpt_877167997_12Sep11_14_59
Mount the file system:
# mount -t vxfs device_name target_mntpt
Rename the Storage Checkpoint name to "filesystem_root" or any other name:
# /opt/VRTS/bin/fsckptadm rename old_checkpoint_name new_checkpoint_name target_mntpt
For example:
# /opt/VRTS/bin/fsckptadm rename vxfsrepl_ckpt_877167997_12Sep11_14_59 filesystem_root /target2
For more information, see the fsckpt_restore (1M) and fsckptadm (1M) manual pages.
# vfradmin syncjob name mntpt
This command populates the new file system with the last good known image of the Storage Checkpoint.
If a disaster leaves the source file system intact and the target file system is not used during the disaster, the replication job can be started and it will continue replicating the changes to the target system. This is similar to a normal system restart.