跳转到主内容

可以检查哪些日志以查看Cloud Sync 传输的文件/目录?

Views:
49
Visibility:
Public
Votes:
0
Category:
cloud-sync<a>2009-358595</a>
Specialty:
cloud
Last Updated:

适用场景

Cloud Sync

问题解答

下载数据库记录、并检查"relationships.log"文件、其中包含所有文件/目录详细信息、这些详细信息由Cloud Sync 数据存储器成功或失败传输。

注意:从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.