如果源中存在前缀为"UNC"的文件或文件夹名称、则XCP同步任务将停止
适用场景
XCP SMB
问题描述
- XCP同步任务长时间停滞、没有任何进度
- XCP日志显示XCP.sloger.错误。
- 错误:
2023-10-12 09:19:03,932 - ERROR - xcp.synchronizer - failed to copy "ntap\abc\test\test": (1, 'ReadFile', 'Incorrect function.')
2023-10-12 09:19:06,696 - ERROR - xcp.synchronizer - failed to remove from target "ntap\abc\test\test": [Errno 13] The process cannot access the file because it is being used by another process:
2023-10-12 09:19:50,352 - WARNING - xcp.fs - error setting timestamps on "ntap\abc\test\test": errno (code: 32) The process cannot access the file because it is being used by another process.
- 文件夹由目标中的XCP创建为文件。
- 数据包跟踪显示了一个SMB创建调用循环、以在文件下创建文件夹、并且文件管理器响应NT错误:stats_object_path_nT_found (0xc000003a)
No Time Source Destination Proto Info
306154 11:22:29.509384 10.x.x.x 10.x.x.x SMB2 Create Request File: ntap\abc\test\test\ts01
306155 11:22:29.509474 10.x.x.x 10.x.x.x SMB2 Create Response, Error: STATUS_OBJECT_PATH_NOT_FOUND