All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Benjamin Coddington" <bcodding@redhat.com>
To: "jie wang" <yjxxtd12@gmail.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: Question abount sm-notify when use NFSv3 lock
Date: Thu, 07 Jul 2022 07:51:53 -0400	[thread overview]
Message-ID: <68BD4FDC-A409-422A-BE3F-318AEC8F3134@redhat.com> (raw)
In-Reply-To: <CACt_J9NtB5+1MiL8JrNbyLf6uhgHWDYmyAtKgmKdhzMkgL9E5g@mail.gmail.com>

On 6 Jul 2022, at 19:57, jie wang wrote:

> If execute "sm-notify -f -v ip2", sm-notify did not send the notify 
> request.

Hmm, maybe its a bug?  You can turn up debugging with the "-d" opt, 
adding
more increases vebosity.  Try using three of them:

sm-notify -ddd -f -v ip2

Have you tried looking at an strace?  Are there different values set for
sm-notify in your nfs.conf file?

Check out the source, perhaps sm-notify isn't going to be able to send a
notification for an address that doesn't exist on a local network 
adapter
(this is a common pattern), and you need to configure that ip address as 
an
additional address on your system?

These are guesses.

Ben


      parent reply	other threads:[~2022-07-07 11:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-06 12:28 Question abount sm-notify when use NFSv3 lock jie wang
2022-07-06 14:39 ` Benjamin Coddington
2022-07-06 23:56   ` jie wang
     [not found]     ` <CACt_J9NtB5+1MiL8JrNbyLf6uhgHWDYmyAtKgmKdhzMkgL9E5g@mail.gmail.com>
2022-07-07 11:51       ` Benjamin Coddington [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=68BD4FDC-A409-422A-BE3F-318AEC8F3134@redhat.com \
    --to=bcodding@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=yjxxtd12@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.