LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-02-2005, 01:39 PM   #1
kool124
LQ Newbie
 
Registered: Aug 2004
Location: India
Posts: 17

Rep: Reputation: 0
not able to automount files in nfs at startup time


well i am able to mount nfs file manually

but what i wanted to do is to automount it at system start up time so that i don't have to manually mount server files ..

so what i did is that i made an entry in fstab file

127.0.0.1:/home/dir /home/kool/dir nfs rw,sync 0 0

this is the format..

also i have my netfs running...

also i have made entry in my auto.master file...

/home/kool/dir /etc/auto.misc --timeout=60

also this entry in auto.misc file...

/home/kool/dir -fstype=nfs,rw,sync 127.0.0.1:/home/dir

well the problem is that my computer is giving error rpc program not regestored...

well same stuff we did at my friends pc its work well no error, and file are automatically mounted at startup...

also one thing... when i reload netfs service file are automatically mounted...

what can i do...?

i am running redhat 9

also any idea to change run levels of service


thanks in advance


thanks
abhi.
 
Old 10-02-2005, 07:36 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
127.0.0.1:/home/dir /home/kool/dir nfs rw,sync 0 0
Is this your actual line? or is 127.0.0.1 just a scrubbed address for posting here? I don't understand why you are using NFS to mount a local directory on the same computer???

Quote:
well the problem is that my computer is giving error rpc program not regestored...
Do you have portmapper running?
 
Old 10-03-2005, 01:48 AM   #3
kool124
LQ Newbie
 
Registered: Aug 2004
Location: India
Posts: 17

Original Poster
Rep: Reputation: 0
well matter of fact is that i don't have NIC card so i am using loopback stuff in linux that is 127.0.0.1

also i have my portmapper running...

if there is any change that are require plz tell me..

well we are learning how to implement different server in linux based enviroment......

also in win 2003 server based enviroment...

plz help...

thanks in advanced dude...

thanks
abhi.
 
Old 10-03-2005, 04:08 AM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Ok, well the box must act as both NFS server and client in this situation. You have your fstab setup, but do you have /etc/exports properly edited.
Do you have portmapper, nfsd, and lockd running? Does your kernel support NFS, as both server and client? This will require two different drivers (maybe as modules, maybe builtin). NFS is a complicated server that requires several daemons to be run simultaneously. I am not familiar with redhat, so I can't really help with specifics.

Here are the redhat docs for NFS. I suggest you follow through them and make sure of every step of the procedure, for both client and server.

Good luck...
 
Old 10-03-2005, 11:04 AM   #5
kool124
LQ Newbie
 
Registered: Aug 2004
Location: India
Posts: 17

Original Poster
Rep: Reputation: 0
every thing is edited properly...

also all service are running...

thanks
abhi.
 
  


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
automount windows partitions at startup BiPolar Fedora 11 08-13-2005 05:35 PM
Automount NFS from LDAP info not working klnasveschuk Linux - Networking 2 07-26-2005 01:04 PM
Automount USB disk at startup becho4 Linux - Software 1 07-08-2005 08:36 AM
automount nfs and smb al_erola Linux - Networking 2 04-27-2003 11:33 AM
NFS - Automount / Security Issues gene_gEnie Linux - Networking 0 02-08-2002 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration