Where is nfs-utils?

I have someone who is looking for the nfs utilities to use with a project he is working on.
They are on SLES 11 SP3 and I have not found this on the any of the install, SPx update or SPx POOL media.
I have found nfs-utils-debuginfo and nfs-utils-debugsource on some of the SLE11-Debuginfo media but I do not feel this is what the person is looking for.
These seem to be about nfs utilities and not the specific nfs utilities. I would like to know if these are the utilities or be provided with their location. Also, any requirements for installation on SLES11 SP3.

I do not have a mainframe nearby, but I see nfs-client as a package on
SLES 11 that may be interesting to you. Have you tried searching for that
(zypper se nfs)? Also, which tools are they seeking, specifically? The
nfs-starting commands I found were nfsstat and nfsiostat but I do not have
the NFSv4 packages installed.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

Thank you for your reply. I am new at this so I may not know what to ask.
Anyway, the person who ask for nfs-utils was not very specific.
He stated he needed nfs-util and referenced nfs-utils-debguinfo and nfs-utils-debugsource.
I think these packages are to update the kernel to be able to debug nfs problems.
Therefore, these packages are not “utilities”. They are debugging tools used to capture data to analyze.
Can you or anyone verify this to be true or not.
I issued the command you provide and see that he does have nfs utilites installed on the system.
So, I am not sure if he needs these debugging tools or thinks he does not have the nfs utilities.

[CODE] zypper se nfs
Retrieving repository ‘SLES11-SP3-Updates’ metadata [done]
Building repository ‘SLES11-SP3-Updates’ cache [done]
Loading repository data…
Reading installed packages…

S | Name | Summary | Type
–±----------------------------±------------------------------------------------±----------
| fuse-funionfs | Union Filesystem for FUSE | srcpackage
i | limal-nfs-server | LiMaL–NFS Server Library | package
i | limal-nfs-server-perl | LiMaL–NFS Server Library Perl Bindings | package
i | nfs-client | Support Utilities for NFS | package
i | nfs-doc | Support Utilities for NFS | package
i | nfs-kernel-server | Support Utilities for Kernel nfsd | package
| nfs-utils | Support Utilities for Kernel nfsd | srcpackage
| nfs4-acl-tools | Command line tools for managing ACLs over NFSv4 | package
| nfs4-acl-tools | Command line tools for managing ACLs over NFSv4 | srcpackage
i | nfsidmap | NFSv4 ID Mapping Library | package
| nfsidmap | NFSv4 ID Mapping Library | srcpackage
| quota-nfs | Disk Quota System on NFS | package
| sblim-cmpi-nfsv3 | SBLIM CMPI NFSv3 Instrumentation | package
| sblim-cmpi-nfsv4 | SBLIM CMPI NFSv4 Instrumentation | package
i | slessp3-libtirpc-nfs-201502 | Recommended update for libtirpc, nfs-client | patch
i | slessp3-nfs-client | Recommended update for nfs-utils | patch
| slessp3-nfs4-acl-tools | Recommended update for nfs4-acl-tools | patch
i | slessp3-nfsidmap | Recommended update for nfsidmap | patch
i | yast2-nfs-client | YaST2 - NFS Configuration | package
i | yast2-nfs-common | YaST2 - NFS Configuration, common parts | package
i | yast2-nfs-server | YaST2 - NFS Server Configuration | package[/CODE]

On 11/04/2015 03:54 PM, mikenash wrote:[color=blue]

Thank you for your reply. I am new at this so I may not know what to
ask.[/color]

That’s why we’re here to help clarify.
[color=blue]

Anyway, the person who ask for nfs-utils was not very specific.
He stated he needed nfs-util and referenced nfs-utils-debguinfo and
nfs-utils-debugsource.[/color]

The package he wants does not exist, so there is something lost in
translation (package name translation at laest). The name of a package is
determined by its maintainer, and it may be that the person either has it
mis-remembered, or is remembering the name of a package from another
environment when it was called nfs-utils. I would go back to them and ask
what they really need, since a package name by itself is not really a
complete answer. I would expect an answer about the business case, such as:

