Skip to main content
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

iSync

贡献者

查看XCP的说明、参数和示例 isync 命令、包括何时 isync 命令与结合使用 estimate 选项

iSync

XCP NFS isync 命令会比较源和目标、并同步目标上的差异、而不使用目录索引。

语法
xcp isync <source_ip_address>:/src <destination_ip_address>:/dest
显示示例
[root@client1 linux]# ./xcp isync <source_ip_address>:/src <destination_ip_address>:/dest

Job ID: Job_2023-11-20_04.11.03.128824_isync
41,030 scanned, 935 MiB in (162 MiB/s), 4.23 MiB out (752 KiB/s), 6s
57,915 scanned, 2.10 GiB in (239 MiB/s), 10.00 MiB out (1.13 MiB/s), 11s
57,915 scanned, 3.20 GiB in (210 MiB/s), 14.6 MiB out (879 KiB/s), 16s
92,042 scanned, 4.35 GiB in (196 MiB/s), 21.6 MiB out (1.17 MiB/s), 22s
123,977 scanned, 5.70 GiB in (257 MiB/s), 29.6 MiB out (1.49 MiB/s), 27s
137,341 scanned, 6.75 GiB in (212 MiB/s), 36.0 MiB out (1.25 MiB/s), 32s
154,503 scanned, 8.00 GiB in (226 MiB/s), 43.0 MiB out (1.24 MiB/s), 38s
181,578 scanned, 36 copied, 8.68 GiB in (132 MiB/s), 49.7 MiB out (1.26 MiB/s), 43s
target scan completed: 181,656 scanned, 1,477 copied, 1 removed, 8.76 GiB in (200 MiB/s), 123 MiB
out (2.75 MiB/s), 44s.
181,907 scanned, 10,013 copied, 1 removed, 9.17 GiB in (95.3 MiB/s), 545 MiB out (95.2 MiB/s), 49s
Xcp command : xcp isync <source_ip_address>:/src <destination_ip_address>:/dest
Stats : 1 removed, 181,907 scanned, 10,263 copied
Speed : 9.17 GiB in (190 MiB/s), 548 MiB out (11.1 MiB/s)
Total Time : 49s.
Job ID : Job_2023-11-20_04.11.03.128824_isync
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-20_04.11.03.128824_isync.log
STATUS : PASSED
[root@client1 linux]

下表列出了 isync 参数及其问题描述。

参数 Description

iSync -nocdata

不检查数据。

iSync -noatts

不检查属性。

iSync -nomods

不检查文件修改时间。

<<nfs_isync_mtimewindow,iSync -mtiewindow ();s

指定可接受的修改时间差以进行验证。

<<nfs_isync_match,iSync -匹配过滤器

仅处理与筛选器匹配的文件和目录。

<<nfs_isync_bs,iSync -BS [k]

指定读/写块大小(默认值:64K)。

<<nfs_isync_parallel,iSync -并行();n

指定并发批处理进程的最大数量(默认值:7)。

<<nfs_isync_dircount,iSync -dircount ();n[k]

指定读取目录时的请求大小(默认为64k)。

<<nfs_isync_exclude,iSync -排除();过滤器();

排除与筛选器匹配的文件和目录。

<<nfs_isync_newid,iSync -newid ();名称和gt;

指定新索引目录的目录名称。

<<nfs_isync_loglevel,iSync -loglevel ();名称和gt;

设置日志级别;可用级别为info、debug (默认值:info)。

iSync -保留-time

将源上的所有文件还原到上次访问的日期。

iSync -s3.insecure

提供使用HTTP而非HTTPS进行S3存储分段通信的选项。

<<nfs_isync_endpoint,iSync -s3.endpoint

使用为S3存储分段通信指定的URL覆盖默认Amazon Web Services (AWS)端点URL。

<<nfs_isync_s3_profile,iSync -s3.profile ();prolie_name

从AWS凭据文件中指定用于S3存储分段通信的配置文件。

iSync -s3.noverify

覆盖S3存储分段通信的SSL证书的默认验证。

iSync -nocdata

使用 -nodata 参数 isync 用于指定不检查数据的命令。

语法
xcp isync -nodata <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
显示示例
root@client1 linux]# ./xcp isync -nodata <source_ip_address>:/source_vol<destination_ip_address>:/dest_vol

Job ID: Job_2023-11-16_22.47.20.930900_isync
11,301 scanned, 3.26 MiB in (414 KiB/s), 479 KiB out (59.5 KiB/s), 8s
28,644 scanned, 437 copied, 33.7 MiB in (5.39 MiB/s), 27.2 MiB out (4.75 MiB/s), 13s
29,086 scanned, 1,001 copied, 58.2 MiB in (3.54 MiB/s), 51.8 MiB out (3.55 MiB/s), 20s
29,490 scanned, 1,001 copied, 597 removed, 61.1 MiB in (592 KiB/s), 53.7 MiB out (375 KiB/s),
25s
98
.
.
.
43,391 scanned, 1,063 copied, 1,001 removed, 2.49 GiB in (115 MiB/s), 2.48 GiB out (115 MiB/s),
1m17s
43,391 scanned, 1,082 copied, 1,001 removed, 3.08 GiB in (119 MiB/s), 3.07 GiB out (119 MiB/s),
1m23s
43,391 scanned, 1,088 copied, 1,001 removed, 3.68 GiB in (122 MiB/s), 3.67 GiB out (122 MiB/s),
1m28s
Xcp command : xcp isync -nodata <source_ip_address>:/source_vol
<destination_ip_address>:/dest_vol
Stats : 1,001 removed, 43,391 scanned, 1,108 copied
Speed : 4.19 GiB in (46.7 MiB/s), 4.18 GiB out (46.5 MiB/s)
Total Time : 1m31s.
Job ID : Job_2023-11-16_22.47.20.930900_isync
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_22.47.20.930900_isync.log
Error Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_22.47.20.930900_isync.error
STATUS : PASSED

iSync -noatts

使用 -noattrs 参数 isync 用于指定不检查属性的命令。

语法
xcp isync -noattrs <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
显示示例
[root@client1 linux]# ./xcp isync -noattrs <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

