Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This should all be done as a root user.

Code Block
$su
Code Block
$Password: excel2 (root password)
  • Edit NFS configuration file, add variable mountd\_nfs\_v2="yes", change the variable RPCNFSDARGS to RPCNFSDARGS="\-V 2" and RPCMOUNTDOPTS to RPCMOUNTDOPTS="\-V 2".

    Code Block
    [root]# vi /etc/sysconfig/nfs
    mountd\_nfs\_v2="yes"
    RPCNFSDARGS="\-V 2"
    RPCMOUNTDOPTS="\-V 2"
  • Once the variable is set, restart NFS service.

    Code Block
    [root]# systemctl reload nfs-server
    [root]# systemctl restart nfs-server