LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cant mount redhat 5.0 from redhat 4.0 via fstab (https://www.linuxquestions.org/questions/linux-newbie-8/cant-mount-redhat-5-0-from-redhat-4-0-via-fstab-879079/)

mkesling 05-05-2011 06:02 PM

cant mount redhat 5.0 from redhat 4.0 via fstab
 
I cant mount a directory on red hat 5 from red hat 4 using fstab.
I keep getting permission denied.
I mount directories on the same red hat 5 sys from other red hat 5 and 2 old HPUX systems using fstab.
When I try to telnet to it i get "no route to host."

kbp 05-05-2011 06:15 PM

"no route to host" indicates a network or firewall issue, try these steps to start:

- ping <target_ip>
- showmount -e <target_ip>

mkesling 05-05-2011 07:22 PM

both worked but still permission denied
 
Quote:

Originally Posted by kbp (Post 4347847)
"no route to host" indicates a network or firewall issue, try these steps to start:

- ping <target_ip>
- showmount -e <target_ip>

ping worked fine - no packets lost
showmount returned contents of exports file which contains the client (rw,sync)
the client is in the servers hosts file and hosts.allow file.

the server is in the clients hosts file and in fstab as
ipaddress:/dirname /samedirname nfs rw,suid 0 0

directories exist on client empty with 777 permissions

mkesling 05-05-2011 08:03 PM

Got it!
 
The dns settings were assigning an ip address even though it was set up for a static ip. It some how found and loaded the correct dns search path. I have 2 redhat 5 workstations set up the same way but the dns search path was set to localdomain which is incorrect. I erased all the dns info from the redhat 4 workstation and rebooted and the static ip took effect and nfs via fstab worked!


All times are GMT -5. The time now is 12:04 PM.