I'm having trouble seeing where autofs fits into this?

On Fri, 1 Oct 2004, CHakri Deverapalli wrote:

> Hi, 
>    I am linux newbie and am having some problems with
> NFS hope someone could help. Here is what my problem
> is.
> 1.My previous Administrator has set up a list of
> directories that are shared from a NFS server onto a
> VMS client, now I want to add another client (linux)
> onto this list. So I have changed my /etc/exports file
> to include the client2 and it looks like this.
> /home/data/nfs
> my.client1-VMS.ip.add(ro)my.client2.ip.add(ro)
> /home/data/disk1/1999 my.client1-VMS.ip.add(ro)
> my.client2.ip.add(ro)
> /home/data/disk2/1996 my.client1-VMS.ip.add(ro)
> my.client2.ip.add(ro)
> /home/data/disk2/1997 my.client1-VMS.ip.add(ro)
> my.client2.ip.add(ro)
> /home/data/disk3/2000 my.client1-VMS.ip.add(ro)
> my.client2.ip.add(ro)
> /home/data/disk4/1998 my.client1-VMS.ip.add(ro)
> my.client2.ip.add(ro)
> �All the directories belong to the user �data� and the
> group �uvi� I have changed them to be owned by root
> both the user and group belongs to root now.
> 2. You have tied down the /etc/sysconfig/ipchains and
> /etc/hosts.allow , I have changed them to look like
> this now.
> �:input ACCEPT
> :forward ACCEPT
> :output ACCEPT
> -A input -s 0/0 -d 0/0 137 -p tcp -y -j ACCEPT
> -A input -s 0/0 -d 0/0 137 -p udp  -j ACCEPT
> -A input -s 0/0 -d 0/0 138 -p tcp -y -j ACCEPT
> -A input -s 0/0 -d 0/0 138 -p udp  -j ACCEPT
> -A input -s 0/0 -d 0/0 139 -p tcp -y -j ACCEPT
> -A input -s 0/0 -d 0/0 139 -p udp  -j ACCEPT
> -A input -s my.client1-VMS.ip.add -d 0/0 111 -p tcp -y
> -j ACCEPT
> -A input -s my.client1-VMS.ip.add -d 0/0 111 -p udp  
> -j ACCEPT
> -A input -s my.client1-VMS.ip.add -d 0/0 2049 -p tcp
> -y -j ACCEPT
> -A input -s my.client1-VMS.ip.add -d 0/0 2049 -p udp  
> -j ACCEPT
> -A input -s my.client2.ip.add -d 0/0 111 -p tcp -y -j
> ACCEPT
> -A input -s my.client2.ip.add -d 0/0 111 -p udp   -j
> ACCEPT
> -A input -s my.client2.ip.add -d 0/0 2049 -p tcp -y -j
> ACCEPT
> -A input -s my.client2.ip.add -d 0/0 2049 -p udp   -j
> ACCEPT
> -A input -s 0/0 -d 0/0 22 -p tcp -y -j ACCEPT
> -A input -s 0/0 -d 0/0 21 -p tcp -y -j ACCEPT
> -A input -s 0/0 -d 0/0 21 -p udp -j ACCEPT
> -A input -s 0/0 -d 0/0 -i lo -j ACCEPT
> -A input -p tcp -s 0/0 -d 0/0 0:1023 -y -j REJECT
> -A input -p tcp -s 0/0 -d 0/0 2049 -y -j REJECT
> -A input -p udp -s 0/0 -d 0/0 0:1023 -j REJECT
> -A input -p udp -s 0/0 -d 0/0 2049 -j REJECT
> -A input -p tcp -s 0/0 -d 0/0 6000:6009 -y -j REJECT
> -A input -p tcp -s 0/0 -d 0/0 7100 -y -j REJECT
> �sshd: my.sub.domain.

What about the lock manager RPC process port?
What about the mountd RPC process?
There may be another.

Portmapper allocates ports for these dymamically at startup.

> portmap: my.client1-VMS.ip.add my.client2.ip.add
> nfsd: my.client1-VMS.ip.add my.client2.ip.add
> rpc.mountd: my.client1-VMS.ip.add my.client2.ip.add
> in.ftpd: my.client1-VMS.ip.add  my.client2.ip.add
> 3.Did an NFS restart on the NFS server machine.
> 4. On the client machine I use the following command.
> Mount  �tnfs  my.nfs-server.ip.add:/home/data/nfs
> /home/data/nfs
> �I have created the same directory structure on the
> client also.
> 5.I can mount it without problems but when I try a
> simple command like �ls� my        system hangs up.
> 6.I have created some new directories for test
> purposes and I can mount them and view their contents
> without any problems. But the old ones I am not able
> to mount them.
> Could you suggest what I am doing wrong or what I have
> missed?
> 
> thanks,
> Chakri.
>  
> 
> 
> 
> =====
> D.M.C.Chakravarthy
> Research Associate
> Center for Space Plasma and Aeronomy Research
> University of Alabama in Huntsville
> Ph:256-824-3485(O),256-824-6664(O)
>     256-890-8800(H)
>     256-479=9420(Cell)
> 
> 
>               
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> http://promotions.yahoo.com/new_mail 
> 
> _______________________________________________
> autofs mailing list
> [EMAIL PROTECTED]
> http://linux.kernel.org/mailman/listinfo/autofs
> 


_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to