LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   autofs by nfs (https://www.linuxquestions.org/questions/linux-networking-3/autofs-by-nfs-241555/)

convenientstore 10-11-2004 09:48 PM

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.......

convenientstore 10-16-2004 03:16 PM

Can someone please let me know on this?


All times are GMT -5. The time now is 03:58 AM.