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

Robert Thurlow <Robert.Thurlow@oracle.com> Wed, 03 November 2010 22:22 UTC

Return-Path: <Robert.Thurlow@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 8F66428C0E0 for <nfsv4@core3.amsl.com>; Wed, 3 Nov 2010 15:22:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 hRM-hgS5fStt for <nfsv4@core3.amsl.com>; Wed, 3 Nov 2010 15:22:49 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 9C61828C0DD for <nfsv4@ietf.org>; Wed, 3 Nov 2010 15:22:49 -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 oA3MMt1T003507 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 3 Nov 2010 22:22:56 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oA3Ifn6H016725; Wed, 3 Nov 2010 22:22:55 GMT
Received: from abhmt016.oracle.com by acsmt353.oracle.com with ESMTP id 747589831288822865; Wed, 03 Nov 2010 15:21:05 -0700
Received: from [10.7.250.62] (/10.7.250.62) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 03 Nov 2010 15:21:05 -0700
Message-ID: <4CD1DFE4.1060004@oracle.com>
Date: Wed, 03 Nov 2010 16:19:16 -0600
From: Robert Thurlow <Robert.Thurlow@oracle.com>
User-Agent: Thunderbird 2.0.0.16 (X11/20080811)
MIME-Version: 1.0
To: James Lentini <jlentini@netapp.com>
References: <E043D9D8EE3B5743B8B174A814FD584F0A6BFD9C@TK5EX14MBXC126.redmond.corp.microsoft.com> <alpine.LFD.2.00.1010221251120.4707@jlentini-linux.nane.netapp.com>
In-Reply-To: <alpine.LFD.2.00.1010221251120.4707@jlentini-linux.nane.netapp.com>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
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: Wed, 03 Nov 2010 22:22:50 -0000

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.

Rob T