Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* NFS export problem
@ 1999-09-02  4:00 js-contact
  1999-09-02  4:00 ` Serguei Patchkovskii
  1999-09-03  4:00 ` John F Carr
  0 siblings, 2 replies; 3+ messages in thread
From: js-contact @ 1999-09-02  4:00 UTC (permalink / raw)


I'm running Digital Unix 4.0B. I have a very long list of IP
addresses that I want to allow NFS exports to.

When mountd starts, it reads in the first X number of addresses, then
chokes with the following error in daemon.log:

stat: File name too long, Cannot stat [list of text]

The man page for stat doesn't help much.

Is there any way to get around this problem?  Ideally, I would like a
way to allow any machine in my subnet (not subdomain) to do NFS mounts,
but this version of mountd doesn't support that.

Jay Swan
js-contact@flannet.middlebury.edu


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.



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

* Re: NFS export problem
  1999-09-02  4:00 NFS export problem js-contact
@ 1999-09-02  4:00 ` Serguei Patchkovskii
  1999-09-03  4:00 ` John F Carr
  1 sibling, 0 replies; 3+ messages in thread
From: Serguei Patchkovskii @ 1999-09-02  4:00 UTC (permalink / raw)


js-contact@flannet.middlebury.edu wrote:
: Is there any way to get around this problem?  Ideally, I would like a
: way to allow any machine in my subnet (not subdomain) to do NFS mounts,
: but this version of mountd doesn't support that.

Use netgroups. I currently have a netgroup with more than 100 systems
in the /etc/exports access list; works like a charm.

Regards,

/Serge.P

--
home page: http://www.cobalt.chem.ucalgary.ca/ps/



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

* Re: NFS export problem
  1999-09-02  4:00 NFS export problem js-contact
  1999-09-02  4:00 ` Serguei Patchkovskii
@ 1999-09-03  4:00 ` John F Carr
  1 sibling, 0 replies; 3+ messages in thread
From: John F Carr @ 1999-09-03  4:00 UTC (permalink / raw)


In article <7qmm14$2d6$1@nnrp1.deja.com>,
 <js-contact@flannet.middlebury.edu> wrote:
>When mountd starts, it reads in the first X number of addresses, then
>chokes with the following error in daemon.log:
>
>stat: File name too long, Cannot stat [list of text]

There is a 4K line length limit for the exports file.  In 4.0 you will
see an error like that when the length is exceeded.  In 5.0 mountd
reports "Line too long: [beginning of long line]".

>Is there any way to get around this problem?

If you are using YP, try netgroups.

-- 
    John Carr (jfc@mit.edu)



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

end of thread, other threads:[~1999-09-03  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-02  4:00 NFS export problem js-contact
1999-09-02  4:00 ` Serguei Patchkovskii
1999-09-03  4:00 ` John F Carr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox