From owner-freebsd-current@FreeBSD.ORG Thu May 2 16:11:10 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 58B65B4F for ; Thu, 2 May 2013 16:11:10 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from mailhost.dlr.de (mailhost.dlr.de [129.247.252.33]) by mx1.freebsd.org (Postfix) with ESMTP id EA4BB16FB for ; Thu, 2 May 2013 16:11:09 +0000 (UTC) Received: from DLREXHUB01.intra.dlr.de (172.21.152.130) by dlrexedge02.dlr.de (172.21.163.101) with Microsoft SMTP Server (TLS) id 14.2.328.9; Thu, 2 May 2013 18:10:44 +0200 Received: from KNOP-BEAGLE.kn.op.dlr.de (129.247.178.136) by smtp.dlr.de (172.21.152.151) with Microsoft SMTP Server (TLS) id 14.2.328.9; Thu, 2 May 2013 18:10:47 +0200 Date: Thu, 2 May 2013 18:11:58 +0200 From: Hartmut Brandt X-X-Sender: brandt_h@KNOP-BEAGLE.kn.op.dlr.de To: Subject: files disappearing from ls on NFS Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" X-Originating-IP: [129.247.178.136] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2013 16:11:10 -0000 Hi, I've updated one of my -current machines this week (previous update was in february). Now I see a strange effect (it seems only on NFS mounts): ls or even echo * will list only some files (strange enough the first files from the normal, alphabetically ordered list). If I change something in the directory (delete a file or create a new one) for some time the complete listing will appear but after sime time (seconds to a minute or so) again only part of the files is listed. A ktrace on ls /usr/src/lib/libc/gen shows that getdirentries is called only once (returning 4096). For a full listing getdirentries is called 5 times with the last returning 0. I can still open files that are not listed if I know their name, though. The NFS server is a Windows 2008 server with an OpenText NFS Server which works without problems to all the other FreeBSD machines. So what could that be? Regards, harti