Job ID: Job_2023-11-16_22.49.22.056646_isync
18,036 scanned, 940 MiB in (168 MiB/s), 2.67 MiB out (488 KiB/s), 5s
30,617 scanned, 285 removed, 4.23 GiB in (666 MiB/s), 12.0 MiB out (1.82 MiB/s), 10s
32,975 scanned, 746 removed, 6.71 GiB in (505 MiB/s), 18.3 MiB out (1.25 MiB/s), 15s
34,354 scanned, 1,000 removed, 9.39 GiB in (543 MiB/s), 24.9 MiB out (1.32 MiB/s), 20s
34,594 scanned, 1,000 removed, 12.1 GiB in (540 MiB/s), 31.2 MiB out (1.24 MiB/s), 26s
36,142 scanned, 722 copied, 1,000 removed, 14.9 GiB in (540 MiB/s), 73.7 MiB out (7.93 MiB/s),
31s
.
.
.
42,496 scanned, 1,000 copied, 1,000 removed, 234 GiB in (716 MiB/s), 582 MiB out (1.55 MiB/s),
7m22s
Xcp command : xcp isync -noattrs <<source_ip_address>>:/source_vol <destination_ip_address>:/dest_vol
Stats : 1,000 removed, 42,496 scanned, 1,000 copied
Speed : 234 GiB in (542 MiB/s), 583 MiB out (1.32 MiB/s)
Total Time : 7m22s.
Job ID : Job_2023-11-16_22.49.22.056646_isync
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_22.49.22.056646_isync.log
Error Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_22.49.22.056646_isync.error
STATUS : PASSED

iSync -nomods

使用 -nomods 参数 isync 用于指定不检查文件修改时间的命令。

语法
isync -nomods <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
显示示例
[root@client1 linux]# ./xcp isync -nomodes <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

Job ID: Job_2023-11-16_22.56.48.571392_isync
13,897 scanned, 763 MiB in (152 MiB/s), 2.28 MiB out (463 KiB/s), 5s
21,393 scanned, 148 removed, 4.81 GiB in (739 MiB/s), 12.5 MiB out (1.81 MiB/s), 11s
28,517 scanned, 148 removed, 7.68 GiB in (578 MiB/s), 19.1 MiB out (1.31 MiB/s), 16s
28,517 scanned, 148 removed, 10.7 GiB in (619 MiB/s), 26.3 MiB out (1.43 MiB/s), 21s
29,167 scanned, 396 copied, 148 removed, 13.2 GiB in (434 MiB/s), 51.4 MiB out (4.33 MiB/s), 27s
.
.
.
42,790 scanned, 1,000 copied, 1,000 removed, 229 GiB in (641 MiB/s), 571 MiB out (1.40 MiB/s),
6m42s
42,790 scanned, 1,000 copied, 1,000 removed, 232 GiB in (668 MiB/s), 578 MiB out (1.46 MiB/s),
6m47s
Xcp command : xcp isync -nomods <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Stats : 1,000 removed, 42,790 scanned, 1,000 copied
Speed : 234 GiB in (585 MiB/s), 583 MiB out (1.42 MiB/s)
Total Time : 6m50s.
Job ID : Job_2023-11-16_22.56.48.571392_isync
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_22.56.48.571392_isync.log
STATUS : PASSED

iSync -mtiewindow <s>

使用 -mtimewindow <s> 参数 isync 命令以指定可接受的修改时间差以进行验证。

语法
xcp isync -mtimewindow <s> <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
显示示例
[root@client1 linux]# ./xcp isync -mtimewindow 10 10.101.101.101:/source_vol 10.101.101.101:/dest_vol


Job ID: Job_2023-11-16_23.03.41.617300_isync

 23,154 scanned, 146 removed, 1.26 GiB in (247 MiB/s), 4.50 MiB out (882 KiB/s), 5s

 29,587 scanned, 485 removed, 4.51 GiB in (659 MiB/s), 13.4 MiB out (1.77 MiB/s), 10s

 29,587 scanned, 485 removed, 7.40 GiB in (590 MiB/s), 20.0 MiB out (1.32 MiB/s), 16s

 32,712 scanned, 485 removed, 10.3 GiB in (592 MiB/s), 26.9 MiB out (1.34 MiB/s), 21s

 33,712 scanned, 485 removed, 13.2 GiB in (578 MiB/s), 33.6 MiB out (1.33 MiB/s), 26s

 33,712 scanned, 961 copied, 485 removed, 15.5 GiB in (445 MiB/s), 86.6 MiB out (9.89 MiB/s), 31s

.

.

.

42,496 scanned, 1,000 copied, 1,000 removed, 233 GiB in (655 MiB/s), 581 MiB out (1.43 MiB/s), 7m11s


Xcp command : xcp isync -mtimewindow 10 -loglevel DEBUG 10.101.101.101:/source_vol 10.101.101.101:/dest_vol

Stats       : 1,000 removed, 42,496 scanned, 1,000 copied

Speed       : 234 GiB in (554 MiB/s), 583 MiB out (1.35 MiB/s)

Total Time  : 7m12s.

Job ID      : Job_2023-11-16_23.03.41.617300_isync

Log Path    : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_23.03.41.617300_isync.log

Error Path  : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_23.03.41.617300_isync.error

STATUS      : PASSED

iSync -Match <filter>

使用 -match <filter> 参数 isync 命令以仅处理与筛选器匹配的文件和目录。

