From: Tobias Diedrich Subject: NFSv3, 2.6, ext3 and dir_index Date: Thu, 20 Jan 2005 17:38:06 +0100 Message-ID: <20050120163806.GA25242@melchior.yamamaya.is-a-geek.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="zYM0uCDKw75PZbzx" Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1CrfK6-0003ZP-Ua for nfs@lists.sourceforge.net; Thu, 20 Jan 2005 08:38:18 -0800 Received: from lum.tdiedrich.de ([193.24.211.71] ident=postfix) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1CrfK4-0002h7-0s for nfs@lists.sourceforge.net; Thu, 20 Jan 2005 08:38:18 -0800 To: nfs@lists.sf.net Sender: nfs-admin@lists.sourceforge.net Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Post: List-Help: List-Subscribe: , List-Archive: --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I recently switched from a local homedir to a NFS mounted homedir and noticed some strange things: I have a Cronjob that goes over my mp3 directory and after the switch find would print "foo/bar/blubb: No such file or directory" for a few (approx. 2-3 out of 1928) directories, but not always the same ones. Also, my mp3 player program would sometimes stop short in the middle of a song and skip to the next one, because it got ENOENT on a read of an open file. Now first I thought it might just be a problem with my Kernel version or one of the patches I'm using and upgraded to a more recent one (currently 2.6.10-ac8-nfsacl on the client and 2.6.10-ac8-imq-nfsacl on the server, I also had the same problem without the nfsacl patches). Then I read an older thread about trouble with ext3/dir_index and NFS in older 2.6 versions and tried disabling dir_index (Which was enabled on all my ext3 filesystems). With that the problem vanished. Are there any known problems with dir_index and NFS, or is this maybe a new bug? Getting a tcpdump of the client<->server traffic proved difficult, because it is a quite sporadic bug and reproducing it would involve quite a lot of NFS traffic. I could reliably trigger this with my CD/DVD burning script, which generates md5sums for each file and puts them both into the file MD5SUMS in the current directory, as well as into another file in my Homedir (But the files being md5summed also live on another NFS export, so there is a _lot_ of traffic). I _do_ have a traffic capture of ls returning "No such file or directory" on the current directory, then cding up a level, down into the directory again and then a working ls. Client fstab entry: nukunuku:/mnt/space1/ranma /home/ranma nfs hard,intr,bg,udp,rsize=4096,wsize=4096 0 0 /proc/mounts entry: nukunuku:/mnt/space1/ranma /home/ranma nfs rw,v3,rsize=4096,wsize=4096,hard,intr,udp,lock,addr=nukunuku 0 0 Server export file: / melchior.yamamaya.is-a-geek.org(sync,rw,no_root_squash) /mnt/space1 melchior.yamamaya.is-a-geek.org(sync,rw,no_root_squash) /mnt/space2 melchior.yamamaya.is-a-geek.org(sync,rw,no_root_squash) /mnt/space3 melchior.yamamaya.is-a-geek.org(sync,rw,no_root_squash) -- Tobias PGP: http://9ac7e0bc.uguu.de --zYM0uCDKw75PZbzx Content-Type: application/octet-stream Content-Disposition: attachment; filename="nfs.tcpdump.gz" Content-Transfer-Encoding: base64 H4sICA/e70EAA25mcy50Y3BkdW1wAM1cC3QUVZquTqeT8JCHOshDeQVIeEOA8BKlu/MCEhLT ERDcral033SXqa7bVlXnhesEmRkdRdz1wCxydHWNgusTZ9RBXeckENBxxQfL6Bx1faJnRh3f 4gtl//92d/pW900DcwSSc+pWdyf3r///7nf/V1Xn0N7f/WeWlC0lfo4dkyQHnD3Ow+7PavpJ f4TXeEizXNKzl0vtz2xd81aeVCpJu+48ulRaOjT7x8578j6Dw+Eck+eQbv3k/XPWvFcaF5Yl OX7dAWcnHHgJFFwjSXXPwTkvTDR/SKUG/Pqv8D4Ax1nxv3PBkQNHLhznwjEcjhFwXABHIRzT 4LgwNsf5nZT8OdeB1xgvubLgzZL2EdKzA596CF6OQWvW1faTlsMbPGJ2xGxi1lzY9iFaM30j WoIWoT1Sobo9bo1DSv/Bi0glIPnfzaxMOP3AcPrBjtPHh889Pk7Pn26c0Jo/t2RlwukjhtM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6yb1PW6c0FOC aPFN12bkBfvvGNN22Hkxfc+kk+CFt3uE9M65J8iL5Vpr7HxHL+vX7U3yYl8Tf5ZOIS/+99qM PmMI48Ueu8+o2lPQ93hxwk+AotXSbzJyg/1HkGl327kx/sKCk+DGFvAZb5+oz6hb8Vns3N7L GnZt4XxGNX+WTiE3SgElvDmMRxo3DncMZdx41MaNFyvPKex73PiHnu79fyx+JW16RwAA --zYM0uCDKw75PZbzx-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs