XCP sync fails with nfs3 error 66 directory not empty
Applies to
XCP NFS 1.9.4
Issue
- The XCP sync job faied
- The following NFS3 error codes were seen
Example:
2025-06-23 13:20:03,455 - INFO - 8067 xcp xcp Command: sync {-id: 'date_copy', -parallel: 16}2025-06-23 14:20:26,078 – ERROR – 8067 xcp xcp nfs3 WRITE ‘server:/data/catalog/indexes/date_copy/sync/sync.index’ offset 3114258432 count 4096: nfs3 error 70: stale filehandle2025-06-23 14:20:30,893 - INFO - 8067 xcp xcp Command has failed2025-06-23 14:20:03,722 – INFO – 3717 xcp xcp Command: sync {-id: ‘date_copy’, -parallel: 16}2025-06-23 15:10:19,479 - INFO - 3717 xcp batch 110799 30368 xcp createcopy 'b'file_name'' First error was nfs3 SYMLINK 'file_name' in 'target_name:/target_path': nfs3 error 17: already exists; then encountered fatal error trying to remove target_name:/target_path/b'file_name'30368 xcp createcopy 'b'file_name'' Traceback (most recent call last): File "sched.pyx", line 651, in sched.Engine._runTasks File "sched.pyx", line 1696, in sched.Task.run File "rd.pyx", line 3174, in gCreateCopy File "rd.pyx", line 3161, in rd.CreateCopyTask.gCreateCopy File "rd.pyx", line 3158, in rd.CreateCopyTask.gCreateCopynfs3.ENotEmpty: nfs3 RMDIR 'file_name' in 'target_name:/target_path': nfs3 error 66: directory not empty2025-06-23 15:10:21,220 - INFO - 3717 xcp xcp Command has failed