XCP:使用POSIX路径格式的套接字类型文件复制失败
适用场景
XCP 1.9.3及更早版本
问题描述
- 源卷包含套接字类型文件
- XCP副本使用的是POSIX路径格式
示例:
[root@xcp linux]# ./xcp copy file:///mnt/socket/src file:///mnt/socket/dst
XCP 1.9.3; (c) 2024 NetApp, Inc.; Licensed to user_name [NetApp Inc] until Sat Mar 29 10:17:27 2025
xcp: WARNING: XCP catalog volume is low on disk space: 0.82% used, 94.2 MiB free space.
xcp: WARNING: No index name has been specified, creating one with name: XCP_copy_2024-03-29_06.54.39.708106
Job ID: Job_XCP_copy_2024-03-29_06.54.39.708106_copy
xcp: WARNING: You seem to be using root user.
It is recommended to use <IP>:/<Path> syntax for NFS server(s) instead of posix syntax file://.
Using file:// syntax is slower, typically used with non-root users and will not support live source migrations.
ERROR: nfs3 MKNOD 'somesocket' in 'file:///mnt/socket/dst': nfs3 error 10004: not supported
ERROR: nfs3 MKNOD 'somesocket' in 'file:///mnt/socket/dst': nfs3 error 10004: not supported
xcp: main: WARNING: XCP catalog volume is low on disk space: 0.86% used, 94.2 MiB free space.
Xcp command : xcp copy file:///mnt/socket/src file:///mnt/socket/dst
2 errors
Migration ID: XCP_copy_2024-03-29_06.54.39.708106
Job ID : Job_XCP_copy_2024-03-29_06.54.39.708106_copy
Log Path : /opt/NetApp/xFiles/xcp/xcplogs/Job_XCP_copy_2024-03-29_06.54.39.708106_copy.log
STATUS : FAILED