跳转到主内容

对于二进制文件、从POSIX路径到POSIX路径的XCP复制不会进行

Views:
3
Visibility:
Public
Votes:
0
Category:
netapp-xcp<a>XCP</a><a>二进制文件</a><a>POSIX</a><a>2009736273</a>
Specialty:
nas
Last Updated:

适用场景

  • XCP NFS
  • POSIX路径

问题描述

如果源数据包含二进制文件、则从POSIX路径到POSIX路径的XCP复制不会进行
 
示例:
root@hpcvip0020:/netapp> ./xcp copy -loglevel DEBUG -newid index-filename file:///local2/test/3.13.6 file:///local3
XCP 1.9.1; (c) 2023 NetApp, Inc.; Licensed to user_name [Network Appliance, Inc] until Tue Jul  2 21:47:31 2024
 
xcp: Job ID: index_filename
xcp: WARNING: Target file:///local3 is not empty
1 scanned, 74 MiB in (14.5 MiB/s), 23 MiB out (4.52 MiB/s), 5s
1 scanned, 74 MiB in (0/s), 23 MiB out (0/s), 10s
1 scanned, 74 MiB in (0/s), 23 MiB out (0/s), 15s
1 scanned, 74 MiB in (0/s), 23 MiB out (0/s), 20s
1 scanned, 74 MiB in (0/s), 23 MiB out (0/s), 25s
  • 没有错误、它只会重复上述 消息、直到 按Ctrl+C中断命令执行为止
  • 在此示例中、二进制文件会复制到XCP目标路径local3、但 missing section headers  file 命令输出中会显示文件属性。
root@hpcvip0020:/local2/test/weka-3.13.6> ls -al
total 1807764
drwxr-xr-x 2 root root    4096 Jul 14  2022 .
drwxr-xr-x 3 root root     48 Jul 28 15:11 ..
-rw-r--r-- 1 root root  79707528 Jul 14  2022 3.13.6
 
root@hpcvip0020:/local2/test/weka-3.13.6> file 3.13.6
3.13.6:  ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, with debug_info, not stripped
 
root@hpcvip0020:/local3> ls -al
total 1127488
drwxr-xr-x  2 root root    4096 Jul 28 15:16 .
dr-xr-xr-x. 32 root root    4096 Jul 28 15:14 ..
-rwxr-xr-x  1 root root  24117248 Jul 28 15:16 3.13.6
 
root@hpcvip0020:/local3> file 3.13.6
3.13.6:  ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, missing section headers

 

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.