On Tue, 12 Jun 2001, you wrote:
> are you exporting from just one machine to the other? the
> /etc/rc.d/init.d/nfs and /usr/sbin/rpc.nfsd are - i think - for serving
> from one machine to the 'receiving' machine, you need to have
> nfs-utils-clients on the other machine, i assume you have installed either
> or both of nfs-utils or nfs-utils-clients on the appropriate machines?

I have installed all the utilities on both machines.  I started 
/usr/sbin/rpc.nfsd and /etc/rc.d/init.d/nfs on the "exporting" machine.  

Do have to do something to start nfs-utils-clients on the receiving machine?  

Do all of these need to be working at all times?   

Can I use a simple script to start all of this automatically at boot?

>
> have you tried to mount manually?
>
> 'mount -t nfs machine.domain:/path/on/other/machine /path/on/this/machine'

When I try to mount manually, I get:  machine_name:/usr failed, reason given 
by server : Permission denied.

>
> also, in your fstab i notice that you have just 'john', assuming that is a
> machine name i wonder if you need to use a domain name as well or make sure
> you have aliases in your /etc/hosts file?

/etc/hosts on machine one contains :

192.168.x.1x  localhost.localdomain  localhost
127.0.0.1  localhost
192.168.x.2x  macine_two_name

/etc/hosts on machine two contains :

192.168.X.2X  localhost.localdomain
127.0.0.1   localhost
192..168.X.1X  machine_one_name

Does any of this help??

>
> bascule
>
> On Tuesday 12 June 2001 11:14 pm, you wrote:
> > I have a question regarding NFS. �After nearly 30 hours over two days and
> > redoing the basic install of 7.2 on both of my machines, I have my two
> > machines networked together and can ping each successfully. �I installed
> > the network utilities, nfs and portmap, and have edited my /etc/exports
> > files to read:
> >
> > /usr *.localdomain
> > /home *.localdomain
> >
> > I have also edited my /etc/fstab to include:
> >
> > john:/usr �/fsys/john/usr �NFS � defaults
> > john:/home �/fsys/john/usr � NFS � � defaults
> >
> > I did a /usr/sbin/rpc.nfsd to start the daemon
> > I did a /etc/rc.d/init.d/portmap start �
> > Then I did a /etc/rc.d/init.d/nfs start
> >
> > (The last two commands were suggested by someone on the list, but were
> > not in my books.) �I checked the Mandrake site for a tutorial on NFS, but
> > all there is is a basic networking tutorial, and how to do IP
> > masquerading.
> >
> > The mounting proceedure is not working and I'm wondering if I'm missing
> > something??
> >
> > Thanks,
> >
> > Michael

Reply via email to