“I need to run commands X and Y, in order to
troubleshoot/setup/configure/maintain Z, and in the past commands X and Y
have come from package A (nfs-utils), which I cannot find. The result of
this is that I can support person B or department C in their desires to
share files via NFS.”
[color=blue]

I think these packages are to update the kernel to be able to debug nfs
problems.[/color]

Perhaps, but as they do not exist (anywhere as far as I can tell) we need
to know the perceived reason for seeking them (see the business case
question above).
[color=blue]

Therefore, these packages are not “utilities”. They are debugging tools
used to capture data to analyze.
Can you or anyone verify this to be true or not.
I issued the command you provide and see that he does have nfs utilites
installed on the system.
So, I am not sure if he needs these debugging tools or thinks he does
not have the nfs utilities.

Code:

 zypper se nfs

Retrieving repository ‘SLES11-SP3-Updates’ metadata [done]
Building repository ‘SLES11-SP3-Updates’ cache [done]
Loading repository data…
Reading installed packages…

S | Name | Summary | Type
–±----------------------------±------------------------------------------------±----------
| fuse-funionfs | Union Filesystem for FUSE | srcpackage
i | limal-nfs-server | LiMaL–NFS Server Library | package
i | limal-nfs-server-perl | LiMaL–NFS Server Library Perl Bindings | package
i | nfs-client | Support Utilities for NFS | package
i | nfs-doc | Support Utilities for NFS | package
i | nfs-kernel-server | Support Utilities for Kernel nfsd | package
| nfs-utils | Support Utilities for Kernel nfsd | srcpackage
| nfs4-acl-tools | Command line tools for managing ACLs over NFSv4 | package
| nfs4-acl-tools | Command line tools for managing ACLs over NFSv4 | srcpackage
i | nfsidmap | NFSv4 ID Mapping Library | package
| nfsidmap | NFSv4 ID Mapping Library | srcpackage
| quota-nfs | Disk Quota System on NFS | package
| sblim-cmpi-nfsv3 | SBLIM CMPI NFSv3 Instrumentation | package
| sblim-cmpi-nfsv4 | SBLIM CMPI NFSv4 Instrumentation | package
i | slessp3-libtirpc-nfs-201502 | Recommended update for libtirpc, nfs-client | patch
i | slessp3-nfs-client | Recommended update for nfs-utils | patch
| slessp3-nfs4-acl-tools | Recommended update for nfs4-acl-tools | patch
i | slessp3-nfsidmap | Recommended update for nfsidmap | patch
i | yast2-nfs-client | YaST2 - NFS Configuration | package
i | yast2-nfs-common | YaST2 - NFS Configuration, common parts | package
i | yast2-nfs-server | YaST2 - NFS Server Configuration | package
--------------------[/color]

Very similar output to my system, so I think we are on the right track,
but we need to know the purpose your person is requesting an invalid
package by finding out what they believe will be done once they have that
package’s contents.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

Thank you ab.
I have an interesting response from this person that compared two linux distribution.

[CODE]On the SLES11 system
]# rpm -qa | grep -i nfs-utils

service nfslock start

service: no such service nfslock

On my Redhat system
]# rpm -qa | grep -i nfs-utils
nfs-utils-1.2.3-54.el6.x86_64
nfs-utils-lib-1.1.5-9.el6.x86_64

service nfslock start

Starting NFS statd: [ OK ][/CODE]
I searched the SLES10 installation disk and did find a nfs-utils package but no nfs-utils-lib package.

>ls nfs-util* nfs-utils-1.0.7-36.29.s390x.rpm
I examined the package but did not find nfslock.

