Red Hat Bugzilla – Bug 461903
rcp does not return ENOSPC error on full NFS-File system
Last modified: 2014-10-15 07:30:12 EDT
+++ This bug was initially created as a clone of Bug #461901 +++
Created an attachment (id=316407)
Proposed patch for rsh-0.17-25.4
When using rcp to copy files to/from a NFS volume rcp doesn't report an error if the filesystem is full already, e.g.:
rcp biglocalfile remoteserver:/nfsshare/
Where bigfile is big enough to fill the "nfsshare", no error appears. This may lead to silent data loss.
This is caused by NFS not reporting an error (ENOSPC) during write(2) but just in the close(2) calls (more info in the close manual page).
The related krb5 bug #461902
Right you are and thanks for patch, looks fine for me
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.