XCP copy reports nfs3 error "5: I/O error" seen for nfs3 SETATTR calls
Applies to
XCP 1.6.3
Issue
- XCP copy reports nfs3 error 5: I/O error, but final result is PASSED
XCP logs :
2021-05-27 04:14:44,248 - WARNING - 8837 xcp copying 'testfile12' target:/fold1/fold2/testperm3/testfile12: nfs3 SETATTR 'target:/fold1/fold2/testperm3/testfile12' mode 00755, uid 167262, gid 20424, atime Fri May 21 03:27:20 2021, mtime Mon Mar 8 21:26:10 2021: nfs3 error 5: I/O error
2021-05-27 04:14:44,252 - WARNING - 8837 xcp copying 'testfile3' target:/fold1/fold2/testperm3/testfile3: nfs3 SETATTR 'target:/fold1/fold2/testperm3/testfile3' mode 00444, uid 167262, gid 20424, atime Fri May 21 03:27:20 2021, mtime Mon Mar 8 21:24:31 2021: nfs3 error 5: I/O error
2021-05-27 04:14:44,253 - WARNING - 8837 xcp copying 'testfile2' target:/fold1/fold2/testperm3/testfile2: nfs3 SETATTR 'target:/fold1/fold2/testperm3/testfile2' mode 00440, uid 167262, gid 20424, atime Fri May 21 03:27:20 2021, mtime Mon Mar 8 21:24:29 2021: nfs3 error 5: I/O error
..
2021-05-27 04:14:59,856 - INFO - 8708 xcp xcp 747 scanned, 734 copied, 12 linked, 747 indexed, 14 nonacls, 733 getacls, 733 acls, 733 setacls, 223 MiB in (7.72 MiB/s), 223 MiB out (7.74 MiB/s), 28s.
2021-05-27 04:14:59,857 - INFO - 8708 Command has passed
Xcp command : xcp copy -newid 1463 -parallel 7 -acl4 src:/folders/.snapshot/path1/path2 target:/fold1/fold2
Stats : 747 scanned, 734 copied, 12 linked, 747 indexed, 14 nonacls, 733 getacls, 733 acls, 733 setacls
Speed : 223 MiB in (7.84 MiB/s), 223 MiB out (7.86 MiB/s)
Total Time : 28s.
STATUS : PASSED
- Also running XCP verify after this shows different attrs, different mod times and different acls
xcp xcp Command: verify {-acl4: True, -noId: True, -parallel: 7, -v: True}
2021-05-21 07:34:52,149 - INFO - 6066 xcp xcp 749 scanned, 100% found (639 have data), 444 compared, 444 same data, 282 different attrs, 198 different mod times, 2 nonacls, 1028 getacls, 178 same acls, 336 different acls, 431 MiB in (19.5 MiB/s), 1.72 MiB out (79.6 KiB/s), 22s.
2021-05-21 07:34:52,150 - INFO - 6066 Command has failed
- When comparing source and destination files after XCP copy
- Some source and dest file has different ACLs
- Owner info is not properly set on dest file
- Timestamp is also not set on dest
- Mode displayed from ls -l is different