驗證
。 verify
命令會讀取及比較來源和目標共用、並提供不同之處的相關資訊。您可以使用 verify
命令、無論用於執行複製或同步作業的工具為何。
xcp verify \\<IP address or hostname of SMB server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
c:\netapp\xcp>xcp verify \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify \\<IP address of SMB source server>\source_share \\ <IP address of SMB destination server>\dest_share xcp verify \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share 374 scanned, 373 compared, 373 same, 0 different, 0 missing, 0 errors xcp verify \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share Total Time : 3s STATUS : PASSED
下表列出 verify
參數及其說明。
參數 | 說明 |
---|---|
顯示此說明訊息並結束。 |
|
增加除錯的詳細度。 |
|
<<smb_verify_parallel,驗證 -parallel ; n> |
並行處理程序數(預設值: <cpu-count> )。 |
僅處理符合篩選條件的檔案和目錄(請參閱 |
|
<<smb_verify_exclude,驗證 - 排除 ;篩選器 > |
僅排除篩選器中的檔案和目錄。 |
在來源上還原上次存取的日期。 |
|
請勿檢查資料。 |
|
確認檔案存取時間。 |
|
請勿檢查檔案建立時間。 |
|
請勿檢查檔案修改時間。 |
|
請勿檢查屬性。 |
|
請勿檢查所有權。 |
|
`verify`含有 `-ads`參數的命令會檢查來源和目的地上的任何替代資料流、並顯示任何差異。 |
|
請勿檢查 ACL 。 |
|
可接受的存取時間差異、以秒為單位。 |
|
可接受的建立時間差異、以秒為單位。 |
|
可接受的修改時間差異(以秒為單位)、 |
|
平行掃描來源和目標樹狀結構、並比較樹狀結構統計資料。 |
|
增加輸出細節。 |
|
增加輸出細節( git 差異格式)。 |
|
<<verify_smb_acl,驗證 -fallback-user ; fallback_user> |
目標機器上的 Active Directory 使用者或本機(非網域)使用者、可接收本機(非網域)來源機器使用者的權限(例如:網域 \ 系統管理員)。 |
<<verify_smb_acl,驗證 -fallback-group ; fallback_group> |
目標機器上的 Active Directory 群組或本機(非網域)群組、可接收本機(非網域)來源機器群組的權限(例如:網域 \ 系統管理員)。 |
驗證根目錄的 ACL 。 |
|
僅驗證安全性資訊。 |
驗證 -h 、 --help
使用 -h
和 –-help
的參數 verify
命令以顯示有關的詳細資訊 verify
命令
xcp verify –help
顯示範例
C:\Netapp\xcp>xcp verify –help usage: xcp verify [-h] [-v] [-parallel <n>] [-match <filter>] [-exclude <filter>][-preserve-atime] [-loglevel <name>] [-fallback-user FALLBACK_USER] [-fallback-group FALLBACK_GROUP] [-noacls] [-nodata] [-stats] [-l] [-root] [-noownership] [-onlyacl] [-noctime] [-nomtime] [-noattrs] [-atime] [-atimewindow <float>] [-ctimewindow <float>] [-mtimewindow <float>] [-ads] source target Note: ONTAP does not let a SMB client modify COMPRESSED or ENCRYPTED attributes. XCP sync will ignore these file attributes. positional arguments: source target optional arguments: -h, --help show this help message and exit -v increase debug verbosity -parallel <n> number of concurrent processes (default: <cpu-count>) -match <filter> only process files and directories that match the filter (see `xcp help -match` for details) -exclude <filter> Exclude files and directories that match the filter (see `xcp help -exclude` for details) -preserve-atime restore last accessed date on source --help-diag Show all options including diag.The diag options should be used only on recommendation by NetApp support. -loglevel <name> option to set log level filter (default:INFO) -fallback-user FALLBACK_USER a user on the target machine to translate the permissions of local (non-domain) source machine users (eg. domain\administrator) -fallback-group FALLBACK_GROUP a group on the target machine to translate the permissions of local (non- domain) source machine groups (eg. domain\administrators) -nodata do not check data -stats scan source and target trees in parallel and compare tree statistics -l detailed file listing output -root verify acl for root directory -noacls do not check acls -noownership do not check ownership -onlyacl verify only acls -noctime do not check file creation time -nomtime do not check file modification time -noattrs do not check attributes -atime verify acess time as well -atimewindow <float> acceptable access time difference in seconds -ctimewindow <float> acceptable creation time difference in seconds -mtimewindow <float> acceptable modification time difference in seconds -ads verify ntfs alternate data stream
驗證 -v
使用 -v
參數 verify
提供詳細除錯資訊的命令。
xcp verify -v \\<IP address of SMB source server>\source_share address of SMB destination server>\dest_share
顯示範例
c:\netapp\xcp> xcp verify -v \\<IP address of SMB source server>\source_share address of SMB destination server>\dest_share xcp verify -v \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -v \\< IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share 374 scanned, 373 compared, 373 same, 0 different, 0 missing, 0 errors Total Time : 3s STATUS : PASSED
驗證平行 <n>
使用 -parallel <n>
參數 verify
命令可設定較高或較低數量的 XCP 並行處理程序。。 verify -parallel <n>
命令會驗證並行處理程序的數目(預設值: <cpu-count> )。
n 的最大值為 61 。 |
xcp verify -v -parallel <n> \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
c:\netapp\xcp>xcp verify -v -parallel 8 \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -v -parallel 8 \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -v -parallel 8 \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share 374 scanned, 373 compared, 373 same, 0 different, 0 missing, 0 errors Total Time : 4s STATUS : PASSED
驗證 <filter> 是否相符
使用 -match <filter>
參數 verify
命令來掃描來源和目標樹狀結構、並僅比較符合篩選參數的檔案或目錄。如果有任何差異、命令會在目標上套用必要的動作、以保持同步。
xcp verify -v -match <filter> \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
c:\netapp\xcp>xcp verify -v -match "'Microsoft' in name" \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -v -match "'Microsoft' in name" \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -v -match 'Microsoft' in name \\<IP address of SMB source server> \source_share \\<IP address of SMB destination server>\dest_share 374 scanned, 0 compared, 0 same, 0 different, 0 missing, 0 errors Total Time : 1s STATUS : PASSED
驗證 - 排除 <filter>
使用 -exclude <filter>
參數 verify
命令僅排除篩選器中的檔案和目錄。
xcp verify -exclude <filter> \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
C:\netapp\xcp>xcp verify -exclude "path('*Exceptions*')" \\<IP address of SMB sourceserver>\source_share \\<IP address of SMB destination server>\dest_share 210 scanned, 99 excluded, 6 compared, 5 same, 1 different, 0 missing, 0 errors, 5s 210 scanned, 107 excluded, 13 compared, 12 same, 1 different, 0 missing, 0 errors, 10s 210 scanned, 107 excluded, 13 compared, 12 same, 1 different, 0 missing, 0 errors, 15s 210 scanned, 107 excluded, 13 compared, 12 same, 1 different, 0 missing, 0 errors, 20s 335 scanned, 253 excluded, 13 compared, 12 same, 1 different, 0 missing, 0 errors, 25s 445 scanned, 427 excluded, 15 compared, 14 same, 1 different, 0 missing, 0 errors, 30s 445 scanned, 427 excluded, 15 compared, 14 same, 1 different, 0 missing, 0 errors, 35s 445 scanned, 427 excluded, 15 compared, 14 same, 1 different, 0 missing, 0 errors, 40s 445 scanned, 427 excluded, 15 compared, 14 same, 1 different, 0 missing, 0 errors, 45s 445 scanned, 427 excluded, 16 compared, 15 same, 1 different, 0 missing, 0 errors, 50s xcp verify -exclude path('*Exceptions*') \\<IP address of SMB sourceserver>\source_share \\<IP address of SMB destination server>\dest_share 445 scanned, 427 excluded, 17 compared, 17 same, 0 different, 0 missing, 0 errors Total Time : 1m11s STATUS : PASSED
驗證 -preserve-atime
使用 -preserve-atime
參數 verify
重設命令 atime
到 XCP 讀取檔案之前的原始值。
xcp verify -preserve-atime \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
c:\netapp\xcp>xcp verify -preserve-atime \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -preserve-atime \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share 374 scanned, 179 compared, 179 same, 0 different, 0 missing, 0 errors, 5s xcp verify -preserve-atime \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share 374 scanned, 373 compared, 373 same, 0 different, 0 missing, 0 errors Total Time : 8s STATUS : PASSED
驗證 -nodata
使用 -nodata
參數 verify
不比較資料的命令。
xcp verify -nodata \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
c:\netapp\xcp>xcp verify -nodata \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -nodata \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -nodata \\<IP address of SMB source server> \source_share \\<IP address of SMB destination server>\dest_share : PASSED 374 scanned, 373 compared, 373 same, 0 different, 0 missing, 0 errors Total Time : 3s STATUS : PASSED
驗證 -atime
使用 -atime
參數 verify
用於比較來源與目的地之間的檔案存取時間戳記的命令。
xcp verify -ll -atime \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
c:\Netapp\xcp> xcp verify -ll -atime \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share WARNING: your license will expire in less than one week! You can renew your license at https://xcp.netapp.com dir1: Changed (atime) atime - 2023-04-14 10:28:47 (1681482527.564423) + 2023-04-14 10:24:40 (1681482280.366317) dir2: Changed (atime) atime - 2023-04-14 10:28:47 (1681482527.564424) + 2023-04-14 10:24:40 (1681482280.366318) <root>: Changed (atime) atime - 2023-04-14 10:28:47 (1681482527.054403) + 2023-04-14 10:28:35 (1681482515.538801) xcp verify -ll -atime \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share 14 scanned, 13 compared, 10 same, 3 different, 0 missing, 0 errors Total Time : 1s STATUS : FAILED
驗證 - 夜間作業
使用 -noctime
參數 verify
命令、不比較來源與目的地之間的檔案建立時間戳記。
xcp verify -noctime \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
c:\netapp\xcp>xcp verify -noctime \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -noctime \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -noctime \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share : PASSED 374 scanned, 373 compared, 373 same, 0 different, 0 missing, 0 errors Total Time : 3s STATUS : PASSED
驗證 - nomtime
使用 -nomtime
參數 verify
不比較來源與目的地之間檔案修改時間戳記的命令。
xcp verify -nomtime \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
c:\netapp\xcp>xcp verify -nomtime \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -nomtime \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -nomtime \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share : PASSED 374 scanned, 373 compared, 373 same, 0 different, 0 missing, 0 errors Total Time : 3s STATUS : PASSED
驗證 -noatt些
使用 -noattrs
參數 verify
不檢查屬性的命令。
xcp verify -noattrs \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
c:\netapp\xcp>xcp verify -noattrs \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -noattrs \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -noattrs \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share : PASSED 374 scanned, 373 compared, 373 same, 0 different, 0 missing, 0 errors Total Time : 3s STATUS : PASSED
驗證 -No所有權
使用 -noownership
參數 verify
不檢查所有權的命令。
xcp verify -noownership \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
c:\netapp\xcp>xcp verify -noownership \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -noownership \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -noownership \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share : PASSED 374 scanned, 373 compared, 373 same, 0 different, 0 missing, 0 errors Total Time : 3s STATUS : PASSED
驗證 -ADS
使用 `-ads`參數搭配 `verify`命令、檢查來源和目的地上是否有任何替代資料串流、並顯示任何差異。
xcp verify -ads \\<IP address or hostname of SMB server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
c:\netapp\xcp>xcp verify -ads \\<source_IP_address>\source_share\src \\<dest_IP_address>\dest_share 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 5s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 10s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 1m0s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 1m55s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 2m0s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 2m5s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 2m55s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 3m0s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 3m5s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 3m55s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 4m55s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 5m0s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 5m5s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 5m55s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 6m0s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 6m5s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 6m10s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 7m0s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 7m5s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 7m55s 7 scanned, 5 compared, 5 same, 0 different, 0 missing, 0 errors, 8m0s xcp verify -ads \\source_Ip_address>\source_share\src \\<dest_IP_address>\dest_share 7 scanned, 6 compared, 6 same, 0 different, 0 missing, 0 errors Total Time : 8m4s STATUS : PASSED
驗證 -noacls
使用 -noacls
參數 verify
不檢查 ACL 的命令。
xcp verify -noacls -noownership \\<IP address or hostname of SMB server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
c:\netapp\xcp>xcp verify -noacls -noownership \\<IP address or hostname of SMB server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -noacls -noownership \\<IP address or hostname of SMB server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -noacls -noownership \\<IP address or hostname of SMB server>\source_share \\<IP address of SMB destination server>\dest_share 318 scanned, 317 compared, 317 same, 0 different, 0 missing, 0 errors Total Time : 1s STATUS : PASSED
驗證 -noacls -nodisoon
使用 -noownership
參數 verify -noacls
不檢查從來源到目的地的 ACL 或所有權。
xcp verify -noacls -noownership <source> <target>
驗證 -atimeWindow <float>
使用 -atimewindow <float>
參數 verify
命令、以秒為單位指定可接受的差異 atime
從來源到目的地的檔案。如果不同、 XCP 不會將檔案回報為不同 atime
低於 <value> 。。 verify - atimewindow
命令只能搭配使用 -atime
旗標。
xcp verify -atimewindow <float> \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
c:\Netapp\xcp> xcp verify -atimewindow 600 -atime \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -atimewindow 600 -atime \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share 14 scanned, 13 compared, 13 same, 0 different, 0 missing, 0 errors
驗證 -ctimeWindow <float>
使用 -ctimewindow <float>
參數 verify
命令、以秒為單位指定可接受的差異 ctime
從來源到目的地的檔案。XCP 不會在不同的情況下回報檔案不同 ctime
低於 <value> 。
xcp verify -ctimewindow <float> \\<IP address or hostname of SMB server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
c:\netapp\xcp>xcp verify -ctimewindow 600 \\<IP address of SMB sourceserver>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -ctimewindow 600 \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -ctimewindow 600 \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share 374 scanned, 373 compared, 373 same, 0 different, 0 missing, 0 errors Total Time : 3s STATUS : PASSED
驗證 -mtimeWindow <float>
使用 -mtimewindow <float>
參數 verify
命令、以秒為單位指定可接受的差異 mtime
從來源到目的地的檔案。XCP 不會在不同的情況下回報檔案不同 mtime
低於 <value> 。
xcp verify -mtimewindow <float> \\<IP address of SMB sourceserver>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
c:\netapp\xcp>xcp verify -mtimewindow 600 \\<IP address of SMB sourceserver>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -mtimewindow 600 \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -mtimewindow 600 \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share 374 scanned, 373 compared, 373 same, 0 different, 0 missing, 0 errors Total Time : 3s STATUS : PASSED
驗證 -stats
使用 -stats
參數 verify
用於掃描來源和目的地的命令、並列印樹狀結構統計報告、顯示兩個共用區之間的相似點或差異。
xcp verify -stats \\<IP address or hostname of SMB server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
c:\netapp\xcp>xcp verify -stats \\<IP address or hostname of SMB server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -stats \\<IP address or hostname of SMB server>\source_share \\<IP address of SMB destination server>\dest_share == Number of files == empty <8KiB 8-64KiB 64KiB-1MiB 1-10MiB 10-100MiB >100MiB 81 170 62 2 on-target same same same same on-source same same same same == Directory entries == empty 1-10 10-100 100-1K 1K-10K >10K 1 1 on-target same same on-source same same == Depth == 0-5 6-10 11-15 16-20 21-100 >100 317 on-target same on-source same == Modified == >1 year >1 month 1-31 days 1-24 hrs <1 hour <15 mins future invalid 315 2 on-target same same on-source same same Total count: 317 / same / same Directories: 2 / same / same Regular files: 315 / same / same Symbolic links: Junctions: Special files: xcp verify -stats \\<IP address or hostname of SMB server>\source_share \\<IP address of SMB destination server>\dest_share 635 scanned, 0 errors Total Time : 1s STATUS : PASSED
驗證 -l
使用 -l
參數 verify
命令,列出來源和目的地上檔案與目錄之間的差異。
xcp verify -l \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
在下列範例中、複製期間並未傳輸所有權資訊、您可以看到命令輸出的差異。
顯示範例
c:\netapp\xcp>xcp verify -l \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -l \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -l \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share 374 scanned, 373 compared, 373 same, 0 different, 0 missing, 0 errors Total Time : 3s STATUS : PASSED
驗證 -ll
使用 -ll
參數 verify
命令列出檔案或目錄與來源和目標之間的詳細差異。格式類似 git diff 。紅色值是來源的舊值、綠色值是目標的新值。
xcp verify -ll \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
c:\netapp\xcp>xcp verify -ll \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -ll \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -ll \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share 374 scanned, 373 compared, 373 same, 0 different, 0 missing, 0 errors Total Time : 3s STATUS : PASSED
VERIF-Fallback-user <fallback_user> -Fallback-group <fallback_group>
使用 -fallback-user
和 -fallback-group
的參數 verify
命令列出來源和目的地上檔案和目錄之間的 ACL 和擁有權差異。
如果您使用 fallback-user 和 fallback-group 若執行複本或同步作業、 NetApp 建議您也使用 fallback-user 和 fallback-group 驗證作業的參數。
|
xcp verify -fallback-user <fallback_user> -fallback-group <fallback_group> \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
驗證 -nodise-fallback-user <fallback_user> -fallback-group <fallback_group>
使用 -noownership,
-fallback-user`和 `-fallback-group
的參數 verify
命令列出 ACL 差異、並略過來源與目的地上檔案與目錄之間的所有權驗證。
xcp verify -noownership -fallback-user <fallback_user> -fallback-group <fallback_group> \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
驗證 -noacls-fallback-user <fallback_user> -fallback-group <fallback_group>
使用 -noacls
、 -fallback-user`和 `-fallback-group
的參數 verify
命令可略過 ACL 驗證、並驗證來源與目的地上檔案與目錄之間的所有權。
xcp verify -noacls -fallback-user <fallback_user> -fallback-group <fallback_group> \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
驗證 -root
使用 `-root`參數搭配 `verify`命令來驗證根目錄的 ACL 。
xcp verify -root -fallback-user <fallback_user> -fallback- group <fallback_group> \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
C:\NetApp\XCP>xcp verify -root -fallback-user "DOMAIN\User" -fallback-group "DOMAIN\Group" \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share xcp verify -l -root -fallback-user "DOMAIN\User" -fallback-group "DOMAIN\Group" \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share 7 scanned, 6 compared, 6 same, 0 different, 0 missing, 0 errors Total Time : 1s STATUS : PASSED
驗證 -lacl -fallback-user <fallback_user> -fallback- group <fallback_group>
使用 -onlyacl
、 -fallback-user
和 -fallback-group
的參數 verify
僅比較來源與目的地之間的安全性資訊的命令。
xcp verify -onlyacl -preserve-atime -fallback-user <fallback_user> -fallback- group <fallback_group> \\<IP address of SMB source server>\source_share \\<IP address of SMB destination server>\dest_share
顯示範例
C:\Users\ctladmin\Desktop>xcp verify -onlyacl -preserve-atime -fallback-user "DOMAIN\User" -fallback- group "DOMAIN\Group" -ll \\<source_IP_address>\source_share \\<IP address of SMB destination server>\dest_share 4,722 scanned, 0 compared, 0 same, 0 different, 0 missing, 0 errors, 5s 7,142 scanned, 120 compared, 120 same, 0 different, 0 missing, 0 errors, 10s 7,142 scanned, 856 compared, 856 same, 0 different, 0 missing, 0 errors, 15s 7,142 scanned, 1,374 compared, 1,374 same, 0 different, 0 missing, 0 errors, 20s 7,142 scanned, 2,168 compared, 2,168 same, 0 different, 0 missing, 0 errors, 25s 7,142 scanned, 2,910 compared, 2,910 same, 0 different, 0 missing, 0 errors, 30s 7,142 scanned, 3,629 compared, 3,629 same, 0 different, 0 missing, 0 errors, 35s 7,142 scanned, 4,190 compared, 4,190 same, 0 different, 0 missing, 0 errors, 40s 7,142 scanned, 4,842 compared, 4,842 same, 0 different, 0 missing, 0 errors, 45s 7,142 scanned, 5,622 compared, 5,622 same, 0 different, 0 missing, 0 errors, 50s 7,142 scanned, 6,402 compared, 6,402 same, 0 different, 0 missing, 0 errors, 55s 7,142 scanned, 7,019 compared, 7,019 same, 0 different, 0 missing, 0 errors, 1m0s xcp verify -onlyacl -preserve-atime -fallback-user "DOMAIN\User" -fallback-group "DOMAIN\Group" -ll \\<source_IP_address>\source_share \\<IP address of SMB destination server>\dest_share 7,142 scanned, 7,141 compared, 7,141 same, 0 different, 0 missing, 0 errors Total Time : 1m2s STATUS : PASSED