对于二进制文件、从POSIX路径到POSIX路径的XCP复制不会进行
适用场景
- XCP NFS
- POSIX路径
问题描述
如果源数据包含二进制文件、则从POSIX路径到POSIX路径的XCP复制不会进行
示例:
root@hpcvip0020:/netapp> ./xcp copy -loglevel DEBUG -newid index-filename file:///local2/test/3.13.6 file:///local3XCP 1.9.1; (c) 2023 NetApp, Inc.; Licensed to user_name [Network Appliance, Inc] until Tue Jul 2 21:47:31 2024xcp: Job ID: index_filenamexcp: WARNING: Target file:///local3 is not empty1 scanned, 74 MiB in (14.5 MiB/s), 23 MiB out (4.52 MiB/s), 5s1 scanned, 74 MiB in (0/s), 23 MiB out (0/s), 10s1 scanned, 74 MiB in (0/s), 23 MiB out (0/s), 15s1 scanned, 74 MiB in (0/s), 23 MiB out (0/s), 20s1 scanned, 74 MiB in (0/s), 23 MiB out (0/s), 25s- 没有错误、它只会重复上述 消息、直到 按Ctrl+C中断命令执行为止
- 在此示例中、二进制文件会复制到XCP目标路径local3、但
missing section headersfile命令输出中会显示文件属性。
root@hpcvip0020:/local2/test/weka-3.13.6> ls -altotal 1807764drwxr-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.6root@hpcvip0020:/local2/test/weka-3.13.6> file 3.13.63.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 strippedroot@hpcvip0020:/local3> ls -altotal 1127488drwxr-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.6root@hpcvip0020:/local3> file 3.13.63.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