Re: [nfsv4] [FedFS] Meeting Minutes, 9/30/2010

Trond Myklebust <trond.myklebust@fys.uio.no> Fri, 01 October 2010 13:58 UTC

Return-Path: <trond.myklebust@fys.uio.no>
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 498BC3A6C38 for <nfsv4@core3.amsl.com>; Fri, 1 Oct 2010 06:58:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.306
X-Spam-Level:
X-Spam-Status: No, score=-6.306 tagged_above=-999 required=5 tests=[AWL=0.293, 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 CIPxgP+LLAcB for <nfsv4@core3.amsl.com>; Fri, 1 Oct 2010 06:58:07 -0700 (PDT)
Received: from mail-out2.uio.no (mail-out2.uio.no [129.240.10.58]) by core3.amsl.com (Postfix) with ESMTP id 115073A6C9E for <nfsv4@ietf.org>; Fri, 1 Oct 2010 06:58:07 -0700 (PDT)
Received: from mail-mx2.uio.no ([129.240.10.30]) by mail-out2.uio.no with esmtp (Exim 4.69) (envelope-from <trond.myklebust@fys.uio.no>) id 1P1g8R-0002ja-Vy; Fri, 01 Oct 2010 15:58:51 +0200
Received: from c-68-40-206-115.hsd1.mi.comcast.net ([68.40.206.115] helo=[192.168.1.29]) by mail-mx2.uio.no with esmtpsa (SSLv3:CAMELLIA256-SHA:256) user trondmy (Exim 4.69) (envelope-from <trond.myklebust@fys.uio.no>) id 1P1g8R-0004iM-8h; Fri, 01 Oct 2010 15:58:51 +0200
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: James Lentini <jlentini@netapp.com>
In-Reply-To: <alpine.LFD.2.00.1010010939160.21841@jlentini-linux.nane.netapp.com>
References: <alpine.LFD.2.00.1009301550320.21841@jlentini-linux.nane.netapp.com> <34850520-8277-4795-9B5D-573D7907B424@oracle.com> <alpine.LFD.2.00.1009301714310.21841@jlentini-linux.nane.netapp.com> <1285882671.14635.66.camel@heimdal.trondhjem.org> <alpine.LFD.2.00.1010010939160.21841@jlentini-linux.nane.netapp.com>
Content-Type: text/plain; charset="UTF-8"
Date: Fri, 01 Oct 2010 09:58:48 -0400
Message-ID: <1285941528.25171.7.camel@heimdal.trondhjem.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.30.3 (2.30.3-1.fc13)
Content-Transfer-Encoding: 7bit
X-UiO-Ratelimit-Test: rcpts/h 3 msgs/h 1 sum rcpts/h 4 sum msgs/h 1 total rcpts 1011 max rcpts/h 20 ratelimit 0
X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO)
X-UiO-Scanned: BD8DD4E1B8F16A2AD06A8468885A476CBF2450F0
X-UiO-SPAM-Test: remote_host: 68.40.206.115 spam_score: -49 maxlevel 80 minaction 2 bait 0 mail/h: 1 total 400 max/h 7 blacklist 0 greylist 0 ratelimit 0
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] [FedFS] Meeting Minutes, 9/30/2010
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: Fri, 01 Oct 2010 13:58:08 -0000

On Fri, 2010-10-01 at 09:50 -0400, James Lentini wrote:
> 
> On Thu, 30 Sep 2010, Trond Myklebust wrote:
> 
> > On Thu, 2010-09-30 at 17:33 -0400, James Lentini wrote:
> > > 
> > > On Thu, 30 Sep 2010, Chuck Lever wrote:
> > > > Some convention for the NFS server's reply in this case should be 
> > > > agreed upon outside of the ongoing FedFS discussion.
> > > 
> > > I think another way to phrase this question is: How does an NFS server 
> > > indicate that a file system has moved to an unknown location? One 
> > > obvious possibility is to return a zero element locations array in the 
> > > fs_locations structure.
> > 
> > NFS4ERR_STALE is the usual response. If you don't know where the 
> > filesystem was migrated to, then what you have is not a migration 
> > event. It is an unexport of the partition.
> 
> Suppose the server waits to resolve the junction until a GETATTR that 
> includes fs_locations[_info]. If the server has already responded with 
> an NFS4ERR_MOVED, will an NFS4ERR_STALE return for the GETATTR be a 
> reasonable response to the client?

I'm not sure I understand. If the location of the filesystem is unknown,
then why would the server reply with NFS4ERR_MOVED in the first place?

That said, I believe that the answer to your question is 'yes'. See for
instance the discussion in section 4.2.2 in RFC3530.