linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton@kernel.org>
To: Steve Dickson <steved@redhat.com>,
	Lorenzo Bianconi <lorenzo@kernel.org>,
	 Chuck Lever <chuck.lever@oracle.com>, Neil Brown <neilb@suse.de>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH nfs-utils v2 0/4] nfsdctl: new nfs-utils tool for managing the kernel NFS server
Date: Tue, 23 Apr 2024 07:44:58 -0400	[thread overview]
Message-ID: <7b36880bef0fec116da8b3fe2b5ada60b13437db.camel@kernel.org> (raw)
In-Reply-To: <110db294-3f0b-4119-9526-6da684826e74@redhat.com>

On Sun, 2024-04-21 at 08:17 -0400, Steve Dickson wrote:
> Hello,
> 
> On 4/16/24 12:48 PM, Jeff Layton wrote:
> > Lorenzo posted an updated version of his netlink interface patches
> > yesterday [1]. This is an update to adapt to those changes, and to bring
> > the tool closer to feature completion for release.
> > 
> > This series first adds Lorenzo's original userland nfsdctl tool to the
> > nfs-utils tree, and then converts it to a subcommand-based interface, in
> > the spirit of tools like nmcli or virsh.
> > 
> > This version should be at feature parity with rpc.nfsd. This posting
> > also includes a manpage and an update to the nfs-server.service to
> > start using the new interface when possible.
> > 
> > I've also included a patch that adds the manpage source. It's much nicer
> > to edit that and regenerate it if we have to update it later. We can
> > drop that patch if you just want to keep the result though.
> > 
> > Assuming we're good with the new kernel interfaces, this should be
> > pretty close to ready for merge.
> > 
> > [1]: https://lore.kernel.org/linux-nfs/cover.1712853393.git.lorenzo@kernel.org/
> > 
> > Signed-off-by: Jeff Layton <jlayton@kernel.org>
> > ---
> > Changes in v2:
> > - Adapt to latest kernel netlink interface changes (in particular, send
> >    the leastime and gracetime when they are set in the config).
> > - More help text for different subcommands
> > - New nfsdctl(8) manpage
> > - Patch to make systemd preferentially use nfsdctl instead of rpc.nfsd
> > - Link to v1: https://lore.kernel.org/r/20240412-nfsdctl-v1-0-efd6dcebcc04@kernel.org
> > 
> > ---
> > Jeff Layton (3):
> >        nfsdctl: convert it to a command-line based interface
> >        nfsdctl: asciidoc source for the manpage
> >        systemd: use nfsdctl to start and stop the nfs server
> > 
> > Lorenzo Bianconi (1):
> >        nfsdctl: add the nfsdctl utility to nfs-utils
> > 
> >   configure.ac               |   13 +
> >   systemd/nfs-server.service |    4 +-
> >   utils/Makefile.am          |    4 +
> >   utils/nfsdctl/Makefile.am  |   13 +
> >   utils/nfsdctl/nfsdctl.8    |  274 +++++++++
> >   utils/nfsdctl/nfsdctl.adoc |  140 +++++
> >   utils/nfsdctl/nfsdctl.c    | 1401 ++++++++++++++++++++++++++++++++++++++++++++
> >   utils/nfsdctl/nfsdctl.h    |  186 ++++++
> >   8 files changed, 2033 insertions(+), 2 deletions(-)
> > ---
> > base-commit: 117102ee541f38fd7d9274feb8b5586f88d4f655
> > change-id: 20240412-nfsdctl-fa8bd8430cfd
> > 
> > Best regards,
> I'm not sure this is ready for prime time....
> 
> nfsdctl status
> [nothing and there is a mount]
> 
> nfsdctl version
> Error: Operation not supported
> 
> nfsdctl listener
> Error: Operation not supported
> 
> nfsdctl threads 256
> Error: Operation not supported
> 
> The command does bring up the server.
> 
> These are examples from the man page
> 
> I have not invested why... but it just makes
> me nervous that examples in the man page
> do not work.
> 
> I have everything queued up ready to go
> so lets work on this during the Bakeathon
> next week.
> 


Your kernel needs to have the patches in [1].

-- 
Jeff Layton <jlayton@kernel.org>

      reply	other threads:[~2024-04-23 11:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-16 16:48 [PATCH nfs-utils v2 0/4] nfsdctl: new nfs-utils tool for managing the kernel NFS server Jeff Layton
2024-04-16 16:48 ` [PATCH nfs-utils v2 1/4] nfsdctl: add the nfsdctl utility to nfs-utils Jeff Layton
2024-04-16 16:48 ` [PATCH nfs-utils v2 2/4] nfsdctl: convert it to a command-line based interface Jeff Layton
2024-04-16 16:48 ` [PATCH nfs-utils v2 3/4] nfsdctl: asciidoc source for the manpage Jeff Layton
2024-04-16 16:48 ` [PATCH nfs-utils v2 4/4] systemd: use nfsdctl to start and stop the nfs server Jeff Layton
2024-04-21 12:17 ` [PATCH nfs-utils v2 0/4] nfsdctl: new nfs-utils tool for managing the kernel NFS server Steve Dickson
2024-04-23 11:44   ` Jeff Layton [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=7b36880bef0fec116da8b3fe2b5ada60b13437db.camel@kernel.org \
    --to=jlayton@kernel.org \
    --cc=chuck.lever@oracle.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=lorenzo@kernel.org \
    --cc=neilb@suse.de \
    --cc=steved@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).