Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4412588pxf; Tue, 30 Mar 2021 07:15:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbFdcqKhCV6H8tB5fkim94+jilvb4lkrzICt7mkC9fUK68ZO5nxUaMpA5XeqCChO3wLg68 X-Received: by 2002:a17:906:5495:: with SMTP id r21mr33831169ejo.471.1617113726843; Tue, 30 Mar 2021 07:15:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617113726; cv=none; d=google.com; s=arc-20160816; b=IYNjLzcOJZgbQvXAMqoJE4xlKkLSgNMtcKvDcIBbicw3n1K024WAI1YbmlT6f4KQ7k 9jzrHotoVNA08NRXD4SRWGIwDLwPbNKBWQaTR/NPgk48DYEvrfnxrctH5JkEtyVddCf8 enNKNfAczZoAeBi4TC6/mpyfP8zYEaZDmKb8zUAMlDGnwW4ti+GqkaTOipPmjmxHYZhb /p0nKfEDtzdoAmDBRGa4p049YyzhNuwombE8o3CIlZXMfuT0NRpJJe62aBFFW9VyKeNl x1+9nyDMKAM11z8oO0VBdwf1tDw9Zx58lZF/OCvXukwpTHIQKR6DtvujVWZEjU/zPGz8 C7nA== 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=Y9LfZVLxuKGA0TLLTcdK+WKmvUscuQZOjuz6NtZ5wWQ=; b=qrMzGAY98nHbMCAWYOOajZlbhWlkTzSdm4iFLufxdHknnwl0iD9VBRWng4F220WK5/ azQ+Hy9BELZSpOyVz2AH50lvKPyyqrIp33X+pjQRf5B0SztWRdadJVCxAZTVhBEhwtYe zMMDDpQjOZJnJqgsSoehOMMEyabcgtnxe95JumChmS5hEHu78UGY69kaplaNN0SUdT28 NwdZ/ceBkhe78Xk4vC5A20mqIHOWA4uYm574tz8EmuYHPcCa63fQGDJwVGAWCxNICKmG INEiDykLoksObHJtQvDF4YR7xrYzc4lYoko9PdwtF0sVC0cJW2EprjECHoQVDJjA1HFh YrEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=mrBKh2o2; 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 gl1si14848710ejc.456.2021.03.30.07.14.54; Tue, 30 Mar 2021 07:15:26 -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=mrBKh2o2; 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 S231627AbhC3OOW (ORCPT + 99 others); Tue, 30 Mar 2021 10:14:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231710AbhC3OOB (ORCPT ); Tue, 30 Mar 2021 10:14:01 -0400 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9971C061574 for ; Tue, 30 Mar 2021 07:14:00 -0700 (PDT) Received: by fieldses.org (Postfix, from userid 2815) id 21E24200B; Tue, 30 Mar 2021 10:13:59 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 21E24200B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1617113639; bh=Y9LfZVLxuKGA0TLLTcdK+WKmvUscuQZOjuz6NtZ5wWQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mrBKh2o2BW67HbVRYZX9lGF/sI2MANyUDmwBV17JrU2ZxaKsRAyErPUbUQ/7ZJPhr rybVNij9H0OkZX0axVtMG/3sI1t40soX7hAv6AR2Qw0GNC0eCqVnzvNLlY071wcaH1 71MJjTRfLrxd48vWWOyRz4Agj3BVzvztdQSEPStQ= Date: Tue, 30 Mar 2021 10:13:59 -0400 From: "J. Bruce Fields" To: Benjamin Maynard Cc: linux-nfs@vger.kernel.org Subject: Re: Input/output errors when mounting re-exported directories that use crossmounts Message-ID: <20210330141359.GA8841@fieldses.org> References: <20210325213421.GC18351@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 One of my pie-in-the-sky ideas here is to allow running the server in a mode where it re-exports one server and has no other exports whatsoever. That would mean that when the re-exporting server gets a filehandle, it knows it originated from that one server, and if necessary it can do things like issue a getattr on that filehandle for the fsid to find out which filesystem it belongs to. It's a major restriction, but I figure that might be what you're doing anyway in a case like yours. Perhaps containers or VMs would be a workaround if you want to server more exports from the same physical hardware. But, anyway, I'm not actually sure how to make that work and it's not currently on the todo list. --b.