rsync: mkstemp failed: Input/output error (5)
by czezz from LinuxQuestions.org on (#596AZ)
Hi all,
recently I started getting following errors while rsyncing files over nfs4.
Im guessing mkstemp stands for some temporary instance before file is transferred from source to destination.
Then Input/output error (5) would mean either read or write issue. However, when copy (cp -a) that file then no error occurs.
Any ideas where to start troubleshooting this?
Did some one bumped into similar issue?
Code:Copying /var/lib/libvirt/images/test.qcow2 from server1 to /backup/
test.qcow2
1,758,920,704 100% 467.50MB/s 0:00:03 (xfr#1, to-chk=0/1)
rsync: mkstemp "/backup/.test.qcow2.K346Zl" failed: Input/output error (5)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1178) [sender=3.1.2]


recently I started getting following errors while rsyncing files over nfs4.
Im guessing mkstemp stands for some temporary instance before file is transferred from source to destination.
Then Input/output error (5) would mean either read or write issue. However, when copy (cp -a) that file then no error occurs.
Any ideas where to start troubleshooting this?
Did some one bumped into similar issue?
Code:Copying /var/lib/libvirt/images/test.qcow2 from server1 to /backup/
test.qcow2
1,758,920,704 100% 467.50MB/s 0:00:03 (xfr#1, to-chk=0/1)
rsync: mkstemp "/backup/.test.qcow2.K346Zl" failed: Input/output error (5)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1178) [sender=3.1.2]