Red Hat Bugzilla – Bug 461901
rcp does not return ENOSPC error on full NFS-File system
Last modified: 2013-04-30 19:41:15 EDT
Created attachment 316407 [details]
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 same bug for krb5: bug #461900
Right you are and thanks for patch, looks fine for me
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".