Table of ContentsView in Frames

Format of SnapMirror log files

Understanding the format of SnapMirror log files can help you better handle issues related to SnapMirror transfers.

The log file is in the following format:type timestamp source_system:source_path dest_system:dest_path event_info

type can be one of the following: src, dst, log, cmd. type specifies whether the record is for the source side (src) or destination side (dst) of the transfer. Certain events apply to only one side. The type log indicates a record about the logging system itself, for example, Start_Logging and End_Logging. The type cmd indicates a record of user commands, for example, Release_command and Resync_command.

timestamp is expressed in ctime format, for example:Fri Jul 27 20:41:09 GMT.

event_info includes the following event names: Request ( IP address | transfer type ) Start Restart (@ num KB) End (num KB done) Abort (error_msg) Defer (reason) Rollback_start Rollback_end Rollback_failed Start_Logging End_Logging Wait_tape New_tape Snapmirror_on Snapmirror_off Quiesce_start Quiesce_end Quiesce_failed Resume_command Break_command Release_command Abort_command Resync_command Migrate_command

The Request event on the source side includes the IP address of the system that made the transfer request; the Request event on the destination side includes the type of transfer. At the end of each successful transfer, the End event also reports the total size of the transfer in KB. Error messages are included with the Abort and Defer events.

Example

The following is an example of a log file from the source side:
log Fri Jul 27 20:00:01 GMT - - Start_Logging
cmd Fri Jul 27 20:00:20 GMT - - Snapmirror_on
src Fri Jul 27 20:41:09 GMT system1:vol1 system2:vol1 Request (10.56.17.133)
src Fri Jul 27 20:41:32 GMT system1:vol1 system2:vol1 Abort (Destination not allowed)
src Fri Jul 27 20:45:31 GMT system1:vol0 system1:vol1 Request (10.56.17.132)
src Fri Jul 27 20:45:35 GMT system1:vol0 system1:vol1 Start
src Fri Jul 27 20:51:40 GMT system1:vol0 system1:vol1 End (26200 KB)
src Fri Jul 27 22:41:09 GMT system1:/vol/vol1/qtA system2:/vol/vol1/qtB Request (10.56.17.133)
src Fri Jul 27 22:41:12 GMT system1:/vol/vol1/qtA system2:/vol/vol1/qtB Start
src Fri Jul 27 22:41:13 GMT system1:/vol/vol1/qtA system2:/vol/vol1/qtB Abort (Non-unicode directory found in source qtree.)
src Fri Jul 27 22:45:53 GMT system1:/vol/vol1/qtb system2:/vol/vol1/qsmb Request (10.56.17.133)
src Fri Jul 27 22:45:56 GMT system1:/vol/vol1/qtb system2:/vol/vol1/qsmb Start
src Fri Jul 27 22:45:59 GMT system1:/vol/vol1/qtb system2:/vol/vol1/qsmb End (3800 KB)
cmd Fri Jul 27 22:50:29 GMT system1:/vol/vol1/qtb system2:/vol/vol1/qsmb Release_command

Example

The following is an example of a log file from the destination side:
dst Fri Jul 27 22:50:18 GMT system1:vol0 system1:vol1 Request (Initialization)
dst Fri Jul 27 22:50:20 GMT system1:vol0 system1:vol1 Abort (Destination is not restricted)
dst Fri Jul 27 22:57:17 GMT system1:/vol/vol1/qtA system2:/vol/vol1/qtB Request (Initialize)
dst Fri Jul 27 22:57:24 GMT system1:/vol/vol1/qtA system2:/vol/vol1/qtB Start
dst Fri Jul 27 22:57:36 GMT system1:/vol/vol1/qtA system2:/vol/vol1/qtB End (55670 KB)
dst Fri Jul 27 23:10:03 GMT system1:/vol/vol1/qtA system2:/vol/vol1/qtB Request (Scheduled)
dst Fri Jul 27 23:10:07 GMT system1:/vol/vol1/qtA system2:/vol/vol1/qtB Start
dst Fri Jul 27 23:10:18 GMT system1:/vol/vol1/qtA system2:/vol/vol1/qtB End (12900 KB)
cmd Sat Jul 28 00:05:29 GMT - system2:/vol/vol1/qtB Quiesce_start
cmd Sat Jul 28 00:05:29 GMT - system2:/vol/vol1/qtB Quiesce_end
cmd Sat Jul 28 00:05:40 GMT - system2:/vol/vol1/qtB Break_command
cmd Sat Jul 28 00:41:05 GMT system1:/vol/vol1/qtA system2:/vol/vol1/qtB Resync_command
log Sat Jul 28 00:41:10 GMT - - End_Logging

Example

The following is an example of a log file from a retrieve (from tape) request:
dst Fri Jun 22 03:07:34 GMT filer_1:rst0l filer_1:bigtwo Request (retrieve)
dst Fri Jun 22 03:07:34 GMT filer_1:rst0l filer_1:bigtwo Start
dst Fri Jun 22 05:03:45 GMT filer_1:rst0l filer_1:bigtwo Wait_tape
dst Fri Jun 22 15:16:44 GMT filer_1:rst0l filer_1:bigtwo New_tape
dst Fri Jun 22 17:13:24 GMT filer_1:rst0l filer_1:bigtwo Wait_tape
dst Fri Jun 22 17:56:43 GMT filer_1:rst0l filer_1:bigtwo New_tape
dst Fri Jun 22 18:10:37 GMT filer_1:rst0l filer_1:bigtwo End (98602256 KB)