メインコンテンツへスキップ

XCP SMB syncコマンドは、ターゲット上のすべてのファイルとフォルダを削除します

Views:
21
Visibility:
Public
Votes:
0
Category:
netapp-xcp<a>2009524118</a>
Specialty:
nas
Last Updated:

環境

  • NetApp XCP SMB
  • SMB

問題

xcp sync コマンドを実行すると、ターゲット上のすべてのファイルが削除され、0KBのファイルに置き換えられます。
 
ラボの例
 
  • src:\\10.216.41.177\c$\src\tuabldgd\bay19
clipboard_e1c60781e47b0233956ba1e0bf5f557d5.png
  • XCPコピー後 
C:\NetApp\Latest xcp19\xcp\windows>xcp.exe copy -root -acl -fallback-user administrator -fallback-group "domain admins" \\10.216.41.177\c$\src\tuabldgd\bay19 \\10.216.41.177\c$\tgt
XCP SMB 1.9.1; (c) 2023 NetApp, Inc.; Licensed to Vijay Ramamurthy [NetApp Inc] until Sun May 21 04:34:40 2023
16 scanned, 0 matched, 0 skipped, 12 copied, 61.0MiB (11.5MiB/s), 0 errors, 5s, 14 acls copied
xcp.exe copy -root -acl -fallback-user administrator -fallback-group domain admins \\10.216.41.177\c$\src\tuabldgd\bay19 \\10.216.41.177\c$\tgt
16 scanned, 0 matched, 0 skipped, 15 copied, 118MiB (15.3MiB/s), 0 errors, 16 acls copied
Total Time : 7s
STATUS : PASSED
Sending statistics...
 
  • tgt:\\10.216.41.177\c$\tgt
clipboard_e2972ad8d3701e0a2d6d7381a4598c232.png
 
  • XCP同期後:
C:\NetApp\Latest xcp19\xcp\windows>xcp.exe sync -root -acl -fallback-user administrator -fallback-group "domain admins" \\10.216.41.177\c$\src\tuabldgd\bay19 \\10.216.41.177\c$\tgt
XCP SMB 1.9.1; (c) 2023 NetApp, Inc.; Licensed to Vijay Ramamurthy [NetApp Inc] until Sun May 21 04:34:40 2023
Root folder skipped: "". Administrative Share was used.
failed to remove from target "": [Errno 13] A device attached to the system is not functioning: '\\\\?\\UNC\\10.216.41.177\\c$\\tgt'
xcp.exe sync -root -acl -fallback-user administrator -fallback-group domain admins \\10.216.41.177\c$\src\tuabldgd\bay19 \\10.216.41.177\c$\tgt
32 scanned, 0 copied, 31 compared, 0 skipped, 0 removed, 1 errors, 0 acls copied
Total Time : 1s
STATUS : FAILED
Sending statistics...
 
  • 同期後、ターゲットですべてのデータが削除されます
 
clipboard_e1430fc2806da3dbc45d0f2b740fac6e6.png
  • XCP Verifyが失敗し、junction-pathが使用されていることが表示される 

C:\NetApp\Latest xcp19\xcp\windows>xcp verify -ll \\10.216.41.177\c$\src\tuabldgd\bay19 \\10.216.41.177\c$\tgt -noatime -nomtime -noctime
XCP SMB 1.9.1; (c) 2023 NetApp, Inc.; Licensed to Vijay Ramamurthy [NetApp Inc] until Sun May 21 04:34:40 2023
LDAPS.cer: Changed (file missing)
ChromeSetup.exe: Changed (file missing)
folder3: Changed (file missing)
folder1\NTAPshark-win64-3.0.4-preben-20190913.exe: Changed (file missing)
folder1\ChromeSetup.exe: Changed (file missing)
folder1: Changed (file missing)
folder2\folder1\NTAPshark-win64-3.0.4-preben-20190913.exe: Changed (file missing)
folder2\folder1\ChromeSetup.exe: Changed (file missing)
folder2\folder1: Changed (file missing)
folder2: Changed (file missing)
folder5\sample.txt: Changed (file missing)
folder5\.test1.txt.swp: Changed (file missing)
folder5\.test1.txt.swo: Changed (file missing)
folder5\test.txt: Changed (file missing)
folder5: Changed (file missing)
<root>: Changed (type, reparse_point, ownership)
 type
   - directory
   + junction
  ownership
   - BUILTIN\Administrators
   + NASLAB\administrator
  file attributes (+1)
   + REPARSE_POINT
xcp verify -ll \\10.216.41.177\c$\src\tuabldgd\bay19 \\10.216.41.177\c$\tgt -noatime -nomtime -noctime
17 scanned, 16 compared, 0 same, 1 different, 15 missing, 0 errors
Total Time : 4s
STATUS : FAILED
Sending statistics...

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.