Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754740AbXLJPGT (ORCPT ); Mon, 10 Dec 2007 10:06:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753964AbXLJPGB (ORCPT ); Mon, 10 Dec 2007 10:06:01 -0500 Received: from ug-out-1314.google.com ([66.249.92.172]:11326 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751153AbXLJPGA (ORCPT ); Mon, 10 Dec 2007 10:06:00 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=hnnnlRU3Kbi3y7nYGGZqJ3O+V7dYZJD0r1NjPInKcuMPCbOb6hq84PbP3FJlYmvoBXvtcUp2BFQ0W2OnpMnhNvWp56JgkD5G45maiqE4w36+cK/qDWpn2vRX5ZC38mNM6bFRQWTwrI8wjemhpuFm/C4o23KyO1qDSihc7Mx1ZWc= From: Maxim Levitsky To: "J. Bruce Fields" Subject: Re: 2.6.24-rc3-git4 NFS crossmnt regression Date: Mon, 10 Dec 2007 17:05:30 +0200 User-Agent: KMail/1.9.6 Cc: Neil Brown , "Rafael J. Wysocki" , Andrew Morton , Trond Myklebust , gnome42@gmail.com, linux-kernel@vger.kernel.org, "Eric W. Biederman" , "Denis V. Lunev" , linux-nfs@vger.kernel.org References: <200712101619.12522.maximlevitsky@gmail.com> <20071210143609.GF2138@fieldses.org> In-Reply-To: <20071210143609.GF2138@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712101705.30428.maximlevitsky@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1921 Lines: 56 On Monday 10 December 2007 16:36:09 J. Bruce Fields wrote: > On Mon, Dec 10, 2007 at 04:19:12PM +0200, Maxim Levitsky wrote: > > ... > > > It is best not to use nohide - we should probably mark it as > > > 'legacy'. > > > > > > Simply export the top level mountpoint as 'crossmnt' and everything > > > below there will be exported. > > > > > > > Where should I put those options in root file-system export or in submount export? > > > > > > crossmnt goes at the top. nohide goes in the submount. Both have > > > the same general effect though with subtle differences. > > > You don't need both (though that doesn't hurt). > > > Just use crossmnt at the top, Then you don't need to mention the > > > lower level filesystems at all. > > > > > > > > > ... > > > > (I decided to switch to NFS4 only due to the lack of ability to see underlying mounts) > > > > > > > > > > All of this should work fine with v3. Once you have the right patch > > > for the crossmnt bug applied, if you have further problems post them > > > to linux-nfs@vger.kernel.org. > > > > > > NeilBrown > > > > > > > Big thanks, > > > > Still NFS server just don't want to accept the connection > > I noticed that if I first mount with > > -tnfs, unmount, and then mount with -tnfs4, it works > > OK, in that case, that's definitely the bug Eric sent out the patch for; > you may want to try applying his patch. You mean "[PATCH 2.6.24-rc4] proc: Remove/Fix proc generic d_revalidate" ? I did apply it (on both kernel and server), and it doesn't help. Best regards, Maxim Levitsky PS: I am unfamiliar with nfs/nfs4, so this could be just a configuration/compilation issue. > > --b. > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/