XCP copy from posix-path to posix-path does not make progress for binary file
Applies to
- XCP NFS
- Posix-path
Issue
XCP copy from posix-path to posix-path does not make progress if source data contains binary file
Example:
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
- No error, it just repeats above messages until interrupting the command execution by pressing Ctrl+C
- In this example, the binary file is copied to XCP target path local3, but the file properties show
missing section headers
from thefile
command output.
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