Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2272323pxj; Sun, 16 May 2021 20:49:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeyk42eZzhYxaOHRlXw6xLoLdU4yr25WfGiTIMVbjmsBM2jkLdXEtbI5rT/hLWDTPMP4yy X-Received: by 2002:a50:c09a:: with SMTP id k26mr68816704edf.27.1621223391128; Sun, 16 May 2021 20:49:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621223391; cv=none; d=google.com; s=arc-20160816; b=pk9YRpmuz28KXgQXAB3Bsii6jIRVyRRpUmN0CJ1leLvL2Bva7UqJ8qUAZlRrR4m3G+ vnUnmT4gh43fEHlsXJeF6gZgkMa//n9CUxs4Lqg7rMMdWOBsN7F6mYtdl9B/1/70nYb/ GzJQCYOx0tIRAaxOzJH3TPkdUwmueAoLcQrDzNftJrZWsaYlZLfrE03Maj13MEI28s1m 1yh/WV9goA3ijNXHyfDx/ympG/X8ejELDctrIkCUJBF7bex0f618yoe9kNIhSEvsYdT2 5mKVkam6bVdKWpBvblRBKeK78E5Q1gNJvMA1LpXuvbcl6sYUaAapfcwUW1ioc6NrLeyu Hr9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:references:in-reply-to:subject :cc:to:from:mime-version:content-transfer-encoding; bh=YEFLcFvoJa/1L/CqTnyt2nRa4FxGsn3sdjjoKFHtM4w=; b=sXA8Qo60bmH0pZuARZ4KhKXHwxqCskM7ioHokUEIIJONOFRDTKrfsjpWs+jh7diTNS g+pGDsS2xKY2kd/OM7+YfDA/SDyGMhTd17CvLTwIWqnOiIdypTSYc9+TBs+h1G7uQwV9 vAwYFrXFsvWhX1Iu4KGS25/a03T3BFDpB580RGvwZF764T3j2vYCscE/ns252s9Y/i2A pvXJU8o57U+32XVBEqNqysbJRvyJPiB9s83yCvx8frh5+xui//s726quMjAvZxh3VmmA s/DaCNpTjtrlsk9JknnlAbXcDs8OeYTfOpsT50OxscVBBU8j9ZxnrbnXLiOli/Hfcx8p Uc2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u12si13418861eda.121.2021.05.16.20.49.15; Sun, 16 May 2021 20:49:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234039AbhEQDKI convert rfc822-to-8bit (ORCPT + 99 others); Sun, 16 May 2021 23:10:08 -0400 Received: from mx2.suse.de ([195.135.220.15]:60876 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231658AbhEQDKI (ORCPT ); Sun, 16 May 2021 23:10:08 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 8E1C1B20F; Mon, 17 May 2021 03:08:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 From: "NeilBrown" To: "Petr Vorel" Cc: "J . Bruce Fields" , linux-nfs@vger.kernel.org, "Steve Dickson" , "Chuck Lever" , "Alexey Kodanev" , debian-kernel@lists.debian.org Subject: Re: Re: Re: [PATCH/RFC nfs-utils] Fix NFSv4 export of tmpfs filesystems. In-reply-to: References: <20210422191803.31511-1-pvorel@suse.cz>, <20210422202334.GB25415@fieldses.org>, , <162035212343.24322.12361160756597283121@noble.neil.brown.name>, , <162087884172.5576.348023037121213464@noble.neil.brown.name>, , Date: Mon, 17 May 2021 13:08:45 +1000 Message-id: <162122092561.6103.8867715057681755093@noble.neil.brown.name> Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Fri, 14 May 2021, Petr Vorel wrote: > > The failure has really something to do with rpcbind ("mount.nfs: portmap query > failed:"): > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > write(2, "mount.nfs: trying 10.0.0.2 prog "..., 66) = 66 > socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) = 5 > fcntl(5, F_GETFL) = 0x2 (flags O_RDWR) > fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0 > connect(5, {sa_family=AF_INET, sin_port=htons(37873), sin_addr=inet_addr("10.0.0.2")}, 16) = -1 EINPROGRESS (Operation now in progress) > select(6, NULL, [5], NULL, {tv_sec=10, tv_usec=0}) = 1 (out [5], left {tv_sec=9, tv_usec=999998}) > getsockopt(5, SOL_SOCKET, SO_ERROR, [111], [4]) = 0 > fcntl(5, F_SETFL, O_RDWR) = 0 > close(5) = 0 > write(2, "mount.nfs: portmap query failed:"..., 79) = 79 The "111" from getsockopt...SO_ERROR is ECONNREFUSED. That suggests that rpcbind wasn't even running. This is different to the first strace you reported where mount.nfs successfully connected to rpcbind, sent and request and got a response, and then fail the mount. That would happen if, for example, rpc.mountd wasn't running. So I think these failures are caused by some problem with restarting the services and aren't actually testing the code at all. Could you try again and make sure rpcbind and rpc.mountd are running on the server before attempting the mount? Thanks, NeilBrown