From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S272983AbTHFBMs (ORCPT ); Tue, 5 Aug 2003 21:12:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S273004AbTHFBMr (ORCPT ); Tue, 5 Aug 2003 21:12:47 -0400 Received: from note.orchestra.cse.unsw.EDU.AU ([129.94.242.24]:36840 "HELO note.orchestra.cse.unsw.EDU.AU") by vger.kernel.org with SMTP id S272983AbTHFBMq (ORCPT ); Tue, 5 Aug 2003 21:12:46 -0400 From: Neil Brown To: Stephan von Krawczynski Date: Wed, 6 Aug 2003 11:12:38 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16176.22022.382294.55110@gargle.gargle.HOWL> Cc: muizelaar@rogers.com, linux-kernel@vger.kernel.org, mru@users.sourceforge.net Subject: Re: FS: hardlinks on directories In-Reply-To: message from Stephan von Krawczynski on Tuesday August 5 References: <20030804141548.5060b9db.skraw@ithnet.com> <20030804152226.60204b61.skraw@ithnet.com> <3F2E7C63.2000203@rogers.com> <20030804181500.074aec51.skraw@ithnet.com> <16175.6729.962817.135747@gargle.gargle.HOWL> <20030805114125.30a12916.skraw@ithnet.com> X-Mailer: VM 7.17 under Emacs 21.3.2 X-face: [Gw_3E*Gng}4rRrKRYotwlE?.2|**#s9D > > Hm, and I just found out that re-exporting "mount --bind" volumes does not > > > work over nfs... > > > > > > Is this correct, Neil? > > > > Yes, though there is a reasonable chance that it can be made to work > > with linux-2.6.0 and nfs-utils-1.1.0 (neither of which have been > > released yet:-) > > Is this a complex issue? Can you imagine a not-too-big sized patch can make it > work in 2.4? What is the basic reason it does in fact not work? On reflection, it could probably work in 2.4 and current nfs-utils, but admin might be a bit clumsy. To allow knfsd to see a mountpoint, you have to export the mounted directory with the "nohide" option. Currently "nohide" only works properly for exports to specific hosts, not to wildcarded hosts or netgroups. So if your /etc/export contains: /path/to/some/--bind/mountpoint servername(nohide,....) for every mountpoint and every server, then it should work. In 2.6, you can (will be able to) just export the top level mount point with "crossmnt" and it should all work for you. Getting that functionality into 2.4 would be a very big job. NeilBrown