read error with krb5p

J. Bruce Fields bfields at fieldses.org
Mon Mar 19 23:48:46 EDT 2007


On Tue, Feb 20, 2007 at 09:43:32AM +0100, Jochen Radmacher wrote:
> On Mon, Feb 19, 2007 at 02:34:28PM -0500, Mike wrote:
> >> This appears to be a bug with sec=krb5p. Files less than eight bytes in
> >> length on the server can not be read by the client. An I/O error is
> >> encountered.
> >>     
> >
> > Thanks for the report.  I can reproduce a similar problem here, but
> > haven't yet worked out the cause....
> >   
> Same problem here:
> When I migrated my homedir from my local harddisk to my nfs share 
> (mounted with sec=krb5p), I had a similar problem with very small 
> files(The two I checked where 7 Bytes). I can not create new small files 
> (1 to 7 Bytes) on the nfs share and I could not copy the original files 
> from my local disk. The errors message was something like: "could not 
> close file" while copying or ""smalltest2" E667: Fsync failed" in vim.
> 
> The server and client are both gentoo systems:
> server + client :
> nfsutils 1.0.10 from portage (this package uses nfs-utils-1.0.10  + 
> nfs-utils-1.0.10-CITI_NFS4_ALL-1.dif)
> server:
> Linux version 2.6.18.1 (root at s1) (gcc version 4.1.1 (Gentoo 4.1.1))
> client:
> Linux version 2.6.20-gentoo (root at client) (gcc version 4.1.1 (Gentoo 4.1.1))

Sorry for the long delay--this was a pain to track down.  If you get the
chance to test the following patch, let me know if it solves the
problem.--b.



More information about the NFSv4 mailing list