接頭辞「UNC」を持つファイル名またはフォルダ名がソースに存在すると、XCP同期タスクが停止する
環境
XCP SMB
問題
- XCP同期タスクが進捗せずに長時間停止する
- XCPログにXCP.synchronizerエラーが表示される。
- エラー:
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作成呼び出しによる、ファイルおよびFilerの下にフォルダを作成するループを示しています。STATUS_OBJECT_PATH_NOT_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