Re: [nfsv4] NFSv4.2 draft inter server copy correction

Chuck Lever <chuck.lever@oracle.com> Tue, 03 March 2015 22:15 UTC

Return-Path: <chuck.lever@oracle.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C2DB1A89B8 for <nfsv4@ietfa.amsl.com>; Tue, 3 Mar 2015 14:15:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNPARSEABLE_RELAY=0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YS7o7vJM-iYn for <nfsv4@ietfa.amsl.com>; Tue, 3 Mar 2015 14:15:30 -0800 (PST)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A7C381A1BE0 for <nfsv4@ietf.org>; Tue, 3 Mar 2015 14:15:30 -0800 (PST)
Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t23MFSLv002764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 3 Mar 2015 22:15:29 GMT
Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t23MFRei003157 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 3 Mar 2015 22:15:27 GMT
Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t23MFRdx003152; Tue, 3 Mar 2015 22:15:27 GMT
Received: from anon-dhcp-162.1015granger.net (/73.18.157.175) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 03 Mar 2015 14:15:27 -0800
Content-Type: text/plain; charset="windows-1252"
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <FE5C66CA-EFFE-4603-9ED4-DB0FD5C49A4D@primarydata.com>
Date: Tue, 03 Mar 2015 17:15:25 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <FDCEB112-99E6-486A-8AC6-83E859E32B50@oracle.com>
References: <92AB6B1B-BC15-41E0-97AA-224F3A39F773@netapp.com> <CADaq8je1Ew7QdmSjMNoKiOKNMF=Yq_f95uFKeWFe9A9abFPSoA@mail.gmail.com> <14C1E5BC-B879-402C-B0D9-5166E3C8BE97@netapp.com> <464E978D-0B8F-472D-8F40-A2D436CA8F14@primarydata.com> <CAHVgHyXgKW0f0ab7h935=7O1KXQUSZ4C2rgT-oWd_B6weYaEJQ@mail.gmail.com> <0554F463-635E-4A3D-AA81-741A0A660D4B@primarydata.com> <AC7B75FD-1972-4E0A-8AE3-EA6DE667940F@oracle.com> <FE5C66CA-EFFE-4603-9ED4-DB0FD5C49A4D@primarydata.com>
To: Tom Haynes <thomas.haynes@primarydata.com>
X-Mailer: Apple Mail (2.1878.6)
X-Source-IP: acsinet21.oracle.com [141.146.126.237]
Archived-At: <http://mailarchive.ietf.org/arch/msg/nfsv4/hMTNf-eJ7Sdd1C5lzKqcblPwK2I>
Cc: "Adamson, Andy" <William.Adamson@netapp.com>, "William A. (Andy) Adamson" <androsadamson@gmail.com>, NFSv4 <nfsv4@ietf.org>
Subject: Re: [nfsv4] NFSv4.2 draft inter server copy correction
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Tue, 03 Mar 2015 22:15:32 -0000

On Mar 3, 2015, at 4:34 PM, Tom Haynes <thomas.haynes@primarydata.com> wrote:

> 
>> On Mar 3, 2015, at 11:20 AM, Chuck Lever <chuck.lever@oracle.com> wrote:
>> 
>> 
>> On Mar 3, 2015, at 2:11 PM, Tom Haynes <thomas.haynes@primarydata.com> wrote:
>> 
>>> 
>>> Look at the available URLs:
>>> 
>>>      nfs://203.0.113.18//_COPY/FvhH1OKbu8VrxvV1erdjvR7N/203.0.113.56/
>>>      _FH/0x12345
>>> 
>>>      nfs://192.0.2.18//_COPY/FvhH1OKbu8VrxvV1erdjvR7N/203.0.113.56/_FH/
>>>      0x12345
>> 
>> NFS URIs are defined in the FedFS NSDB protocol doc. Do these
>> URLs conform to that specification, or does NFSv4.2 construct
>> NFS URLs differently?
> 
> These are not NFS URLs, they are COPY URLs.

In other words, the “nfs” scheme name means something different when
used to mount a public NFS server or store a FileSet Location than it
does when used in a COPY URL?

Section 3.1 of RFC 3986 says:
 
   Each URI begins with a scheme name that refers to a specification for
   assigning identifiers within that scheme.  As such, the URI syntax is
   a federated and extensible naming system wherein each scheme’s
   specification may further restrict the syntax and semantics of
   identifiers using that scheme.

The specification for the path component of an nfs:// URI is in
section 2.8.1.2 of the FedFS NSDB protocol draft. The meaning of the
particular URI that you pass in your examples is a file whose path
name is:

  /_COPY/FvhH1OKbu8VrxvV1erdjvR7N/203.0.113.56/_FH/0x12345

and is accessed via NFSv4.

I may be wrong about this, but I don’t think you can change the
interpretation of well-known URI schemes. Does anyone here know
for sure?

You _can_ create new URI schemes and specify their naming system in
the minor version 2 draft. That might be a cleaner approach to
accessing the source server’s FH space.

>> See
>> 
>> https://datatracker.ietf.org/doc/draft-ietf-nfsv4-federated-fs-protocol/?include_text=1
>> 
>> Section 2.8.1.
>> 
> 

--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com