LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Ubuntu 8.10 cannot mount red hat 9 NFS share (https://www.linuxquestions.org/questions/linux-server-73/ubuntu-8-10-cannot-mount-red-hat-9-nfs-share-738196/)

anthonysaulnier 07-06-2009 09:38 PM

Ubuntu 8.10 cannot mount red hat 9 NFS share
 
Hi Guys,


Im a bit baffled by this one even though I turned off my internal firewall(external firewall still on, all devices are on an internal network), added the following line to /etc/exports:

/home/mp3user/mp3s 10.0.0.244(rw,async)

Restarted nfs daemons, restarted portmap on the server

But yet when I try to mount the share from the client I still get the following error message:

mount.nfs: access denied by server while mounting


Anyone have any clues on this one?

foodown 07-06-2009 09:48 PM

Anything in the server's /etc/hosts.allow or /etc/hosts.deny files?

anthonysaulnier 07-06-2009 10:09 PM

nothing in the hosts.deny

10.0.0.244 in the hosts.allow folder

chrism01 07-07-2009 12:14 AM

Have a look in /var/log/messages on both systems and ensure firewalls on both systems are off.

anthonysaulnier 07-07-2009 08:37 PM

Nothing in the cleint logs, but found this in the server logs: refused mount request from 10.0.0.244 for /home/mp3user/mp3s (/): no export entry, so now im wondering if I created my exports file in the wrong spot. I put it in /etc. Grrr

chrism01 07-09-2009 01:00 AM

BTW: If that's RH9 (codename Shrike), that hasn't been updated in yrs, so wide open to exploits etc....

anthonysaulnier 07-09-2009 08:17 PM

Yep thats exactly what it is, Red Hat 9 Shrike. My theory is that there are too many inconsistencies between the two OS's and thats maybe why its not working properly

anthonysaulnier 07-09-2009 08:57 PM

Well, I did a bit more investigating and it seems that there are definitely some compatibility issues.

This time I logged into the client machine and attempted to connect. I didnt get any error messages. Here is what I noticed, none of the files are visible. If I set permissions I to 755 on the server I cannot create folders from the client machine, but if I set permissions to 777 I am able to create folders. However, I cannot see the new folder on the server.

From the client, when I check the properties of the folder, I do notice that the amount of available space corresponds to what should be available on the server share.

Its almost like its partially connecting, but not fully. Interesting.

chrism01 07-09-2009 11:21 PM

RE RH9, I was worried about that myself, but wanted to check first. Any chance you can replace with a current distro?
Don't forget, if it gets owned we could all suffer, not just you...
iirc RH9 had nfsv2, nfs is now avail as v3 and v4, so could easily be that...

anthonysaulnier 07-10-2009 02:37 PM

Ill have to check that out. Its been years since ive played with NFS, so yeah that might be the issue at hand. Im not sure that ill be updating my distro for a while. We will see Either way ill keep you guys posted


All times are GMT -5. The time now is 10:42 PM.