语法
xcp isync  -match <filter> -id <name>
显示示例
[root@client1 linux]# ./xcp isync -match fnm("FILE_USER5*") <source_ip_address>:/source_vol
<destination_ip_address>:/dest_vol
Job ID: Job_2023-11-16_23.25.03.734323_isync
24,006 scanned, 570 matched, 32.5 MiB in (5.31 MiB/s), 221 KiB out (36.2 KiB/s), 6s
33,012 scanned, 570 matched, 34.2 MiB in (223 KiB/s), 237 KiB out (2.06 KiB/s), 14s
33,149 scanned, 572 matched, 275 MiB in (38.3 MiB/s), 781 KiB out (86.6 KiB/s), 20s
39,965 scanned, 572 matched, 276 MiB in (214 KiB/s), 812 KiB out (4.95 KiB/s), 27s
40,542 scanned, 572 matched, 276 MiB in (15.4 KiB/s), 818 KiB out (1.00 KiB/s), 32s
40,765 scanned, 1,024 matched, 1.88 GiB in (297 MiB/s), 4.51 MiB out (682 KiB/s), 38s
target scan completed: 41,125 scanned, 1,055 matched, 1.88 GiB in (48.9 MiB/s), 4.51 MiB out
(117 KiB/s), 39s.
42,372 scanned, 1,206 matched, 4.26 GiB in (445 MiB/s), 9.92 MiB out (1013 KiB/s), 43s
Filtered: 1206 matched, 41290 did not match
Xcp command : xcp isync -match fnm("FILE_USER5*") <source_ip_address>:/source_vol
<destination_ip_address>:/dest_vol
Stats : 42,496 scanned, 1,206 matched
Speed : 6.70 GiB in (145 MiB/s), 15.4 MiB out (332 KiB/s)
Total Time : 47s.
Job ID : Job_2023-11-16_23.25.03.734323_isync
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_23.25.03.734323_isync.log
STATUS : PASSED

iSync -BS <n[k]>

使用 -bs <n[k]> 参数 isync 命令以指定读/写块大小。默认块大小为64k。

语法
xcp isync -loglevel DEBUG -bs <n[k]> <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
显示示例
root@client1 linux]# ./xcp isync -loglevel DEBUG -bs 32k <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

Job ID: Job_2023-11-17_00.49.20.336389_isync
20,616 scanned, 1.62 GiB in (332 MiB/s), 8.23 MiB out (1.64 MiB/s), 5s
30,240 scanned, 4.55 GiB in (594 MiB/s), 22.4 MiB out (2.81 MiB/s), 10s
30,439 scanned, 7.47 GiB in (589 MiB/s), 35.6 MiB out (2.60 MiB/s), 15s
30,439 scanned, 10.5 GiB in (617 MiB/s), 49.5 MiB out (2.75 MiB/s), 20s
30,863 scanned, 1 copied, 13.3 GiB in (547 MiB/s), 62.7 MiB out (2.56 MiB/s), 25s
.
.
.
42,497 scanned, 71 copied, 227 GiB in (637 MiB/s), 5.12 GiB out (2.79 MiB/s), 6m40s
42,497 scanned, 71 copied, 229 GiB in (538 MiB/s), 5.13 GiB out (2.35 MiB/s), 6m45s
Xcp command : xcp isync -loglevel DEBUG -bs 32k <source_ip_address>:/source_vol
<destination_ip_address>:/dest_vol
Stats : 42,497 scanned, 71 copied
Speed : 231 GiB in (579 MiB/s), 5.14 GiB out (12.9 MiB/s)
Total Time : 6m48s.
Job ID : Job_2023-11-17_00.49.20.336389_isync
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-17_00.49.20.336389_isync.log
Error Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-17_00.49.20.336389_isync.error
STATUS : PASSED
[root@client1 linux]#

iSync -par并 口

使用 -parallel <n> 参数 isync 命令以指定并发批处理进程的最大数量。默认值为7。

语法
xcp isync -parallel <n> <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
显示示例
[root@client1 linux]# xcp isync -parallel 16 <source_ip_address>:/source_vol
<destination_ip_address>:/dest_vol

Job ID: Job_2023-11-16_23.25.57.058655_isync
21,279 scanned, 765 MiB in (104 MiB/s), 2.43 MiB out (337 KiB/s), 7s
30,208 scanned, 126 removed, 3.00 GiB in (461 MiB/s), 9.11 MiB out (1.33 MiB/s), 12s
35,062 scanned, 592 removed, 6.01 GiB in (615 MiB/s), 17.2 MiB out (1.61 MiB/s), 17s
35,062 scanned, 592 removed, 7.35 GiB in (272 MiB/s), 20.3 MiB out (642 KiB/s), 22s
.
.
.
42,496 scanned, 1,027 copied, 1,027 removed, 231 GiB in (602 MiB/s), 576 MiB out (1.31 MiB/s),
7m40s
Xcp command : xcp isync -parallel 16 <source_ip_address>:/source_vol
<destination_ip_address>:/dest_vol
Stats : 1,027 removed, 42,496 scanned, 1,027 copied
Speed : 234 GiB in (515 MiB/s), 584 MiB out (1.26 MiB/s)
Total Time : 7m45s.
Job ID : Job_2023-11-16_23.25.57.058655_isync
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_23.25.57.058655_isync.log
Error Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_23.25.57.058655_isync.error
STATUS : PASSED

iSync -dircount <n[k]>

使用 -dircount <n[k]> 参数 isync 命令以指定读取目录时的请求大小。默认值为64k。

语法
xcp isync -dircount <n[k]> <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
显示示例
root@client1 linux]# ./xcp isync -dircount 32k <source_ip_address>:/source_vol
<destination_ip_address>:/dest_vol
Job ID: Job_2023-11-16_23.33.45.854686_isync
16,086 scanned, 824 MiB in (164 MiB/s), 2.75 MiB out (558 KiB/s), 5s
24,916 scanned, 4.42 GiB in (727 MiB/s), 12.5 MiB out (1.91 MiB/s), 11s
31,633 scanned, 237 removed, 7.19 GiB in (567 MiB/s), 19.0 MiB out (1.30 MiB/s), 16s
31,633 scanned, 237 removed, 9.74 GiB in (512 MiB/s), 24.7 MiB out (1.13 MiB/s), 21s
33,434 scanned, 237 removed, 11.6 GiB in (385 MiB/s), 29.3 MiB out (935 KiB/s), 26s
33,434 scanned, 499 copied, 237 removed, 13.1 GiB in (298 MiB/s), 57.7 MiB out (5.66 MiB/s), 31s
.
.
.
42,496 scanned, 1,000 copied, 1,000 removed, 229 GiB in (609 MiB/s), 572 MiB out (1.34 MiB/s),
7m3s
42,496 scanned, 1,000 copied, 1,000 removed, 232 GiB in (549 MiB/s), 578 MiB out (1.20 MiB/s),
7m8s
Xcp command : xcp isync -dircount 32k <source_ip_address>:/source_vol
<destination_ip_address>:/dest_vol
Stats : 1,000 removed, 42,496 scanned, 1,000 copied
Speed : 234 GiB in (555 MiB/s), 583 MiB out (1.35 MiB/s)
Total Time : 7m11s.
Job ID : Job_2023-11-16_23.33.45.854686_isync
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_23.33.45.854686_isync.log
Error Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_23.33.45.854686_isync.error
STATUS : PASSED

iSync -排除<filter>

使用 -exclude <filter> 参数 isync 命令以排除与筛选器匹配的文件和目录。

语法
xcp isync -exclude <filter> <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
显示示例
[root@client1 linux]# ./xcp isync -exclude fnm("FILE_USER5*") <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Job ID: Job_2023-11-16_23.41.00.713151_isync
14,514 scanned, 570 excluded, 675 MiB in (133 MiB/s), 2.03 MiB out (411 KiB/s), 5s
24,211 scanned, 570 excluded, 4.17 GiB in (713 MiB/s), 11.0 MiB out (1.79 MiB/s), 10s
30,786 scanned, 574 excluded, 116 removed, 7.07 GiB in (589 MiB/s), 17.7 MiB out (1.32
MiB/s), 15s
30,786 scanned, 574 excluded, 116 removed, 10.1 GiB in (629 MiB/s), 24.7 MiB out (1.40
MiB/s), 20s
31,106 scanned, 222 copied, 574 excluded, 116 removed, 12.8 GiB in (510 MiB/s), 42.3 MiB out
(3.33 MiB/s), 26s
.
.
.
41,316 scanned, 1,000 copied, 1,206 excluded, 1,000 removed, 225 GiB in (616 MiB/s), 563 MiB
out (1.36 MiB/s), 6m35s
Excluded: 1206 excluded, 0 did not match exclude criteria
Xcp command : xcp isync -exclude fnm("FILE_USER5*") <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Stats : 1,000 removed, 41,316 scanned, 1,000 copied, 1,206 excluded
Speed : 227 GiB in (584 MiB/s), 568 MiB out (1.42 MiB/s)
Total Time : 6m38s.
Job ID : Job_2023-11-16_23.41.00.713151_isync
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_23.41.00.713151_isync.log
Error Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_23.41.00.713151_isync.error
STATUS : PASSED

iSync -newid <name>

使用 -newid <name> 参数 isync 命令以指定新索引目录的目录名称。

语法
xcp isync -newid <name> -s3.endpoint <S3_endpoint_url> <source_ip_address>:/src/USER4 s3://isyncestimate/
显示示例
root@client1 linux]# ./xcp isync -newid testing -s3.endpoint <S3_endpoint_url> <source_ip_address>:/src/USER4 s3://isyncestimate/

Job ID: Job_2023-11-16_04.33.32.381458_isync
target scan completed: 502 scanned, 250 s3.objects, 251 indexed, 118 KiB in (38.9 KiB/s), 63.7
KiB out (20.9 KiB/s), 3s.
Xcp command : xcp isync -newid testing -s3.endpoint S3_endpoint_url>
<source_ip_address>:/src/USER4 s3://isyncestimate/
Stats : 502 scanned, 250 s3.objects, 251 indexed
Speed : 118 KiB in (38.8 KiB/s), 63.7 KiB out (20.9 KiB/s)
Total Time : 3s.
Job ID : Job_2023-11-16_04.33.32.381458_isync
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_04.33.32.381458_isync.log
STATUS : PASSED

iSync -loglevel <name>

使用 -loglevel <name> 参数 isync 用于设置日志级别的命令;可用级别为info和debug。默认值为info。

语法
xcp isync -loglevel <name> -bs <n[k]> <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
显示示例
[root@client1 linux]# ./xcp isync -loglevel DEBUG -bs 32k <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

Job ID: Job_2023-11-17_00.49.20.336389_isync
20,616 scanned, 1.62 GiB in (332 MiB/s), 8.23 MiB out (1.64 MiB/s), 5s
30,240 scanned, 4.55 GiB in (594 MiB/s), 22.4 MiB out (2.81 MiB/s), 10s
30,439 scanned, 7.47 GiB in (589 MiB/s), 35.6 MiB out (2.60 MiB/s), 15s
30,439 scanned, 10.5 GiB in (617 MiB/s), 49.5 MiB out (2.75 MiB/s), 20s
30,863 scanned, 1 copied, 13.3 GiB in (547 MiB/s), 62.7 MiB out (2.56 MiB/s), 25s
.
.
.
42,497 scanned, 71 copied, 227 GiB in (637 MiB/s), 5.12 GiB out (2.79 MiB/s), 6m40s
42,497 scanned, 71 copied, 229 GiB in (538 MiB/s), 5.13 GiB out (2.35 MiB/s), 6m45s
Xcp command : xcp isync -loglevel DEBUG -bs 32k <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Stats : 42,497 scanned, 71 copied
Speed : 231 GiB in (579 MiB/s), 5.14 GiB out (12.9 MiB/s)
Total Time : 6m48s.
Job ID : Job_2023-11-17_00.49.20.336389_isync
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-17_00.49.20.336389_isync.log
Error Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-17_00.49.20.336389_isync.error
STATUS : PASSED

iSync -保留-time

使用 -preserve-atime 参数 isync 命令将源上的所有文件还原到上次访问的日期。

语法
xcp isync -preserve-atime <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
显示示例
[root@client1 linux]# ./xcp isync -preserve-atime <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

