Return-Path: linux-nfs-owner@vger.kernel.org Received: from fieldses.org ([174.143.236.118]:35107 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751157Ab3ISPPw (ORCPT ); Thu, 19 Sep 2013 11:15:52 -0400 Date: Thu, 19 Sep 2013 11:15:51 -0400 From: "J. Bruce Fields" To: Jody Gugelhupf Cc: "linux-nfs@vger.kernel.org" Subject: Re: help with nfs export/mount Message-ID: <20130919151551.GE20422@fieldses.org> References: <1379582806.44080.YahooMailNeo@web140003.mail.bf1.yahoo.com> <20130919131429.GA20422@fieldses.org> <1379597501.95818.YahooMailNeo@web140002.mail.bf1.yahoo.com> <20130919134028.GB20422@fieldses.org> <1379599410.72261.YahooMailNeo@web140001.mail.bf1.yahoo.com> <20130919140846.GC20422@fieldses.org> <1379600464.91434.YahooMailNeo@web140005.mail.bf1.yahoo.com> <20130919142535.GD20422@fieldses.org> <1379601992.25969.YahooMailNeo@web140005.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: <1379601992.25969.YahooMailNeo@web140005.mail.bf1.yahoo.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Thu, Sep 19, 2013 at 07:46:32AM -0700, Jody Gugelhupf wrote: > ah ok, i have dropped the "fsid=0" as you had suggested but had still mounted with "sudo mount 192.168.2.3:/ /home/jarvis/Videos/xbmc" > though when doing tab completition on cli it does show  > ls /home/jarvis/Videos/xbmc/ > ls /home/jarvis/Videos/xbmc/home > > ls /home/jarvis/Videos/xbmc/home/user > > ls /home/jarvis/Videos/xbmc/home/user/media > > ls /home/jarvis/Videos/xbmc/home/user/media/Series > > and then hangs indeed That does sound like a kernel or mountd bug. Possibly it's confused by the bind mounts. Could you post the contents of /proc/self/mounts on the server? Also, reproduce the hang as above on the client, then as root on the server, run: rpcdebug -m rpc -s cache cat /proc/net/auth.unix.ip/content cat /proc/net/rpc/nfsd.fh/content cat /proc/net/rpc/nfsd.export/content and post the output. Finally if you're up to building the latest nfs-utils and kernel from source it would be interesting to know whether the bug persists upstream. --b. > > > > > ----- Original Message ----- > From: J. Bruce Fields > To: Jody Gugelhupf > Cc: "linux-nfs@vger.kernel.org" > Sent: Thursday, September 19, 2013 4:25:35 PM > Subject: Re: help with nfs export/mount > > On Thu, Sep 19, 2013 at 07:21:04AM -0700, Jody Gugelhupf wrote: > > on client side (in order): > > > > sudo mount 192.168.2.3:/ /home/jarvis/Videos/xbmc > > As I said, if you've dropped the "fsid=0" (which you should) then you > should be mounting the real server-side path, not /. > > > no error msg, then trying to access the directory: > > ls /home/jarvis/Videos/xbmc/home/user/media/Series > > the console does not react, > > So the mount succeeds, but the "ls" hangs? > > --b. > > > i open a new console and see again  > > Sep 19 14:15:56 darkstar kernel: [61095.429346] nfs: server 192.168.2.3 OK > > Sep 19 14:17:01 darkstar kernel: [61280.169706] nfs: server 192.168.2.3 not responding, still trying > > > > > > but i also noticed this (didn't see it before) > > Sep 19 16:12:53 darkstar rpc.idmapd[576]: nss_getpwnam: name 'user' not found in domain 'localdomain' > > > > > > > > ----- Original Message ----- > > From: J. Bruce Fields > > To: Jody Gugelhupf > > Cc: "linux-nfs@vger.kernel.org" > > Sent: Thursday, September 19, 2013 4:08:46 PM > > Subject: Re: help with nfs export/mount > > > > On Thu, Sep 19, 2013 at 07:03:30AM -0700, Jody Gugelhupf wrote: > > > on server side I see in dmesg this: > > > [8040437.603605] nfsd: last server has exited, flushing export cache > > > [8040439.496016] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory > > > [8040439.496035] NFSD: starting 90-second grace period > > > > > > on client side i only see: > > > Sep 19 13:27:56 darkstar kernel: [61095.429346] nfs: server 192.168.2.3 OK > > > Sep 19 13:31:01 darkstar kernel: [61280.169706] nfs: server 192.168.2.3 not responding, still trying > > >  is there a way to further debug? > > > > Exactly what commands did you type, and what things happened, in what > > order? > > > > --b. > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at  http://vger.kernel.org/majordomo-info.html >