showmount command: It is
a command-line utility and provide ability to manage NFS share. Its needs separate
installation by default this package is not available in CentOS 8
minimal.
[root@linuxcnf ~]# showmount -e 192.168.1.103
-bash: showmount: command not found
[root@linuxcnf ~]#
|
As per the above output,
the package is not installed on the system which provides showmount command. Follow
the below steps to resolve:
Step 1. Installing package: Run the following command to install nfs-utils which
provides showmount command:
[root@linuxcnf ~]# dnf install nfs-utils –y
……………………..
Installed:
gssproxy-0.8.0-19.el8.x86_64 keyutils-1.5.10-9.el8.x86_64
libverto-libevent-0.3.0-5.el8.x86_64 nfs-utils-1:2.3.3-46.el8.x86_64
python3-pyyaml-3.12-12.el8.x86_64 quota-1:4.04-14.el8.x86_64
quota-nls-1:4.04-14.el8.noarch
rpcbind-1.2.5-8.el8.x86_64
Complete!
[root@linuxcnf ~]#
|
Step 2. Verification: Run the following command to validate/verify the
installation.
[root@linuxcnf ~]# showmount -e 192.168.1.103
Export list for 192.168.1.103:
/nfsshare *
[root@linuxcnf ~]#
|
No comments:
Post a Comment