rpm -ql -p nfs-utils-1.0.7-36.29.s390x.rpm warning: nfs-utils-1.0.7-36.29.s390x.rpm: Header V3 DSA/SHA1 Signature, key ID 9c800aca: NOKEY /etc/gssapi_mech.conf /etc/idmapd.conf /etc/init.d/gssd /etc/init.d/idmapd /etc/init.d/nfsserver /etc/init.d/svcgssd /sbin/rpc.lockd /usr/sbin/exportfs /usr/sbin/nfsstat /usr/sbin/nhfsgraph /usr/sbin/nhfsnums /usr/sbin/nhfsrun /usr/sbin/nhfsstone /usr/sbin/rcgssd /usr/sbin/rcidmapd /usr/sbin/rcnfsserver /usr/sbin/rcsvcgssd /usr/sbin/rpc.gssd /usr/sbin/rpc.idmapd /usr/sbin/rpc.mountd /usr/sbin/rpc.nfsd /usr/sbin/rpc.svcgssd /usr/sbin/showmount /usr/share/doc/packages/nfs-utils /usr/share/doc/packages/nfs-utils/ChangeLog /usr/share/doc/packages/nfs-utils/INSTALL /usr/share/doc/packages/nfs-utils/KNOWNBUGS /usr/share/doc/packages/nfs-utils/NEW /usr/share/doc/packages/nfs-utils/README /usr/share/doc/packages/nfs-utils/THANKS /usr/share/doc/packages/nfs-utils/TODO /usr/share/doc/packages/nfs-utils/index.html /usr/share/doc/packages/nfs-utils/nfs.html /usr/share/doc/packages/nfs-utils/nfs.ps /usr/share/doc/packages/nfs-utils/node1.html /usr/share/doc/packages/nfs-utils/node10.html /usr/share/doc/packages/nfs-utils/node11.html /usr/share/doc/packages/nfs-utils/node12.html /usr/share/doc/packages/nfs-utils/node13.html /usr/share/doc/packages/nfs-utils/node14.html /usr/share/doc/packages/nfs-utils/node15.html /usr/share/doc/packages/nfs-utils/node16.html /usr/share/doc/packages/nfs-utils/node17.html /usr/share/doc/packages/nfs-utils/node18.html /usr/share/doc/packages/nfs-utils/node19.html /usr/share/doc/packages/nfs-utils/node2.html /usr/share/doc/packages/nfs-utils/node20.html /usr/share/doc/packages/nfs-utils/node21.html /usr/share/doc/packages/nfs-utils/node22.html /usr/share/doc/packages/nfs-utils/node23.html /usr/share/doc/packages/nfs-utils/node24.html /usr/share/doc/packages/nfs-utils/node25.html /usr/share/doc/packages/nfs-utils/node26.html /usr/share/doc/packages/nfs-utils/node27.html /usr/share/doc/packages/nfs-utils/node3.html /usr/share/doc/packages/nfs-utils/node4.html /usr/share/doc/packages/nfs-utils/node5.html /usr/share/doc/packages/nfs-utils/node6.html /usr/share/doc/packages/nfs-utils/node7.html /usr/share/doc/packages/nfs-utils/node8.html /usr/share/doc/packages/nfs-utils/node9.html /usr/share/man/man5/exports.5.gz /usr/share/man/man5/idmapd.conf.5.gz /usr/share/man/man5/rpc.idmapd.conf.5.gz /usr/share/man/man7/nfsd.7.gz /usr/share/man/man8/exportfs.8.gz /usr/share/man/man8/gssd.8.gz /usr/share/man/man8/idmapd.8.gz /usr/share/man/man8/lockd.8.gz /usr/share/man/man8/mountd.8.gz /usr/share/man/man8/nfsd.8.gz /usr/share/man/man8/nfsstat.8.gz /usr/share/man/man8/nhfsgraph.8.gz /usr/share/man/man8/nhfsnums.8.gz /usr/share/man/man8/nhfsrun.8.gz /usr/share/man/man8/nhfsstone.8.gz /usr/share/man/man8/rpc.gssd.8.gz /usr/share/man/man8/rpc.idmapd.8.gz /usr/share/man/man8/rpc.lockd.8.gz /usr/share/man/man8/rpc.mountd.8.gz /usr/share/man/man8/rpc.nfsd.8.gz /usr/share/man/man8/rpc.svcgssd.8.gz /usr/share/man/man8/showmount.8.gz /usr/share/man/man8/svcgssd.8.gz /usr/share/omc /usr/share/omc/svcinfo.d /usr/share/omc/svcinfo.d/nfsserver.xml /var/adm/fillup-templates/sysconfig.nfs-nfs-utils /var/lib/nfs /var/lib/nfs/etab /var/lib/nfs/rmtab /var/lib/nfs/rpc_pipefs /var/lib/nfs/v4recovery /var/lib/nfs/xtab
When searching the internet I do find some references to nfslock for SLES11 but no much else.
It appears the SLES10 did have a nfs-utils package but maybe did not include what this person is looking for.
In any case is there some package that does provide nfslock and other utilities?

