From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p6RHjkuH215124 for ; Wed, 27 Jul 2011 12:45:47 -0500 Received: from fieldses.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id D3B219C94C for ; Wed, 27 Jul 2011 10:45:43 -0700 (PDT) Received: from fieldses.org (fieldses.org [174.143.236.118]) by cuda.sgi.com with ESMTP id Fl3dyIN6KPO4Vbyo for ; Wed, 27 Jul 2011 10:45:43 -0700 (PDT) Date: Wed, 27 Jul 2011 13:45:37 -0400 From: "J. Bruce Fields" Subject: Re: 2.6.xx: NFS: directory motion/cam2 contains a readdir loop Message-ID: <20110727174537.GA9667@fieldses.org> References: <4E303F6F.8010706@netapp.com> <201107271900.11091.sweet_f_a@gmx.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Justin Piszcz Cc: Ruediger Meier , linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, xfs@oss.sgi.com, Bryan Schumaker On Wed, Jul 27, 2011 at 01:17:35PM -0400, Justin Piszcz wrote: > > > On Wed, 27 Jul 2011, Ruediger Meier wrote: > > >On Wednesday 27 July 2011, Bryan Schumaker wrote: > >>On 07/27/2011 12:28 PM, Justin Piszcz wrote: > >>>On Wed, 27 Jul 2011, J. Bruce Fields wrote: > >>>> > >>>>What filesystem on the server are you exporting? > >>> > >>>xfs. > >>>/dev/sda1 on / type xfs (rw,noatime) > >>> > >>>Nothing special, thoughts? > >> > >>Are there a lot of files in the directory you're exporting? It looks > >>like cookie 10272 is mapped to multiple files. > > > >I thought xfs is immune to readdir loops!? > >Is your export directory really located directly within / on /dev/sda1? > > Hi, > > I was sharing out a directory on the NFS server: > /d1 192.168.0.0/24(async,rw,no_root_squash,no_subtree_check,fsid=1) > > Should I share out / instead? You can do that if you want, but note that anyone malicious on that network can get access to / by guessing filehandles. (Safer would be to mount a separate partition at /d1.) But in any case that's got nothing to do with readdir cookie problems. --b. > Is this a known problem? > > $ df -h > Filesystem Size Used Avail Use% Mounted on > /dev/sda1 30G 13G 18G 43% / > tmpfs 2.0G 8.0K 2.0G 1% /lib/init/rw > udev 10M 192K 9.9M 2% /dev > tmpfs 2.0G 0 2.0G 0% /dev/shm > $ > > Justin. > > _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs