Hi Community,
The directory /iso from the FreeBSD server has been mounted to a Rhel server. I mounted the directory about a month and a half ago. It has been working. Yesterday I created a new directory /share and wanted to replace /iso with /share. I removed /iso from /etc/exports file and added /share and restarted nfsd service. When I run command "showmount -a 192.168.1.1" from rhel server, it didn't show the /share directory, I just see "All mount points on 192.168.1.1:". I restarted rpcbind, mountd and nfsd, but still it's now showing the directory. I switched it back to /iso and restarted the service, still did not show any mount point from the real, even though I ran the same command on the FreeBSD server and got the same result. I am trying to figure out what I am doing wrong. Here are the /etc/rc.conf file content:
and here is /etc/exports file content.
Appreciate your help!
The directory /iso from the FreeBSD server has been mounted to a Rhel server. I mounted the directory about a month and a half ago. It has been working. Yesterday I created a new directory /share and wanted to replace /iso with /share. I removed /iso from /etc/exports file and added /share and restarted nfsd service. When I run command "showmount -a 192.168.1.1" from rhel server, it didn't show the /share directory, I just see "All mount points on 192.168.1.1:". I restarted rpcbind, mountd and nfsd, but still it's now showing the directory. I switched it back to /iso and restarted the service, still did not show any mount point from the real, even though I ran the same command on the FreeBSD server and got the same result. I am trying to figure out what I am doing wrong. Here are the /etc/rc.conf file content:
Code:
1 # NFS Share
2 rpcbind_enable="YES"
3 nfs_server_enable="YES"
4 nfsV4_server_enable="YES"
5 nfsuserd_enable="YES"
6 mountd_enable="YES"
and here is /etc/exports file content.
Code:
1 #/share -alldirs -maproot=root -network 192.168.1.0/24
2 /iso -alldirs -maproot=root -network 192.168.1.0/24
Appreciate your help!