Job ID: Job_2023-11-17_01.31.26.077154_isync
21,649 scanned, 1.41 GiB in (260 MiB/s), 5.63 MiB out (1.01 MiB/s), 5s
32,034 scanned, 10.9 GiB in (400 MiB/s), 29.3 MiB out (925 KiB/s), 30s
33,950 scanned, 1 copied, 12.9 GiB in (399 MiB/s), 35.5 MiB out (1.24 MiB/s), 35s
33,950 scanned, 1 copied, 14.7 GiB in (361 MiB/s), 39.6 MiB out (830 KiB/s), 41s
.
.
.
42,499 scanned, 1 copied, 229 GiB in (623 MiB/s), 529 MiB out (1.37 MiB/s), 7m16s
42,499 scanned, 1 copied, 233 GiB in (719 MiB/s), 536 MiB out (1.56 MiB/s), 7m21s
Xcp command : xcp isync -preserve-atime <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Stats : 42,499 scanned, 1 copied
Speed : 234 GiB in (541 MiB/s), 540 MiB out (1.22 MiB/s)
Total Time : 7m23s.
Job ID : Job_2023-11-17_01.31.26.077154_isync
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-17_01.31.26.077154_isync.log
Error Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-17_01.31.26.077154_isync.error
STATUS : PASSED

iSync -s3.insecure

使用 -s3.insecure 参数 isync 用于使用HTTP而非HTTPS进行S3存储分段通信的命令。

语法
xcp isync -newid <name> -s3.insecure -s3.endpoint <S3_endpoint_url> <source_ip_address>:/src/USER4 s3://isyncestimate/
显示示例
[root@client1 linux]# ./xcp isync -newid testing2 -s3.insecure -s3.endpoint <S3_endpoint_url> <source_ip_address>:/src/USER4 s3://isyncestimate/

Job ID: Job_2023-11-16_05.09.28.579606_isync
target scan completed: 502 scanned, 250 s3.objects, 118 KiB in (47.6 KiB/s), 50.8 KiB out (20.5
KiB/s), 2s.
Xcp command : xcp isync -newid testing2 -s3.insecure -s3.endpoint <S3_endpoint_url> <source_ip_address>:/src/USER4 s3://isyncestimate/
Stats : 502 scanned, 250 s3.objects, 251 indexed
Speed : 118 KiB in (38.5 KiB/s), 63.8 KiB out (20.7 KiB/s)
Total Time : 3s.
Job ID : Job_2023-11-16_05.09.28.579606_isync
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_05.09.28.579606_isync.log
STATUS : PASSED
[root@client1 linux]#

iSync -s3.Endpoint <s3_endpoint_url>

使用 -s3.endpoint <s3_endpoint_url> 参数 isync 命令以使用指定的URL覆盖默认AWS端点URL以进行S3存储分段通信。

语法
xcp isync -newid <name> -s3.noverify -s3.endpoint <endpoint_url> <source_ip_address>:/src/USER4 s3://isyncestimate/
显示示例
root@client1 linux]# ./xcp isync -newid testing -s3.endpoint <S3-endpoint_url> <source_ip_address>:/src/USER4 s3://isyncestimate/

Job ID: Job_2023-11-16_04.33.32.381458_isync
target scan completed: 502 scanned, 250 s3.objects, 251 indexed, 118 KiB in (38.9 KiB/s), 63.7 KiB
out (20.9 KiB/s), 3s.
Xcp command : xcp isync -newid testing -s3.endpoint S3-endpoint_url>
<source_ip_address>:/src/USER4 s3://isyncestimate/
Stats : 502 scanned, 250 s3.objects, 251 indexed
Speed : 118 KiB in (38.8 KiB/s), 63.7 KiB out (20.9 KiB/s)
Total Time : 3s.
Job ID : Job_2023-11-16_04.33.32.381458_isync
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_04.33.32.381458_isync.log
STATUS : PASSED

iSync -s3.profile <name>

使用 s3.profile 参数 isync 命令以从AWS凭据文件指定用于S3存储分段通信的配置文件。

语法
xcp isync -s3.profile <name> -s3.endpoint <S3-endpoint_url> <source_ip_address>:/src/USER4 s3://isyncestimate
显示示例
[root@client1 linux]# /xcp/linux/xcp isync -s3.profile s3_profile -s3.endpoint <S3-endpoint_url> <source_ip_address>:/src/USER4 s3://isyncestimate

Job ID: Job_2023-11-16_05.29.21.279709_isync
target scan completed: 502 scanned, 250 s3.objects, 108 KiB in (46.5 KiB/s), 38.4 KiB out (16.5
KiB/s), 2s.
Xcp command : xcp isync -s3.profile s3_profile -s3. <S3-endpoint_url>
<source_ip_address>:/src/USER4 s3://isyncestimate
Stats : 502 scanned, 250 s3.objects
Speed : 108 KiB in (34.2 KiB/s), 38.4 KiB out (12.1 KiB/s)
Total Time : 3s.
Job ID : Job_2023-11-16_05.29.21.279709_isync
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_05.29.21.279709_isync.log
STATUS : PASSED
[root@client1 linux]#

iSync -s3.noverify

使用 -s3.noverify 参数 isync 用于覆盖S3存储分段通信的SSL认证默认验证的命令。

语法
xcp isync -newid <name> -s3.noverify -s3.endpoint <endpoint_url> <source_ip_address>:/src/USER4 s3://isyncestimate/
显示示例
root@client1 linux]# ./xcp isync -newid testing5 -s3.noverify -s3.endpoint <endpoint_url> <source_ip_address>:/src/USER4 s3://isyncestimate/

Job ID: Job_2023-11-16_05.11.12.803441_isync
target scan completed: 502 scanned, 250 s3.objects, 118 KiB in (40.8 KiB/s), 50.8 KiB out (17.6
KiB/s), 2s.
Xcp command : xcp isync -newid testing5 -s3.noverify -s3.endpoint <endpoint_url>
<source_ip_address>:/src/USER4 s3://isyncestimate/
Stats : 502 scanned, 250 s3.objects, 251 indexed
Speed : 118 KiB in (34.7 KiB/s), 63.8 KiB out (18.6 KiB/s)
Total Time : 3s.
Job ID : Job_2023-11-16_05.11.12.803441_isync
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_05.11.12.803441_isync.log
STATUS : PASSED
[root@client1 linux]#

iSync估计

isync 命令可与结合使用 estimate 用于估计所需时间的选项 isync 命令以同步增量更改。。 -id 参数用于指定先前复制操作的目录名称。

语法
xcp isync estimate -id <name>
重要说明 -id 参数是必需的 isync estimate 命令选项。
显示示例
[root@client1 linux]# ./xcp isync estimate -id <name>

Job ID: Job_2023-11-20_04.08.18.967541_isync_estimate
Index: aa1batch_error1 {source: <source_ip_address>:/src, target: <destination_ip_address>:/dest}
30,611 scanned, 786 MiB in (141 MiB/s), 3.60 MiB out (661 KiB/s), 5s
45,958 scanned, 1.92 GiB in (223 MiB/s), 8.48 MiB out (939 KiB/s), 10s
53,825 scanned, 3.11 GiB in (216 MiB/s), 13.5 MiB out (912 KiB/s), 16s
67,260 scanned, 4.33 GiB in (231 MiB/s), 18.6 MiB out (961 KiB/s), 22s
81,328 scanned, 5.57 GiB in (253 MiB/s), 23.8 MiB out (1.05 MiB/s), 27s
85,697 scanned, 6.85 GiB in (241 MiB/s), 29.2 MiB out (1005 KiB/s), 32s
85,697 scanned, 8.14 GiB in (262 MiB/s), 34.5 MiB out (1.06 MiB/s), 37s
Xcp command : xcp isync estimate -id <name>
Estimated Time : 45.1s
Job ID : Job_2023-11-20_04.08.18.967541_isync_estimate
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-20_04.08.18.967541_isync_estimate.log
Error Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-20_04.08.18.967541_isync_estimate.error
STATUS : PASSED

下表列出了 isync estimate 参数及其问题描述。

参数 Description

iSync估计值-无数据

不检查数据。

iSync估计值-noatttrs

不检查属性。

iSync估计值-nomods

不检查文件修改时间。

<<nfs_isync_estimate_mtimewindow,iSync估计-mtimewindow ();s

指定可接受的修改时间差以进行验证。

<<nfs_isync_estimate_match,iSync估计-匹配();筛选器(gt);

仅处理与筛选器匹配的文件和目录。

<<nfs_isync_estimate_bs,iSync估计-BS [k]

指定读/写块大小(默认值:64K)。

<<nfs_isync_estimate_parallel,iSync估计-并行();n

指定并发批处理进程的最大数量(默认值:7)。

<<nfs_isync_estimate_dircount,iSync估计-dircount ();n[k]

指定读取目录时的请求大小(默认为64k)。

<<nfs_isync_estimate_exclude,iSync估计-排除();过滤器();

排除与筛选器匹配的文件和目录。

<<nfs_isync_estimate_id,iSync估计-id

指定上次复制操作的目录名称。

<<nfs_isync_estimate_loglevel,iSync估计-日志级别();名称和gt;

设置日志级别;可用级别为info、debug (默认值:info)。

iSync估计值-保留 时间

将源上的所有文件还原到上次访问的日期。

iSync估计值-s3.insecure

提供使用HTTP而非HTTPS进行S3存储分段通信的选项。

<<nfs_isync_estimate_endpoint,iSync估计-s3.endpoint

使用为S3存储分段通信指定的URL覆盖默认Amazon Web Services (AWS)端点URL。

<<nfs_isync_estimate_s3_profile,iSync -s3.profile ();prolie_name

从AWS凭据文件中指定用于S3存储分段通信的配置文件。

iSync估计值-s3.noverify

覆盖S3存储分段通信的SSL证书的默认验证。

iSync估计值-无数据

使用 -nodata 带的参数 isync estimate 指定不检查数据。

语法
xcp isync estimate -nodata -id <name>
显示示例
[root@client1 linux]# ./xcp isync estimate -nodata -id <name>

Job ID: Job_2023-11-23_23.19.45.648691_isync_estimate
Index: isync_est {source: <source_ip_address>:/fg1, target: <destination_ip_address>:/fv}
Xcp command : xcp isync estimate -nodata -id <name>
Estimated Time : 0.6s
Job ID : Job_2023-11-23_23.19.45.648691_isync_estimate
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-23_23.19.45.648691_isync_estimate.log
STATUS : PASSED

iSync估计值-noatttrs

使用 -noattrs 带的参数 isync estimate 指定不检查属性。

语法
xcp isync estimate -noattrs -id <name>
显示示例
[root@client1 linux]# ./xcp isync estimate -noattrs -id <name>

Job ID: Job_2023-11-23_23.20.25.042500_isync_estimate
Index: isync_est {source: <source_ip_address>:/fg1, target: <target_ip_address>:/fv}
Xcp command : xcp isync estimate -noattrs -id <name>
Estimated Time : 2.4s
Job ID : Job_2023-11-23_23.20.25.042500_isync_estimate
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-23_23.20.25.042500_isync_estimate.log
STATUS : PASSED

iSync估计值-nomods

使用 -nomods 带的参数 isync estimate 指定不检查文件修改时间。

语法
xcp isync estimate -nomods -id <name>
显示示例
[root@client1 linux]# ./xcp isync -nomodes <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

Job ID: Job_2023-11-16_22.56.48.571392_isync
13,897 scanned, 763 MiB in (152 MiB/s), 2.28 MiB out (463 KiB/s), 5s
21,393 scanned, 148 removed, 4.81 GiB in (739 MiB/s), 12.5 MiB out (1.81 MiB/s), 11s
28,517 scanned, 148 removed, 7.68 GiB in (578 MiB/s), 19.1 MiB out (1.31 MiB/s), 16s
28,517 scanned, 148 removed, 10.7 GiB in (619 MiB/s), 26.3 MiB out (1.43 MiB/s), 21s
29,167 scanned, 396 copied, 148 removed, 13.2 GiB in (434 MiB/s), 51.4 MiB out (4.33 MiB/s), 27s
.
.
.
42,790 scanned, 1,000 copied, 1,000 removed, 229 GiB in (641 MiB/s), 571 MiB out (1.40 MiB/s),
6m42s
42,790 scanned, 1,000 copied, 1,000 removed, 232 GiB in (668 MiB/s), 578 MiB out (1.46 MiB/s),
6m47s
Xcp command : xcp isync -nomods <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Stats : 1,000 removed, 42,790 scanned, 1,000 copied
Speed : 234 GiB in (585 MiB/s), 583 MiB out (1.42 MiB/s)
Total Time : 6m50s.
Job ID : Job_2023-11-16_22.56.48.571392_isync
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_22.56.48.571392_isync.log
STATUS : PASSED

