You can create a snapshot based on the current redo log. You can use this snapshot for data mining and object repair on the production server.
-
On the recovery server, make sure all snapshot file systems are unmounted before trying to release the snapshot.
rtumnt -C <Context ID>
-
Make sure no snapshots already exist on the recovery server.
scrt_ra -C <Context ID> -W
-
On the recovery server, enter the following command to create a snapshot based on the current redo log:
scrt_ra -C <Context ID> -X
You should see output similar to the following:
Making SNAP /dev/rsnc1lif_bk_1, 66.306 Making SNAP /dev/rsnc1lif_bk_2, 66.310 Making SNAP /dev/rsnc1lif_bk_3, 66.314 Making SNAP /dev/rsnc1dbmf_bk_1, 66.318 Making SNAP /dev/rsntestlv, 66.450 Making SNAP /dev/rsnrtlog, 66.454 Making SNAP /dev/rtestlv, 66.448 Making SNAP /dev/rrtlog, 66.452 Snap Devs (read only, raw) Minor rj wj Snap level Vdev level Vdevs (read/write, block) ------------------------------ ----- -- -- -------------- /dev/rsnc1lif_bk_1 304 ON -- 10 0 N/A /dev/rsnc1lif_bk_2 308 ON -- 10 0 N/A /dev/rsnc1lif_bk_3 312 ON -- 10 0 N/A /dev/rsnc1dbmf_bk_1 316 ON -- 10 0 N/A /dev/rsntestlv 448 ON ON 10 10 /dev/testlv /dev/rsnrtlog 452 ON ON 10 10 /dev/rtlog
-
Mount the volumes on the recovery server. Enter the following command:
rtmnt -C <Context ID>
You should see output similar to the following:
Determining Filesystems to mount...
fsck -fp -y /dev/rtestlv
log redo processing for /dev/rtestlv
syncpt record at 7028
end of log 7028
syncpt record at 7028
syncpt address 7028
number of log records = 1
number of do blocks = 0
number of nodo blocks = 0
/dev/rtestlv (/test): ** Unmounted cleanly - Check suppressed
Mounting /test...