Cannot NFS mount in Mandriva
I am having problems mounting a directory from one Mandriva server to another. Both machines are running Mandriva 2006 official (one 32 bit and one 64 bit). I can mount one way, but not the other!
If I run drakhosts as root, they look similar. In Manage NFS Shares, I have set up the directory I want to share, and it is similar on the two machine. I can ping/ftp both ways, so I know there is a connection between them. The host names are also resolved.
When I go to 'NFS Mount Points', and select 'Search Servers', nothing is found. Even if I turn off both firewalls, nothing is found. If I run 'showmount -a' on the remote machine, nothign is returend. When I do it on the local machine, I see the mount points that I have created on the local server. I have also tried mounting it manually (as opposed to in the Control Center), but this doesn't work either. I also modified fstab, but that didn't work either.
If I do 'showmount -a' on the server that is mounted OK on the other machine, I get:
------
[root@borabora ~]# showmount -a
All mount points on borabora:
192.168.1.2:Tahiti
Tahiti:/home/eikeland/Documents
------
The local machine is borabora (192.168.1.3), and the remote machine is Tahiti (192.168.1.2). I don't understand that it finds '192.168.1.2:Tahiti' now, but not in the Control Center. Also, the NFS share I created on Tahiti, should be /home/eikeland/mp3, and not the host name of the machine (Tahiti). On both ends I have set the 'Hosts Wildcard' to allow the other machine to connect (and /ets/hosts have been updated).
If I do the same on the other machine, I get nothing. So, I don't know what I need to do on the remote machine to make the directories visible to other machines.
If I run /etc/init.d/portmap status on the two machines, it says that it's running. Not sure how relevant that is (not expert on this topic), but I see it is displayed in the log when I search servers in the Control Center.
One more thing: /etc/exports has the directory that I want to be shown (so this looks OK):
# generated by drakhosts.pl
/home/eikeland/Documents Tahiti(no_all_squash,sync,insecure,ro)
Anyone have any idea???
Thanks
Last edited by eikeland; 02-18-2006 at 01:51 PM.
|