All of lore.kernel.org
 help / color / mirror / Atom feed
* Large export list leads to "Invalid argument" errors when executing 'exportfs -r'
@ 2003-07-05 11:44 Marc Schmitt
  2003-07-07 10:14 ` Marc Schmitt
  2003-08-28  8:56 ` Marc Schmitt
  0 siblings, 2 replies; 3+ messages in thread
From: Marc Schmitt @ 2003-07-05 11:44 UTC (permalink / raw)
  To: nfs

Hi all,

I'm using RedHat 7.3 as NFS server, kernel 2.4.18-27.7.xsmp, nfs-utils
1.0.3.

For each home directory, we make an entry into /etc/exports of the type:

/export/home/<login> @<login>(rw,sync)

The @<login> netgroups contain usually a whole bunch of machines in FQDN
notation.

This setup used to work fine, I could add a new entry to /etc/exports
and issue 'exportfs -r' and everything would work as expected, the new
home could be mounted on the machines in @<login>.

Somehow, with /etc/exports growing more and more (currently 137
entries), 'exportfs -r' started giving errors of the type:

<somehost part of @<login>>:/export/home/<login>: Invalid argument

Currently, I get three of those error lines for three entries in
/etc/exports. Lokks like it fails when it tries to unexport the entry,
'exportsfs -r -v' shows:

unexporting <somehost part of @<login>>:/export/home/<login> from kernel
<somehost part of @<login>>:/export/home/<login>: Invalid argument

I made several tests, even when I delete the line in /etc/exports for
<login>, 'exportfs -r' will still give this error. I've deleted the
corresponding entry in /var/lib/nfs/xtab but 'exportfs -r' would just
add it again, obviously it's cached in the kernel table.

Looking at 'showmount -a', I noticed that the server thinks, that
<somehost> has /export/home/<login> mounted, still. Even though the
client does not have the home mounted from the server. I mounted the
home on <somehost>, unmounted and issued 'exportfs -r' on the server and
the error message "somehost part of @<login>>:/export/home/<login>:
Invalid argument" did not appear again.

Interestingly, I have not seen this error message for linux clients. The
two machines I have seen it for are:
- SunOS 5.9
- IRIX64 6.5
But then I'm seeing this error for a week only, now.

The server seems to work fine, though. Even if it reports an error for
<somehost>, <somehost> can mount the corresponding home. I just wanted
to report this issue and will gladly provide more infos if required.

Regards,
   Marc



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-08-28  8:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-05 11:44 Large export list leads to "Invalid argument" errors when executing 'exportfs -r' Marc Schmitt
2003-07-07 10:14 ` Marc Schmitt
2003-08-28  8:56 ` Marc Schmitt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.