Return-Path: linux-nfs-owner@vger.kernel.org Received: from partagas.dragonet.es ([217.70.240.130]:58153 "EHLO partagas.dragonet.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759727Ab2BJTG4 (ORCPT ); Fri, 10 Feb 2012 14:06:56 -0500 Message-ID: <4F356AB7.7070408@steve-ss.com> Date: Fri, 10 Feb 2012 20:06:31 +0100 From: steve MIME-Version: 1.0 To: Daniel Kahn Gillmor CC: whats_up@gmx.net, linux-nfs@vger.kernel.org Subject: Re: mount hangs in NFS4+Kerberos setup References: <20120210154526.7b504146@little-poseidon> <4F35512A.9050500@steve-ss.com> <20120210184154.03fb6907@little-poseidon> <4F355CD2.6040603@steve-ss.com> <4F35603A.5050508@fifthhorseman.net> In-Reply-To: <4F35603A.5050508@fifthhorseman.net> Content-Type: text/plain; charset=UTF-8; format=flowed Sender: linux-nfs-owner@vger.kernel.org List-ID: On 02/10/2012 07:21 PM, Daniel Kahn Gillmor wrote: > On 02/10/2012 01:07 PM, steve wrote: >> Officially, you should not export from a pseudo root. Please see the >> last few lines in the link I sent. > That link offers the same assertion but no explanation for it. Can you > explain why that's the recommendation? Sorry, no. I can however explain why we changed: We were having problems with idmapd uid:gid mappings from the bind mount and just as an experiment we tried the old way. Problem solved. > > If an admin were to remove fsid=0 from their exports line, they'd also > need to adjust the paths in all the connecting clients, right? > > --dkg No. If you are exporting /export fsid-0 and crossmnt-ing /export/opt, you mount server:/opt client/somewhere. The only file you change is /etc/exports on the server, to contain the old style mount spec. /opt yourIPs(rw,sec=none:sys:krb5. . .) The client sees exactly he same path. HTH Steve