Re: [nfsv4] Last call for NSDB Protocol for Federated Filesystems (Oct 4 - Oct 22nd)

James Lentini <jlentini@netapp.com> Thu, 04 November 2010 18:25 UTC

Return-Path: <jlentini@netapp.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 0BC6628C100 for <nfsv4@core3.amsl.com>; Thu, 4 Nov 2010 11:25:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 CGOFmtPFGPXm for <nfsv4@core3.amsl.com>; Thu, 4 Nov 2010 11:25:48 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 3673728C0DB for <nfsv4@ietf.org>; Thu, 4 Nov 2010 11:25:48 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.58,297,1286175600"; d="scan'208";a="477597436"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 04 Nov 2010 11:25:58 -0700
Received: from jlentini-linux.hq.netapp.com (jlentini-linux.hq.netapp.com [10.97.16.21]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id oA4IPvLu015466; Thu, 4 Nov 2010 11:25:57 -0700 (PDT)
Date: Thu, 04 Nov 2010 14:25:57 -0400
From: James Lentini <jlentini@netapp.com>
X-X-Sender: jlentini@jlentini-linux.nane.netapp.com
To: Robert Thurlow <Robert.Thurlow@oracle.com>
In-Reply-To: <4CD1DFE4.1060004@oracle.com>
Message-ID: <alpine.LFD.2.00.1011041421420.14303@jlentini-linux.nane.netapp.com>
References: <E043D9D8EE3B5743B8B174A814FD584F0A6BFD9C@TK5EX14MBXC126.redmond.corp.microsoft.com> <alpine.LFD.2.00.1010221251120.4707@jlentini-linux.nane.netapp.com> <4CD1DFE4.1060004@oracle.com>
User-Agent: Alpine 2.00 (LFD 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] Last call for NSDB Protocol for Federated Filesystems (Oct 4 - Oct 22nd)
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, 04 Nov 2010 18:25:49 -0000

On Wed, 3 Nov 2010, Robert Thurlow wrote:

> James Lentini wrote:
> 
> > There has been some discussion regarding the fedfsAnnotation LDAP attribute
> > defined in Section 4.2.1.12 that I wanted to record as part of this thread.
> > 
> > Chuck Lever discovered some ambiguities in the description of this
> > attribute's format. We discussed those issues during the FedFS concall on
> > 10/14. A revised description that attempts to eliminate those ambiguities is
> > included below.
> 
> I like the revised text without reservation.
> 
> > In the process of reviewing the revised text, Chuck, my co-authors, and I
> > have have been considering the utility of including this annotation
> > mechanism. Before LDAP was chosen for the NSDB protocol, this attribute was
> > created to allow private schema extensions. Given our use of LDAP, this
> > attribute may be obsolete.
> > 
> > Using LDAP there are other, arguably more natural, ways to allow for schema
> > extensions. For example, LDAP allows an entry's schema definition to be
> > extended by adding additional object types to the entry. In this approach,
> > the KEYs and VALUEs defined in Section 4.2.1.12 map to LDAP attribute types
> > and values respectively. This approach would allow implementers to define
> > their own annotation attributes, and would allow for standardizing such
> > attributes if there was interest.
> > 
> > Are there objections to removing the fedfsAnnotation attribute from the
> > schema and recommending that schema extensions be handled as described
> > above?
> 
> I wish to create a management application which uses the
> annotations fields as described in the current NSDB schema,
> and I think the use case really requires the current form
> of the specification, and not schema extensions.
> 
> The interesting-to-me use case is a kind of a back pointer -
> a way to track back from an FSL and/or FSN to the place in
> the namespace where this item is referenced.  I don't think
> this can every be truly reliable, but if you're taking a
> disk array down for planned maintenance and can send an
> outage warning saying that "the following filesystem paths
> are known to be affected", that could be useful at times.
> The unreliability is why this is not something I have tried
> to make a core part of the NSDB protocol.
> 
> So the goal is something like a "mountpath=/nfs4/my/path"
> piece of data.  The NSDB protocol as currently specified
> will let me just write this attribute whenever I manage a
> junction.
> 
> If I need to do this with LDAP schema extensions, someone
> must go through the non-standard LDAP management interface
> to get these bits added to the schema before I do my first
> bit of work in my management application.  That might be me,
> the vendor, trying to script something for all known LDAP
> implementations, or it might be my customer trying to read
> the fine manuals and do what I conceptually guide him to do.
> How many of us would ever do that as a vendor or a customer?
> Even if my environment is homogeneous, I may have to touch
> every LDAP server I use for FedFS, depending on what any
> replication solution supports.
> 
> In summary, I think I have something I would really like to
> implement which cannot be done properly without annotations
> as currently specified, so I would like them kept.

Clearly there is a use for this attribute. The next revision of 
draft-ietf-nfsv4-federated-fs-protocol will include this attribute 
with the revised definition of its format.

-james