Re: [nfsv4] [FedFS] proposed ADMIN protocol procedure to enumerate server's NSDB store

Nicolas Williams <Nicolas.Williams@oracle.com> Thu, 08 July 2010 17:32 UTC

Return-Path: <Nicolas.Williams@oracle.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2E0553A63EC for <nfsv4@core3.amsl.com>; Thu, 8 Jul 2010 10:32:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.598
X-Spam-Level:
X-Spam-Status: No, score=-6.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7PozdYvNtOM0 for <nfsv4@core3.amsl.com>; Thu, 8 Jul 2010 10:32:17 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id E7B193A6857 for <nfsv4@ietf.org>; Thu, 8 Jul 2010 10:32:16 -0700 (PDT)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o68HWJ5V024294 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 8 Jul 2010 17:32:21 GMT
Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o687qb0G031883; Thu, 8 Jul 2010 17:32:18 GMT
Received: from abhmt008.oracle.com by acsmt353.oracle.com with ESMTP id 410143451278610334; Thu, 08 Jul 2010 10:32:14 -0700
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 08 Jul 2010 10:32:14 -0700
Date: Thu, 08 Jul 2010 12:34:59 -0500
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: Chuck Lever <chuck.lever@oracle.com>
Message-ID: <20100708173459.GF17986@oracle.com>
References: <4C35F555.1060604@oracle.com> <E7372E66F45B51429E249BF556CEFFBC0D0EF9EC@RTPMVEXC1-PRD.hq.netapp.com> <4C36073C.4060109@oracle.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <4C36073C.4060109@oracle.com>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Source-IP: acsmt354.oracle.com [141.146.40.154]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090204.4C360BA3.0134:SCFMA4539814,ss=1,fgs=0
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [FedFS] proposed ADMIN protocol procedure to enumerate server's NSDB store
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Jul 2010 17:32:26 -0000

On Thu, Jul 08, 2010 at 01:13:32PM -0400, Chuck Lever wrote:
> On 07/ 8/10 12:35 PM, Everhart, Craig wrote:
> >Have I simply forgotten precisely why this is being proposed?
> >(Wouldn't be a surprise, here in vacation season.)
> >
> >My naïve mental model for an NFSv4 server would not necessarily
> >include a data structure that would match the thing being queried in
> >this op.  I'm not sure of the value-add of trying to include it.
> >
> >I'm sure we can discuss later today, but a written record is *so*
> >handy.
> 
> See below:
> 
> "Such a procedure can be used to check for stale NSDB name entries or
> misspellings, or to generate a menu of NSDB names in a graphical ADMIN
> client (ie for browsing the NSDB list on a server)."
> 
> The ADMIN server, not the NFSv4 server, maintains the NSDB list.
> Given that FEDFS_CREATE_JUNCTION must fail if the ADMIN server
> doesn't have connection information for the presented NSDB, the
> ADMIN server therefore must keep a permanent list of NSDB names.

I agree that the ADMIN server "therefore must keep" such a list, even
without an RPC for listing them.  For some implementors that might not
be a complete list, but I suppose that's not a problem we should be
concerned with here ("don't do that").

But it's worth pointing this implication out explicitly.

There's no additional implication regarding any ability to list
junctions, nor reference counting of NSDBs referred to by junctions.
But it'd be nice to have an option for listing junctions (for
implementors that can do it) and/or reference counting NSDBs (for
implementors that can do it).

Nico
--