Hi
With SLE there are three packages and the src rpm;

nfs-utils src rpm makes nfs-client, nfs-docs and nfs-kernel-server,
which contain all the relevant files.

The example you are being provided is systemd related (SLE 11 SP3 is
not systemd…)

Looking at a fedora rpm;
The nfslock service is a softlink to nfs-lock.service

The nfs-lock service performs the following;

[Service]
Type=forking
StandardError=syslog+console
EnvironmentFile=-/etc/sysconfig/nfs
ExecStartPre=/usr/libexec/nfs-utils/scripts/nfs-lock.preconfig
ExecStart=/sbin/rpc.statd $STATDARG
# Make sure lockd's ports are reset
ExecStopPost=-/sbin/sysctl -w fs.nfs.nlm_tcpport=0 fs.nfs.nlm_udpport=0

The pre config script just calls variables;

#!/bin/bash

.. /etc/sysconfig/nfs

# Set v4 grace period if requested
if [ -n "$NFSD_V4_GRACE" ]; then
echo "$NFSD_V4_GRACE" > /proc/fs/nfsd/nfsv4gracetime
fi

exit 0

So if this is added to the sysconf file via YaST /etc/sysconfig editor,
then the appropriate parts will occur (if it is configured on the other
system?) then running the sysvinit command will do the same thing…

I would ask for the nfs sysconfig file, then make the SLE version
do the same :wink:

Oh, then create a softlink to the init file then if they run service
nfslock startit will, else in SLE use rc to make it
compatible?


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 | 3.12.48-52.27-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Hello Malcoln, thank you for your reply.
I honestly do not fully understand this approach but I do not think it will resolve what I need to accomplish. The nfs-utils package probably has other nfs utilities and may not follow the same
process as you provided for nfslock.
Red Hat appears to have these nfs utilities and SLES10 may have them. At least SLES10 had a package with a similar name to one of the packages as Red Hat.
I have found references on the web for nfslock and SLES11. SUSE Linux Enterprise Server 11 SP4 Security and hardening in Table 3.1. init Services and their Descriptions - Examples make reference
to nfslock: needed if NFS shares are mounted. I would expect that nfslock be available somewhere
if Suse states that it is needed.
A nfs-utils package was available in SLES10 but did it change or get included in other packages for newer releases? I would expect that if Red Hat has the utilities and Suse has a reference to nfslock
that these nfs utilities would be available in some repository.

Hi
Interesting it is referenced in the SUSE documents for something that
doesn’t exist…?

I do note the service indicated ‘nfslock’ is not needed for NFSv4,
only v2 and v3, yet the service calls a v4 option…?

So, is the RH system being referenced running systemd or sysVinit?

It was split out into the client, server and doc
package and nfs-utils is the src package back in 2007;

* Tue Jun 05 2007 mkoenig@suse.de
- update to version 1.1.0:
- package mount.nfs, umount.nfs to replace dropped nfs code
from util-linux mount.
- removed patches:
nfs-utils-noroot.patch
nfs-utils-gssd-select-ccache.patch
nfs-utils-krb5.patch
- Package split: nfs-common, nfs-server and nfs-doc
- adjust init scripts
- remove old Obsoletes/Provides:
nfsutils (last used 2001)
knfsd (last used 2000)
linuxnfs (last used 1999)

Might I suggest a different approach in requesting definition of
the required nfs service options (set in the RH sysconf file) and
compare that with what is available in the SUSE version…


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 | 3.12.48-52.27-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!