iSync Estimate -mtimewindow <s>

使用 -mtimewindow <s> 带的参数 isync estimate 指定可接受的修改时间差以进行验证。

语法
xcp isync estimate -mtimewindow <s> -id <name>
显示示例
[root@client1 linux]# ./xcp isync estimate -mtimewindow 10 -id <name>

Job ID: Job_2023-11-16_01.47.05.139847_isync_estimate
Index: <name> {source: <source_ip_address>:/source_vol, target:
<destination_ip_address>:/dest_vol}
Xcp command : xcp isync estimate -mtimewindow 10 -id <name>
Estimated Time : 2m42s
Job ID : Job_2023-11-16_01.47.05.139847_isync_estimate
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_01.47.05.139847_isync_estimate.log
Error Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-
16_01.47.05.139847_isync_estimate.error
STATUS : PASSED

iSync估计-匹配<filter>

使用 -match <filter> 带的参数 isync estimate 以仅处理与筛选器匹配的文件和目录。

语法
xcp isync estimate -match <filter> -id <name>
显示示例
[root@client1 linux]# ./xcp isync estimate -match <filter> -id <name>

Job ID: Job_2023-11-16_02.13.34.904794_isync_estimate
Index: <name> {source: <source_ip_address>:/source_vol, target:
<destination_ip_address>:/dest_vol}
Filtered: 0 matched, 6 did not match
Xcp command : xcp isync estimate -match fnm('FILE_*') -id <name>
Estimated Time : 0.8s
Job ID : Job_2023-11-16_02.13.34.904794_isync_estimate
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_02.13.34.904794_isync_estimate.log
STATUS : PASSED

iSync估计-BS <n[k]>

使用 -bs <n[k]> 带的参数 isync estimate 指定读/写块大小。默认块大小为64k。

语法
xcp isync estimate -bs <n[k]> -id <name>
显示示例
[root@client1 linux]# ./xcp isync estimate -bs 128k -id <name>

Job ID: Job_2023-11-16_02.14.21.263618_isync_estimate
Index: <name> {source: <source_ip_address>:/source_vol, target:
<destination_ip_address>:/dest_vol}
Xcp command : xcp isync estimate -bs 128k -id <name>
Estimated Time : 6m48s
Job ID : Job_2023-11-16_02.14.21.263618_isync_estimate
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_02.14.21.263618_isync_estimate.log
STATUS : PASSED

iSync估计-并行

使用 -parallel <n> 带的参数 isync estimate 指定并发批处理的最大数量。默认值为7。

语法
xcp isync estimate -parallel <n> -id <name>
显示示例
[root@client1 linux]# ./xcp isync estimate -parallel 10 -id <name>

Job ID: Job_2023-11-16_02.15.25.109554_isync_estimate
Index: <name> {source: <source_ip_address>:/source_vol, target:
<destination_ip_address>:/dest_vol}
Xcp command : xcp isync estimate -parallel 10 -id <name>
Estimated Time : 8m3s
Job ID : Job_2023-11-16_02.15.25.109554_isync_estimate
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_02.15.25.109554_isync_estimate.log
STATUS : PASSED

iSync Estimate -dircount <n[k]>

使用 -dircount <n[k]> 带的参数 isync estimate 指定读取目录时的请求大小。默认值为64k。

语法
xcp isync estimate -dircount <n[k]> -id <name>
显示示例
[root@client1 linux]# ./xcp isync estimate -dircount 128k -id <name>

Job ID: Job_2023-11-16_02.15.56.200697_isync_estimate
Index: <name> {source: <source_ip_address>:/source_vol, target:
<destination_ip_address>:/dest_vol}
Xcp command : xcp isync estimate -dircount 128k -id <name>
Estimated Time : 8m6s
Job ID : Job_2023-11-16_02.15.56.200697_isync_estimate
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_02.15.56.200697_isync_estimate.log
STATUS : PASSED

iSync估计-排除<filter>

使用 -exclude <filter> 带的参数 isync estimate 排除与筛选器匹配的文件和目录。

语法
xcp isync estimate -exclude <filter> -id <name>
显示示例
[root@client1 linux]# ./xcp isync estimate -exclude "fnm('DIR1*')" -id <name>

Job ID: Job_2023-11-16_02.16.30.449378_isync_estimate
Index: <name> {source: <source_ip_address>:/source_vol, target:
<destination_ip_address>:/dest_vol}
Excluded: 60 excluded, 0 did not match exclude criteria
Xcp command : xcp isync estimate -exclude fnm('DIR1*') -id <name>
Estimated Time : 3m29s
Job ID : Job_2023-11-16_02.16.30.449378_isync_estimate
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_02.16.30.449378_isync_estimate.log
STATUS : PASSED

iSync估计-id <name>

使用 -id <name> 带的参数 isync estimate 在先前的复制操作中指定目录名称pf。

语法
xcp isync estimate -id <name>
显示示例
[root@client1 linux]# ./xcp isync estimate -id <name>

Job ID: Job_2023-11-20_04.08.18.967541_isync_estimate
Index: <name> {source: <source_ip_address>:/src, target: <destination_ip_address>:/dest}
30,611 scanned, 786 MiB in (141 MiB/s), 3.60 MiB out (661 KiB/s), 5s
45,958 scanned, 1.92 GiB in (223 MiB/s), 8.48 MiB out (939 KiB/s), 10s
53,825 scanned, 3.11 GiB in (216 MiB/s), 13.5 MiB out (912 KiB/s), 16s
67,260 scanned, 4.33 GiB in (231 MiB/s), 18.6 MiB out (961 KiB/s), 22s
81,328 scanned, 5.57 GiB in (253 MiB/s), 23.8 MiB out (1.05 MiB/s), 27s
85,697 scanned, 6.85 GiB in (241 MiB/s), 29.2 MiB out (1005 KiB/s), 32s
85,697 scanned, 8.14 GiB in (262 MiB/s), 34.5 MiB out (1.06 MiB/s), 37s
Xcp command : xcp isync estimate -id <name>
Estimated Time : 45.1s
Job ID : Job_2023-11-20_04.08.18.967541_isync_estimate
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-20_04.08.18.967541_isync_estimate.log
Error Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-
20_04.08.18.967541_isync_estimate.error
STATUS : PASSED

