From owner-freebsd-fs@FreeBSD.ORG Tue Aug 10 12:48:13 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D3951065679 for ; Tue, 10 Aug 2010 12:48:13 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.freebsd.org (Postfix) with ESMTP id D20248FC1C for ; Tue, 10 Aug 2010 12:48:12 +0000 (UTC) Received: by people.fsn.hu (Postfix, from userid 1001) id C46B73CC6D3; Tue, 10 Aug 2010 14:48:10 +0200 (CEST) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MF-ACE0E1EA [pR: 11.7601] X-CRM114-CacheID: sfid-20100810_14475_32427208 X-CRM114-Status: Good ( pR: 11.7601 ) X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Tue Aug 10 14:48:10 2010 X-DSPAM-Confidence: 0.7619 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 4c614a8a694271149370396 X-DSPAM-Factors: 27, From*Attila Nagy , 0.00085, wrote, 0.00230, wrote, 0.00230, FreeBSD, 0.00243, FreeBSD, 0.00243, >+It, 0.01000, both+the, 0.01000, I+haven't, 0.01000, ps, 0.01000, but+I've, 0.01000, Subject*file, 0.01000, Subject*file, 0.01000, I've+tried, 0.01000, wrote+>>, 0.01000, wrote+>>, 0.01000, Subject*can+be, 0.99000, things+>, 0.01000, tested, 0.01000, >+1, 0.01000, >+2, 0.01000, Subject*but, 0.99000, default, 0.01000, default, 0.01000, why+the, 0.01000, by+>, 0.01000, at+02, 0.01000, X-Spambayes-Classification: ham; 0.00 Message-ID: <4C614A7D.8030509@fsn.hu> Date: Tue, 10 Aug 2010 14:47:57 +0200 From: Attila Nagy User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.23) Gecko/20090817 Thunderbird/2.0.0.23 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Rick Macklem References: <163511110.410136.1281226007565.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <163511110.410136.1281226007565.JavaMail.root@erie.cs.uoguelph.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: NFS problem: file doesn't appear in file listing, but can be accessed directly X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2010 12:48:13 -0000 On 08/08/2010 02:06 AM, Rick Macklem wrote: >> On 07.08.2010, at 02:35, Rick Macklem wrote: >> >> I agree, this must be some kind of server issue then. Still, I wonder >> why the solaris client didn't show the problem... >> >> > 2 things: > 1 - the solaris client uses ReaddirPlus and not Readdir RPCs by > default (I can't remember if that default can be overridden?). I don't know whether this counts or not, but I've tried with an old Solaris (x86) 8 (uname says it's Generic_108529-06). > ps: I don't recall the previous emails mentioning that the "ls" > was ok for a solaris client. > It was in 4C582968.9000303@fsn.hu: "I've mounted the share from an old Solaris box, which sees the file." This means, when I issue an ls | grep problematic_fname, I can see the filename. BTW, this turned out to be incorrect, because I've tested with the same (one of the missing) filename. Doing a find . in the directory on both FreeBSD and Solaris client shows some differences. So what I have now is: both the normal and the experimental NFSD show the problem on both FreeBSD and Solaris clients (only the missing file names are different). On Solaris there are 78 files missing, on FreeBSD there are 193, I haven't checked that they are persistent across reboots or not.