Subject: new install nfs not working Date: Fri, Aug 10, 2001 at 10:20:04AM -0700
In reply to:[EMAIL PROTECTED] Quoting [EMAIL PROTECTED]([EMAIL PROTECTED]): > uname: Debian of course. > Linux 2.4.5 #1 Sat Jun 16 07:33:46 PDT 2001 i686 unknown > > Hello all. Just installed nfs using apt-get but haven't got it to work > yet. My /etc/exports hosts.allow and deny files are listed below but I > think they are correct. On the client side the command: > > # rpcinfo -p my.nfs.server My /etc/exports hosts.allow and deny files > are listed below but I think they are correct. On the client side the > command: > I don't. No expert on NLS but I have it working so I'll try to heelp > -----------------------and the 3 config files > # cat /etc/exports > > #sample /etc/exports file: > #/dir machine.foo.com(ro) > /home/ 192.168.1.1(rw) > Not what I have # /etc/exports: the access control list for filesystems which may be # exported # to NFS clients. See exports(5). /pgm2 192.168.1.0/255.255.255.0 (rw) hard,intr,no_root_squash,nohide Any box on the home network is allowed. > ------------------------------------- > # cat /etc/hosts.allow > > portmap: 192.168.1.1 > lockd: 192.168.1.1 > rquotad: 192.168.1.1 > mountd: 192.168.1.1 > statd: 192.168.1.1 # hosts.allow portmap: 192.168.1.3 : allow rpc.ugidd: 192.168.1.3 : allow This is to allow 192.168.1.3 to access files from 192.168.1.1 NO mountd here in mine. > > ---------------------------------------------- > > # cat /etc/hosts.deny > Looks OK I took a tip from the NFS Howto Quote If you edit /etc/exports you will have to make sure nfsd and mountd knows that the files have changed. The traditonal way is to run exportfs. Many Linux distributions lack a exportfs program. If you're exportfs-less you can install this script on your machine: ______________________________________________________________________ #!/bin/sh killall -HUP /usr/sbin/rpc.mountd killall -HUP /usr/sbin/rpc.nfsd echo re-exported file systems ______________________________________________________________________ I run this on each of my NFS Servers. My Potato & Woody boxen didn't have this. HTH -- Computers are a more fun way to do the same work you'd have to do without them. _______________________________________________________