跳转到主内容

可以检查哪些日志以查看通过云同步传输的文件/目录?

Views:
183
Visibility:
Public
Votes:
0
Category:
cloud-sync
Specialty:
netapp_console
Last Updated:

适用于

Cloud Sync

回答

下载 databroker 日志,并检查 "relationships.log" 文件,该文件将包含 Cloud Sync databroker 成功或失败传输的所有文件/directroy 详细信息。

注意:从 relationship.log 手动提取所有文件/目录详细信息并不容易,因为可能涉及多个数据代理,而且日志文件不容易提取和读取。

追加信息

以下是读取关系日志的示例:
 
[2022-10-10T21:16:18.151] [INFO] [TRANSFERRER] [1] [16603] [62c534af57663c84375dbc20] STARTING copy from: {"local":{"path":"mnt/62c534af57663c84375dbc20/d7b2f827-00e1-4a4f-9641-4a4cbac16eee_src"}} to: {"local":{"path":"mnt/62c534af57663c84375dbc20/d7b2f827-00e1-4a4f-9641-4a4cbac16eee_trg"}} entry: {"path":"test","type":"DIRECTORY","size":0,"mode":16822,"uid":0,"gid":0,"mtimeSec":1660029145,"creationTimeSec":1660029132,"cifsAcl":"ACL:Everyone@WORLD AUTHORITY:ALLOWED/I/FULL,ACL:Everyone@WORLD AUTHORITY:ALLOWED/OI|CI|IO|I/","tempEntryName":".test_i0zhzAN_netapp"}
 
[2022-10-10T21:16:18.179] [INFO] [TRANSFERRER] [1] [16603] [62c534af57663c84375dbc20] COMPLETED copy from: {"local":{"path":"mnt/62c534af57663c84375dbc20/d7b2f827-001-4a4f-9641-4a4cbac16eee_src"}} to: {"local":{"path":"mnt/62c534af57663c84375dbc20/d7b2f827-00e1-4a4f-9641-4a4cbac16eee_trg"}} entry: {"path":"test","type":"DIRECTORY","size":0,"mode":16822,"uid":0,"gid":0,"mtimeSec":1660029145,"creationTimeSec":1660029132,"cifsAcl":"ACL:Everyone@WORLD AUTHORITY:ALLOWED/I/FULL,ACL:Everyone@WORLD AUTHORITY:ALLOWED/OI|CI|IO|I/","tempEntryName":".test_i0zhzAN_netapp"} took: 27
 
注意:
  • 62c534af57663c84375dbc20 -> 关系 ID
  • path -> 是复制的文件/目录的路径。
  • STARTING -> 表示此文件/目录的复制已启动
  • COMPLETED -> 表示此文件/目录的复制已成功完成
  • took -> 表示将文件复制到目标所花费的时间 (以毫秒为单位)
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.