write error with krb5p

Le Rouzic aime.le-rouzic at bull.net
Mon Mar 26 07:07:35 EDT 2007


Kumar V Thangavelu a écrit :

>On 3/10/07, J. Bruce Fields <bfields at fieldses.org> wrote:
>  
>
>>On Fri, Mar 09, 2007 at 02:32:28PM -0500, Kumar V Thangavelu wrote:
>>    
>>
>>>I am trying to setup nfs with krb5p support and ran into a bug which
>>>seems related to the post "read error with krb5p".
>>>http://linux-nfs.org/pipermail/nfsv4/2007-February/005722.html
>>>
>>>On the client, it is not possible to write files of size less than 4
>>>bytes when using sec=krb5p.  Atempting to write a file of less than 4
>>>bytes in the client results in a zero length file. Is this a known
>>>issue? Please let me know if there is a patch available? I also see
>>>the read problem mentioned in the earlier post "read error with
>>>krb5p".
>>>      
>>>
>>Yes, it's a known problem.  No, no patch available yet, apologies.  Any
>>write of 1, 2, or 3 bytes at a page-aligned offset fails.  Also
>>reproduced against a netapp server, so it's probably the client that's
>>at fault.  A git bisect suggests that this started happening after
>>5c64097aa0f6dc4f27718ef47ca9a12538d62860, but I don't understand that
>>commit yet.
>>
>>--b.
>>
>>    
>>
>
>I don't see this error after applying the latest patch from
>2.6.21-rc4-CITI_NFS4_ALL-1. Thanks!
>  
>
Hi,

It fixes also:

./runtests -s -t /mnt/krb5p/test

write/read 30 MB file
write/read at 2GB, 4GB edges
can't read at offset 0x080000000: Input/output error
special tests failed

This was registered at:
 http://developer.osdl.org/dev/nfsv4/bugzilla/show_bug.cgi?id=133  

Thanks

  


>_______________________________________________
>NFSv4 mailing list
>NFSv4 at linux-nfs.org
>http://linux-nfs.org/cgi-bin/mailman/listinfo/nfsv4
>
>  
>


-- 
-----------------------------------------------------------------
Company : Bull, Architect of an Open World TM (www.bull.com)
Name    : Aime Le Rouzic 
Mail    : Bull - BP 208 - 38432 Echirolles Cedex - France
E-Mail  : aime.le-rouzic at bull.net
Phone   : 33 (4) 76.29.75.51
Fax     : 33 (4) 76.29.75.18
----------------------------------------------------------------- 



More information about the NFSv4 mailing list