NFS failure (more) (was Re: [plug] SIGHUP woody nfs)

Harry McNally harrymc at decisions-and-designs.com.au
Sat Dec 29 22:17:35 WST 2001


A hint for the unwary .. (sorry for the never-ending-story) ..

 >I apt-get installed nfs-user-server a user space nfs that uninstalled
 > nfs-kernel-server and started the user server.

 >Now an nfs mount attempt at the potato box being installed gives:
 >reason given by server: Permission denied.

For woody users moving between nfs-kernel-server and nfs-user-server I 
_think_ I've found that /etc/exports needs to change when you install the 
other.

Using nfs-kernel-server the /etc/exports was:

/cdrom 192.168.1.0/24(ro)

(which worked) whereas for nfs-user-server the server rejects requests from 
92.168.1.69 (Permission denied, as explained above). I found I had to rely 
on a server /etc/hosts entry for 192.168.1.69 (no dns here) and change the 
/etc/exports to reflect the clients hostname (debian) thus:

/cdrom debian(ro)

By running server rpc.mountd in foreground using:

# /usr/sbin/rpc.mountd -F -d auth

I get:

mountd[460] 12/29/101 21:21 auth_forward_lookup(debian) debian
mountd[460] 12/29/101 21:21 clnt debian exports:
mountd[460] 12/29/101 21:21     /cdrom
mountd[460] 12/29/101 21:21             options: ro noroot portck
mountd[460] 12/29/101 21:22 flushed host access cache
mountd[460] 12/29/101 21:22 NFS mount of /cdrom attempted from 192.168.1.69
mountd[460] 12/29/101 21:22 auth_path(/cdrom): mount point /cdrom, 
(root_squash secure ro)
mountd[460] 12/29/101 21:22 /cdrom has been mounted by 192.168.1.69

Server is happy but the client _now_ fails with:

Mounting 192.168.1.9:/cdrom on /instmnt failed: Invalid argument

arrgh

man exports ..
  



More information about the plug mailing list