iSync Estimate -loglevel <name>

使用 -loglevel <name> 带的参数 isync estimate 设置日志级别;可用级别为info和debug。默认值为info。

语法
xcp isync estimate -loglevel <name> -id <name>
显示示例
[root@client1 linux]# ./xcp isync estimate -loglevel DEBUG -id <name>

Job ID: Job_2023-11-16_02.16.58.212518_isync_estimate
Index: <name> {source: <source_ip_address>:/source_vol, target:
<destination_ip_address>:/dest_vol}
Xcp command : xcp isync estimate -loglevel DEBUG -id <name>
Estimated Time : 8m18s
Job ID : Job_2023-11-16_02.16.58.212518_isync_estimate
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_02.16.58.212518_isync_estimate.log
STATUS : PASSED

iSync估计值-保留 时间

使用 -preserve-atime 带的参数 isync estimate 将源上的所有文件还原到上次访问的日期。

语法
xcp isync estimate -preserve-atime -id <name>
显示示例
[root@client1 linux]# ./xcp isync estimate -preserve-atime -id <name>

Job ID: Job_2023-11-16_02.17.32.085754_isync_estimate
Index: <name> {source: <source_ip_address>:/source_vol, target:
<destination_ip_address>:/dest_vol}
Xcp command : xcp isync estimate -preserve-atime -id <name>
Estimated Time : 8m26s
Job ID : Job_2023-11-16_02.17.32.085754_isync_estimate
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_02.17.32.085754_isync_estimate.log
STATUS : PASSED

iSync估计值-s3.insecure

使用 -s3.insecure 带的参数 isync estimate 使用HTTP而非HTTPS进行S3存储分段通信。

语法
xcp isync estimate -s3.insecure -id <name>
显示示例
[root@client1 linux]# ./xcp isync estimate -s3.insecure -id S3_index

Job ID: Job_2023-11-16_02.22.36.481539_isync_estimate
Index: S3_index {source: <source_ip_address>:/source_vol/USER5, target: s3://
xcptesting/test_ankit/}
2,002 scanned, 432 KiB in (86.1 KiB/s), 5.53 KiB out (1.10 KiB/s), 5s
2,002 scanned, 432 KiB in (0/s), 5.53 KiB out (0/s), 10s
Xcp command : xcp isync estimate -s3.insecure -id S3_index
Estimated Time : 9.4s
Job ID : Job_2023-11-16_02.22.36.481539_isync_estimate
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_02.22.36.481539_isync_estimate.log
STATUS : PASSED

iSync Estimate -s3.Endpoint <s3_endpoint_url>

使用 -s3.endpoint <s3_endpoint_url> 带的参数 isync estimate 使用指定的URL覆盖默认AWS端点URL以进行S3存储分段通信。

语法
xcp isync estimate -s3.endpoint <S3_endpoint_url> -id <name>
显示示例
[root@client1 linux]# ./xcp isync estimate -s3.endpoint <S3_endpoint_url> -id S3_index1

Job ID: Job_2023-11-16_02.35.49.911194_isync_estimate
Index: S3_index1 {source: <source_ip_address>:/source_vol/USER5, target: s3://isyncestimate/}
2,002 scanned, 432 KiB in (85.6 KiB/s), 5.54 KiB out (1.10 KiB/s), 5s
2,002 scanned, 432 KiB in (0/s), 5.54 KiB out (0/s), 10s
Xcp command : xcp isync estimate -s3.endpoint <S3_endpoint_url> -id S3_index1
Estimated Time : 13.3s
Job ID : Job_2023-11-16_02.35.49.911194_isync_estimate
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_02.35.49.911194_isync_estimate.log
STATUS : PASSED

iSync估计-s3.profile <name>

使用 s3.profile 带的参数 isync estimate 从AWS凭据文件中为S3存储分段通信指定配置文件。

语法
xcp isync estimate -s3.profile s3_profile -id <name>
显示示例
[root@client1 linux]# ./xcp isync estimate -s3.profile s3_profile -id S3_index

Job ID: Job_2023-11-16_02.25.57.045692_isync_estimate
Index: S3_index {source: <source_ip_address>:/source_vol/USER5, target: s3://
xcptesting/test_ankit/}
2,002 scanned, 432 KiB in (84.9 KiB/s), 5.53 KiB out (1.09 KiB/s), 5s
2,002 scanned, 432 KiB in (0/s), 5.53 KiB out (0/s), 10s
Xcp command : xcp isync estimate -s3.profile s3_profile -id S3_index
Estimated Time : 9.7s
Job ID : Job_2023-11-16_02.25.57.045692_isync_estimate
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_02.25.57.045692_isync_estimate.log
STATUS : PASSED

iSync估计值-s3.noverify

使用 -s3.noverify 带的参数 isync estimate 覆盖S3存储分段通信的SSL认证的默认验证。

语法
xcp isync estimate -s3.noverify -id <name>
显示示例
[root@client1 linux]# ./xcp isync estimate -s3.noverify -id S3_index

Job ID: Job_2023-11-16_02.23.36.515890_isync_estimate
Index: S3_index {source: <source_ip_address>:/source_vol/USER5, target: s3://
xcptesting/test_ankit/}
2,002 scanned, 432 KiB in (85.7 KiB/s), 5.53 KiB out (1.10 KiB/s), 5s
2,002 scanned, 432 KiB in (0/s), 5.53 KiB out (0/s), 10s
Xcp command : xcp isync estimate -s3.noverify -id S3_index
Estimated Time : 9.3s
Job ID : Job_2023-11-16_02.23.36.515890_isync_estimate
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_2023-11-16_02.23.36.515890_isync_estimate.log
STATUS : PASSED