From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fieldses.org ([174.143.236.118]:39326 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751291Ab1BASPL (ORCPT ); Tue, 1 Feb 2011 13:15:11 -0500 Date: Tue, 1 Feb 2011 13:15:10 -0500 To: camden lindsay Cc: linux-nfs@vger.kernel.org Subject: Re: clients cannot reconnect to mounted nfs shares after server restart Message-ID: <20110201181510.GA25136@fieldses.org> References: Content-Type: text/plain; charset=utf-8 In-Reply-To: From: "J. Bruce Fields" Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On Mon, Jan 31, 2011 at 07:24:30PM -0800, camden lindsay wrote: > Having an issue i believe is an NFS bug, but would like someone to > verify as well as... point me the correct direction to submit a bug as > needed if it indeed is. > Situation: > NFS server running > Client connected with mounted share > NFS server is shut down -- (halt or /etc/init.d/nfs stop) > NFS server is turned on (booted or /etc/init.d/nfs start) > > Outcome: > NFS client that was connected does not reconnect to that share automatically > NFS client that was connected cannot reconnect via umount then mount again > No other nfs client can connect to that share, before or after origial How long have you waited? > NFS clients attempts to connect/reconnect > NFS clients CAN connect to a different share. > Details/logs: > Server shows that client is authenticating: > Feb  1 03:01:47 BigBox mountd[6557]: authenticated mount request from > 192.168.11.49:674 for /mnt/store/public (/mnt/store/public) > Feb  1 03:01:48 BigBox mountd[6557]: authenticated mount request from > 192.168.11.49:763 for /mnt/store/public (/mnt/store/public) > Feb  1 03:01:50 BigBox mountd[6557]: authenticated mount request from > 192.168.11.49:932 for /mnt/store/public (/mnt/store/public) > Feb  1 03:01:54 BigBox mountd[6557]: authenticated mount request from > 192.168.11.49:942 for /mnt/store/public (/mnt/store/public) A network trace (tcpdump -s0 -wtmp.pcap, then reproduce the problem, then ^C tcpdump, then send us tmp.pcap) might help. > > Client shows retransmission: > dylan@shobuntu:~$ sudo mount -v -t nfs bigbox:/mnt/store/public Public/ > mount.nfs: timeout set for Mon Jan 31 19:09:32 2011 > mount.nfs: text-based options: 'addr=192.168.11.10' > mount.nfs: text-based options: 'addr=192.168.11.10' > mount.nfs: text-based options: 'addr=192.168.11.10' > mount.nfs: text-based options: 'addr=192.168.11.10' > mount.nfs: text-based options: 'addr=192.168.11.10' > > Server Version: > net-fs/nfs-utils >       Latest version available: 1.1.4-r1 >       Latest version installed: 1.1.4-r1 >       Size of files: 574 kB >       Homepage:      http://linux-nfs.org/ >       Description:   NFS client and server daemons >       License:       GPL-2 > (server is on Gentoo, client on Ubuntu) Note most of the NFS code is actually in the kernel, so the kernel version(s) involved would be useful too. --b. > Thanks! > Camden > -- > 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