LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-11-2004, 09:48 PM   #1
convenientstore
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
autofs by nfs


Hi,

After going through tutorial after tutorial, I am getting bit frusrated..... w/ autofs

I got nfs working w/ mount commands and /etc/fstab,

However, autofs is not working at all. I have no idea why. someone please help me


########### my nfs server . has
~@p300 >cat /etc/exports
/var/www/html/megabackup 192.168.1.101(rw)
~@p300 >ifconfig -a | grep "inet addr:192"
inet addr:192.168.1.9 Bcast:192.168.1.255 Mask:255.255.255.0
~@p300 >showmount -e 192.168.1.9
Export list for 192.168.1.9:
/megabackup rhce
/var/www/html/megabackup@p300 >ls
www files backup


############ client trying to do autofs.....
[root@rhas root]# ifconfig -a | grep "inet addr:192"
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
[root@rhas root]# showmount -e 192.168.1.9
Export list for 192.168.1.9:
/megabackup rhce
[root@rhas root]# cat /etc/auto.master
/killbill/yahoo /etc/auto.home
[root@rhas root]# cat /etc/auto.home
yahoo1 -rw,soft,intr 192.168.1.9:/var/www/html/megabackup
[root@rhas root]# mount
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
automount(pid1223) on /killbill/yahoo type autofs (rw,fd=5,pgrp=1223,minproto=2,maxproto=3)
[root@rhas yahoo]# service portmap status
portmap (pid 733) is running...
[root@rhas root]# cd /killbill/yahoo ; ls
[root@rhas yahoo]#

NFS and portmap is both running on server
Client has portmap running as well.. but when I do it. it just doesn't seem to work... why? why? I am really frustrated with this. can someone please shed some light on this issue? I will provide more info(whatever is necessary). Please advise and ask(if further info is necessary).

Big thank you in advance.......
 
Old 10-16-2004, 03:16 PM   #2
convenientstore
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Can someone please let me know on this?
 
  


Reply



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
autofs for NFS jkmartha Linux - Software 1 06-17-2005 10:14 AM
Autofs tefal Linux - Software 4 07-20-2004 10:58 AM
nfs mount with fstab vs autofs rrich100 Linux - Networking 2 11-13-2003 10:21 PM
Mounting NFS filesystem fstab vs autofs rrich100 Linux - Networking 0 11-13-2003 01:38 PM
Solaris serving NIS, NFS, autofs to RH7.3 joeljensen Linux - Networking 1 07-12-2002 07:28 PM

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

All times are GMT -5. The time now is 03:27 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