LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-05-2011, 06:02 PM   #1
mkesling
Member
 
Registered: Feb 2010
Posts: 31

Rep: Reputation: 0
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."
 
Old 05-05-2011, 06:15 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

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

- ping <target_ip>
- showmount -e <target_ip>
 
Old 05-05-2011, 07:22 PM   #3
mkesling
Member
 
Registered: Feb 2010
Posts: 31

Original Poster
Rep: Reputation: 0
both worked but still permission denied

Quote:
Originally Posted by kbp View Post
"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
 
Old 05-05-2011, 08:03 PM   #4
mkesling
Member
 
Registered: Feb 2010
Posts: 31

Original Poster
Rep: Reputation: 0
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat 9 overwriting /etc/fstab? dmancine Linux - General 2 08-24-2004 05:24 PM
edit /etc/fstab redhat 9 tommytom02 Linux - Newbie 1 12-20-2003 05:19 PM
Redhat 9.0 FSTab problem gizmogadgetus Linux - Newbie 5 08-24-2003 09:44 PM
fstab overwritten? (RedHat 8) hoborocks Linux - Software 2 01-08-2003 11:51 AM
fstab keeps resetting in redhat 7.3 burningodzilla Linux - General 3 06-06-2002 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration