Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1572485pxy; Fri, 23 Apr 2021 11:14:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDOT1dqVJGAZhktZDn2Ph/LqaAjhvl2od9yyQJ2ruuqs5YtT3B2ESYA7/t3yRfVLr00A7W X-Received: by 2002:a17:906:4cc5:: with SMTP id q5mr5616633ejt.302.1619201657890; Fri, 23 Apr 2021 11:14:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619201657; cv=none; d=google.com; s=arc-20160816; b=mQMqwwgfmVNGpWTgprmJvMGkJc8U4aBKFZb0IeDOj2kUaVtR57MIw2Ym29I7EGecwU YhPfqnhQ0JjdHbK1Z8KOIfSoyJSzF55ITEXL/yEgc2AnZqv0JZcK8ZQ/amRmOzBGbbBM F/3PTNS8KUe73zrvt/v5JC1HUGTMZ3OUUjpZgaqnWV5fRLOMVBnKedp/EsW0dprCCspA nU/jWtHss2Sn0Tz42pLMCKJ7zLMAXMh7WnXz7na9Zt4jOv3Lgtl6MlqTAfSB3qX6CNgo bV1PK4GHJEqHwWO8bbUwXojEqiaTnJuHzzpIMAQujH/vhHMERFJk1IPtr0WDhT3RC2j1 jvSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=VDGScNMt8YSsBjppsorWazd/XLOqA14J/qrZcgK7jY0=; b=E0esWTKNLQLcxeE2VacFguApB6PfxfFoudMLkLnxgd5w1/xFwDE2dlwCSm/DX47Znu UbVtXr5ge7H3PWlvlPaOhR1mnA8lv7tSVbComEekkouADqfzqgy3n+R02fhQ686XanE3 jKgJhkx5Q8BO14I8gIZMCMUuVTgxMzw+NJqvko10PKeznYUQQVrvF6r9Eb+7QRVbDZIW PqiNWQRmcCqInpPKGy7ZjQNTMKG3J2JKCzH0a125dG9fi3sJevsjUReE8wURYqTH9nZc TO0Z0kJyrxMODjaB3EaOCbDeaeD6aIRs4/d26Z2nKUqKuEDjDEQeAEWYCBaM1KV430A/ SJFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=HYBD6LDM; 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 fp7si5465762ejc.538.2021.04.23.11.13.53; Fri, 23 Apr 2021 11:14:17 -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; dkim=pass header.i=@fieldses.org header.s=default header.b=HYBD6LDM; 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 S231400AbhDWSOX (ORCPT + 99 others); Fri, 23 Apr 2021 14:14:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbhDWSOW (ORCPT ); Fri, 23 Apr 2021 14:14:22 -0400 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0552DC061574 for ; Fri, 23 Apr 2021 11:13:45 -0700 (PDT) Received: by fieldses.org (Postfix, from userid 2815) id 6FC5072B6; Fri, 23 Apr 2021 14:13:45 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 6FC5072B6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1619201625; bh=VDGScNMt8YSsBjppsorWazd/XLOqA14J/qrZcgK7jY0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HYBD6LDMK0lkICFC5weCMWQFGTrJlPLtFIQzu1vnYDxaT+hA+mmQn7fL+IqoymPst rKjK7yfW0xHikyK2HdJpmE/QeJ6dyfP+XFjHhVG15StOhS2HEsrYXQLHUg9g8YXUqR JWu/2EjQqAI2B1FdS4gV6IUNTmE+bGhvOhZ5WbOs= Date: Fri, 23 Apr 2021 14:13:45 -0400 From: "J . Bruce Fields" To: Petr Vorel Cc: linux-nfs@vger.kernel.org, Steve Dickson , NeilBrown , Chuck Lever , Alexey Kodanev Subject: Re: [RFC PATCH 1/1] mount.nfs: Fix mounting on tmpfs Message-ID: <20210423181345.GE10457@fieldses.org> References: <20210422191803.31511-1-pvorel@suse.cz> <20210422202334.GB25415@fieldses.org> <20210423142329.GB10457@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Fri, Apr 23, 2021 at 07:04:41PM +0200, Petr Vorel wrote: > Hi Bruce, > > > On Fri, Apr 23, 2021 at 04:17:52AM +0200, Petr Vorel wrote: > > > Hi, > > > > > On Thu, Apr 22, 2021 at 09:18:03PM +0200, Petr Vorel wrote: > > > > > LTP NFS tests (which use netns) fails on tmpfs since d4066486: > > > > > > mount -t nfs -o proto=tcp,vers=4.2 10.0.0.2:/tmp/ltp.nfs01.nfs-4.2/LTP_nfs01.UF6gRZCy3O/4.2/tcp /tmp/ltp.nfs01.nfs-4.2/LTP_nfs01.UF6gRZCy3O/4.2/0 > > > > > mount.nfs: mounting 10.0.0.2:/tmp/ltp.nfs01.nfs-4.2/LTP_nfs01.UF6gRZCy3O/4.2/tcp failed, reason given by server: No such file or directory > > > > > We should figure out the reason for the failure. A network trace might > > > > help. > > > > Anything specific you're looking for? > > > Actually I was thinking of capturing the network traffic, something > > like: > > tcpdump -s0 -wtmp.pcap -i > > > then try the mount, then kill tcpdump and look at tmp.pcap. > > I don't see anything suspicious, can you please have a look? > https://gitlab.com/pevik/tmp/-/raw/master/nfs.v3.pcap > https://gitlab.com/pevik/tmp/-/raw/master/nfs.v4.pcap > https://gitlab.com/pevik/tmp/-/raw/master/nfs.v4.1.pcap > https://gitlab.com/pevik/tmp/-/raw/master/nfs.v4.2.pcap It might be the "hide" option, that's odd: > exportfs -v > /tmp/LTP_nfs01.xkKpqpRikV/4.2/tcp > (sync,wdelay,hide,no_subtree_check,fsid=7239,sec=sys,rw,secure,no_root_squash,no_all_squash) --b.