[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NFS woes.



OK, folks, this is a biggie...

I`ve recently setup a peer-to-peer ethernet network with my flatmates
linux box (both boxes are running Redhat 6.1, Kernel 2.2.14).
IP Masquerading (for all the usual things - irc, www and icq), telnet,
and ftp work fine.

However, for something to do, I`m trying to config NFS between the two
machines.

I`ve read the NFS-How-to, and followed the steps to setting my box up
as an NFS server, and my flatmates box as a client.

arrakis (192.168.0.1) is my machine, marlboro (192.168.0.2) is my
flatmates box.

Here`s my /etc/exports file:

/mnt/win/ marlboro(rw) # give access to my Winblows drive files.
/home/ marlboro(rw)

/etc/hosts.allow file:

portmap: 192.168.0.2/255.255.255.0

/etc/hosts.deny file:

portmap: ALL

And on my flatmates machine (marlboro) the following lines have been
added to /etc/fstab

arrakis:/mnt/win /mnt/win nfs
rsize=1024,wsize=1024,rw,nosuid 1 1
arrakis:/home /mnt/ahome nfs
rsize=1024,wsize=1024,rw,nosuid 1 1

When I issue the mount command as any user and as root on marlboro, I`m
told:

mount: RPC: Program not registered

However, rpcinfo -p on my machine gives:

100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100021 1 udp 1024 nlockmgr
100021 3 udp 1024 nlockmgr
100021 1 tcp 1024 nlockmgr
100021 3 tcp 1024 nlockmgr
100024 1 udp 952 status
100024 1 tcp 954 status
100011 1 udp 684 rquotad
100011 2 udp 684 rquotad
100003 2 udp 2049 nfs
100005 1 udp 806 mountd
100005 1 tcp 808 mountd
100005 2 udp 811 mountd
100005 2 tcp 813 mountd
100005 3 udp 816 mountd
100005 3 tcp 818 mountd

So, obviously mountd (quite a few of them, in fact) is running on the
server (my box) - in fact I start it (should I?) and exportfs in my
etc/rc.d/rc.local file.

After reading all that, does anyone have any idea what I`ve done wrong?

That`s all the files I`ve changed, as far as I can figure.

HELP!!!

----------
Barrie J. Bremner

Email: TheEnglishman [at] ecosse.net

Webpage: http://www.geocities.com/thefatenglishman

Telephone: UK 0131 313 3266

Fashion is a form of ugliness so intolerable that we have to alter it
every six months.

- Oscar Wilde

Start your own FREE mailing list at

© 2000 Microsoft Corporation. All Rights Reserved