From: Steve Dickson Subject: Re: nfs-utils 1.1.2 + knfsd 2.6.27 (.5) breaks fsid= option Date: Wed, 12 Nov 2008 08:48:47 -0500 Message-ID: <491ADEBF.80900@RedHat.com> References: <20081112104811.GA15011@janus> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Linux NFS mailing list To: Frank van Maarseveen Return-path: Received: from mx2.redhat.com ([66.187.237.31]:39857 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752075AbYKLNum (ORCPT ); Wed, 12 Nov 2008 08:50:42 -0500 In-Reply-To: <20081112104811.GA15011@janus> Sender: linux-nfs-owner@vger.kernel.org List-ID: Frank van Maarseveen wrote: > Tested on Debian lenny with nfs-kernel-server 1:1.1.2-6lenny1 and a > 2.6.27.5 kernel. /etc/exports says: > > /mp @general(rw,sync,no_root_squash,no_subtree_check,mp,fsid=2886795869) > > After actually using it /proc/fs/nfsd/exports says: > > /mp @general(rw,no_root_squash,sync,wdelay,no_subtree_check,fsid=-1408171427,uuid=db4387a6:bed949d0:8f5ef6a2:6a0c > > (yes, 2886795869 == (ulong)-1408171427) > However, file handles over the wire now seem to have fsid_type=6 > (FSID_UUID16) instead of 1 (FSID_NUM) due to this. This is a known problem... The kernel checks UUIDs before FSIDS which cause FSIDS to be ignored. There are two outstanding proposals to fix this problem. 1) Move two lines in the kernel so FSIDs are checked before UUIDS 2) Change mountd to only send down the FSID or the UUID but not both as it does today. Neither proposal has been accepted... yet... steved.