From: "Janne Karhunen" Subject: Re: [patch] fix statd -n Date: Mon, 5 May 2008 11:23:37 -0400 Message-ID: <24c1515f0805050823s14f4caf7s3a4ff06a70c220be@mail.gmail.com> References: <20080421000214.GA5453@fieldses.org> <24c1515f0805010628k6b57598btb27116c719b99fad@mail.gmail.com> <481B316E.8090800@gmail.com> <24c1515f0805021413u450d8bbcr806a90c327b287a1@mail.gmail.com> <481B96D0.8010802@gmail.com> <24c1515f0805021724q7dfe5294r702a9c8ffde01129@mail.gmail.com> <20080505144538.GB8259@fieldses.org> <481F20B6.8080603@gmail.com> <24c1515f0805050801m66cce68k94073914ba26511e@mail.gmail.com> <481F2600.20501@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: "J. Bruce Fields" , "Peter Staubach" , linux-nfs@vger.kernel.org To: "Wendy Cheng" Return-path: Received: from wa-out-1112.google.com ([209.85.146.182]:50194 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751850AbYEEPXi (ORCPT ); Mon, 5 May 2008 11:23:38 -0400 Received: by wa-out-1112.google.com with SMTP id j37so758749waf.23 for ; Mon, 05 May 2008 08:23:38 -0700 (PDT) In-Reply-To: <481F2600.20501@gmail.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Mon, May 5, 2008 at 11:21 AM, Wendy Cheng wrote: > No. "-H" is only for different export (server IP) interfaces. Say server > has 10.1.1.1 and 10.1.1.2 as NFS export interfaces. If 10.1.1.1 is migrated > but 10.1.1.2 stays, you would like to notify the nfs clients coming in from > 10.1.1.1 but not the clients from 10.1.1.2, you need to structure your sm > directory seperately. That is the usage of "-H" (to allow admin to organize > client IPs). Right. > For a single export IP interface like you have (even you have a seperate > hostname), ignore "-H". I believe "sm-notify -v" should be enough - > otherwise we have bugs - i.e., sm-notify should be part of your nfsd > bring-up script. As statd runs this directly and reads name for -v from MY_NAME, how exactly would you pass it MY_NAME given that -n is removed? -- // Janne