[plug] NFS problem

John Summerfield summer at os2.ami.com.au
Fri Nov 27 20:34:59 WST 1998


Does anyone have any idea what's wrong here?
I have two computers (that matter to this discussion):
emu nfsd Universal NFS Server 2.2beta29
/etc/exports reads:
[root at emu /root]# cat /etc/exports
#/mnt/cdrom possum(insecure,ro,no_root_squash,link_relative,map_daemon)
#/mnt/cdrom magpie(insecure,ro,no_root_squash,link_relative,map_daemon)
/mnt/cdrom 192.168.0.6 (ro)
/mnt/cdrom 192.168.1.6 (ro)
/mnt/cdrom 192.168.0.5 (ro)
/mnt/cdrom 192.168.0.6 (ro)

/work possum(insecure,rw,no_root_squash,link_relative)
/u possum(insecure,rw,no_root_squash,link_relative)

[root at emu /root]# 


possum mounts /u and /work w/o problem: my home directory's on /u.

On pussum I have
[root at possum /etc]# rpc.nfsd -v
Universal NFS Server 2.2beta37
[root at possum /etc]# cat /etc/exports
/home/packages 192.168.0.5 (rw)
/mnt/cdrom 192.168.0.2 (ro)
/mnt/cdrom 192.168.1.2 (ro)
/mnt/cdrom 192.168.0.5 (ro)
/mnt/cdrom quokka.os2.ami.com.au (rw,no_root_squash)
#
/usr/src/linux-2.1.90 192.168.0.5(rw,no_root_squash)
/mnt/mo 192.168.1.2(rw,no_root_squash)
/mnt/cdrom 192.168.1.2(rw,no_root_squash)
/mnt/mo quokka.os2.ami.com.au(rw,no_root_squash)
#
/redhat 192.168.1.2(rw,no_root_squash)
/redhat magpie.os2.ami.com.au(rw,no_root_squash)
/redhat quokka.os2.ami.com.au(rw,no_root_squash)
/misc  192.168.1.2(rw,no_root_squash)
/misc  quokka.os2.ami.com.au(rw,no_root_squash)

[root at possum /etc]# 

When I try out mount possum's devices on em, I get this on possum:
[root at possum /etc]# tail /var/log/messages 
Nov 27 20:08:31 possum automount[5634]: expired /misc/cd
Nov 27 20:11:35 possum mountd[283]: NFS mount of /redhat attempted from 192.168.1.2 
Nov 27 20:11:35 possum mountd[283]: Unauthorized access by NFS client 192.168.1.2. 
Nov 27 20:11:35 possum mountd[283]: Blocked attempt of 192.168.1.2 to mount /redhat 
Nov 27 20:11:37 possum mountd[283]: NFS mount of /redhat attempted from 192.168.1.2 
Nov 27 20:11:37 possum mountd[283]: Unauthorized access by NFS client 192.168.1.2. 
Nov 27 20:11:37 possum mountd[283]: Blocked attempt of 192.168.1.2 to mount /redhat 
Nov 27 20:14:16 possum mountd[283]: NFS mount of /mnt/cdrom attempted from 192.168.1.2 
Nov 27 20:14:16 possum mountd[283]: Unauthorized access by NFS client 192.168.1.2. 
Nov 27 20:14:16 possum mountd[283]: Blocked attempt of 192.168.1.2 to mount /mnt/cdrom 

As you can see here, pid 383 is mountd:
[root at possum /etc]# ps xa | grep -w 283
  283  ?  S    0:00 rpc.mountd 


One difference (and the only significant one I see) is the version of nfsd
I'm running. Both systems have kernel 2.0.35. i have the newer nfsd on
possum coz it's required for the 2.1 kernel I hope to use one day soon.


I was exporting from possum by hostname: that doesn't work either.

I just thought to see that I have a matched set of nfs software on possum:
[summer at possum summer]$ rpm -q nfs-server-clients nfs-server
nfs-server-clients-2.2beta37-1
nfs-server-2.2beta37-1
[summer at possum summer]$ 

This is the latest I see at sunsite and it's been out since early Oct, so
presumambly it isn't seriously broken.

Any ideas?
Hint: I'm not using wrappers for nfs, so it's not hosts.* files.

It did work here, I'm pretty sure in the past month or so.

Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.



More information about the plug mailing list