Skip to content

Setting NFS server on RHEL and ULN 6..

Trying to set NFS server may turn to be an unnecessary “excitement” if you forget that on some LINUXes (like RHEL, Centos, ULN version 6 and above) portmap does no longer exist because it is now a part and it is now controlled by rpcbind service…..

# service portmap start
portmap: unrecognized service

NFS server can be set configured and activated as long as these two rpms are loaded:

# rpm -q | grep nfs

All that need to be done are the following steps.

# service rpcbind start
Starting rpcbind:                                          [  OK  ]
# service nfs start
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
Starting RPC idmapd:                                       [  OK  ]

To start NFS services at the boot time, we need to make it known with the next two commands.

# chkconfig rpcbind on
# chkconfig nfs on

Well, you have to designate a file system that you will be exporting and edit the /etc/exports followed by execution of the command exportfs -a. On the client, you should be able to “see” this file system executing the command showmount -e nfs_servername where the last is the name or IP address of the nfs server you will be exporting from.

Posted in LINUX.

Tagged with , , , , , , , .

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Some HTML is OK

or, reply to this post via trackback.

WordPress Anti Spam by WP-SpamShield

Copyright © 2016 - 2017 Waldemar Mark Duszyk. All Rights Reserved. Created by Blog Copyright.