Re: [nfsv4] GETATTR within an Absent File System in 5661

Tom Haynes <tom.haynes@oracle.com> Wed, 30 June 2010 01:28 UTC

Return-Path: <tom.haynes@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 D5E2F3A6A72 for <nfsv4@core3.amsl.com>; Tue, 29 Jun 2010 18:28:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.319
X-Spam-Level:
X-Spam-Status: No, score=-5.319 tagged_above=-999 required=5 tests=[AWL=1.280, 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 kNgt9DHrE3dy for <nfsv4@core3.amsl.com>; Tue, 29 Jun 2010 18:28:37 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id E24033A680C for <nfsv4@ietf.org>; Tue, 29 Jun 2010 18:28:36 -0700 (PDT)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o5U1Skvi012557 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <nfsv4@ietf.org>; Wed, 30 Jun 2010 01:28:47 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o5U1FoQG008745 for <nfsv4@ietf.org>; Wed, 30 Jun 2010 01:28:45 GMT
Received: from abhmt010.oracle.com by acsmt355.oracle.com with ESMTP id 384426701277861281; Tue, 29 Jun 2010 18:28:01 -0700
Received: from [192.168.2.6] (/98.184.164.41) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 29 Jun 2010 18:28:01 -0700
Message-ID: <4C2A9D88.30500@oracle.com>
Date: Tue, 29 Jun 2010 20:27:36 -0500
From: Tom Haynes <tom.haynes@oracle.com>
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: NFSv4 list <nfsv4@ietf.org>
References: <4C2A9D0E.30603@oracle.com>
In-Reply-To: <4C2A9D0E.30603@oracle.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Source-IP: acsmt353.oracle.com [141.146.40.153]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090203.4C2A9DCE.0074:SCFMA4539814,ss=1,fgs=0
Subject: Re: [nfsv4] GETATTR within an Absent File System in 5661
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, 30 Jun 2010 01:28:38 -0000

I guess I should save up questions until I finish a section!  :->

Or nevermind...


Tom Haynes wrote:
>
>      11.3. Getting Attributes for an Absent File System
>
>
>   When a file system is absent, most attributes are not available, but
>   it is necessary to allow the client access to the small set of
>   attributes that are available, and most particularly those that give
>   information about the correct current locations for this file system:
>   fs_locations and fs_locations_info.
>
>
>        11.3.1. GETATTR within an Absent File System
>
>
>   As mentioned above, an exception is made for GETATTR in that
>   attributes may be obtained for a filehandle within an absent file
>   system.  This exception only applies if the attribute mask contains
>   at least one attribute bit that indicates the client is interested in
>   a result regarding an absent file system: fs_locations,
>   fs_locations_info, or fs_status.  If none of these attributes is
>   requested, GETATTR will result in an NFS4ERR_MOVED error.
>
>
>
> I can see two other attributes which we might want to allow the client
> access to in order to determine if a file system was migrated:
>
> 1) fsid
>
> PUTFH {fileid} GETATTR {fsid}
>
> Allows the client to determine that a filesystem boundary was crossed.
>
> If the client isn't allowed to detect this, then it might have problems
> mangling the paths.
>
> 2) mounted_on_fileid
>
> And the client might want to check where to mount the new filesystem.
>
> Hmm, 2) is not as strong a need as 1).
>
>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4