[plug] NFS trouble "no export entry" for root fs.

Andrew Howell andrew at vila.it.net.au
Sun May 30 11:52:12 WST 1999


On Sun, May 30, 1999 at 10:18:28AM +0800, David Campbell wrote:
> > Since upgrading ( 2.2, redhat6 ) I have had some odd trouble with NFS.
> > The client get a stale NFS handle for no apparent reason on a mounted
> > filesystem that was previously working. I then unmount and try to remount,
> > but the server refuses, and logs:
> > 
> > 	mountd[449]: refused mount request from donau: no export entry 
> > 
> > But of course there is one. Nothing has changed in the /etc/exports file.
> > 
> > 	/var/spool/mail donau(rw,no_root_squash)
> > 	/       donau(rw,no_root_squash)
> > 	/usr        donau(ro,no_root_squash)
> > 	/home       donau(rw,no_root_squash)
> > 
> > The /var/spool/mail is still working fine (can unmount and remount),
> >  but '/' is rejected. The others will mount at another mountpoint.
> 
> Very queer... It has been several years since I have dealt with NFS 
> in any great detail but there is a way to update the export table 
> without shutting down the NFS daemons. From memory it involves 
> running "exportfs" as root with a few options. One of the options 
> should list the exports as the NFS daemon understands.
> 
> Maybe I have a wire crossed here because there is a very similar util 
> which tells you what "volumes" have been exported by a remote NFS 
> server (eg: browsing an NFS server).
> 
> You may want to check the man page on exportfs and also the "see 
> also" entries.

Under debian what you want is

/etc/init.d/nfs-server reload

showmount -e localhost

will show what stuff is being exported.

Andrew

-- 
Andrew Howell
Managing Director
Informed Technology
E-mail: andrew at it.net.au
Ph: 08 9380 4244  Fax: 08 9380 4354


More information about the plug mailing list