public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jamie Lokier <lk@tantalophile.demon.co.uk>
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: Michael Rothwell <rothwell@holly-springs.nc.us>,
	linux-kernel@vger.kernel.org
Subject: Re: nfs is stupid ("getfh failed")
Date: Tue, 11 Sep 2001 10:55:32 +0100	[thread overview]
Message-ID: <20010911105532.A20301@kushida.degree2.com> (raw)
In-Reply-To: <002b01c136e1$3bb36a80$81d4870a@cartman> <20010907025947.E7329@kushida.degree2.com> <15261.47090.893483.500877@notabene.cse.unsw.edu.au>
In-Reply-To: <15261.47090.893483.500877@notabene.cse.unsw.edu.au>; from neilb@cse.unsw.edu.au on Tue, Sep 11, 2001 at 05:06:26PM +1000

Neil Brown wrote:
> > I'm seeing this message quite often with one Linux 2.4.7 system
> > automounting another.  As long as A has B's filesystem mounted, all is
> > ok.  Then A times out, unmounts, and later wants to remount B's
> > filesystem.  Then, sometimes, I see a message much like yours.
> > 
> > It doesn't seem to need a reboot to cause this problem, and the fix I
> > have found is to kill and restart the NFS server: /etc/init.d/nfs
> > restart.
> > 
> > I have no idea why it happens, or why restarting nfsd or mountd fixes it.
> 
> Show me your /etc/exports....
> 
> If you export a directory and a subdirectory of that directory - both
> on the same filesysem, you can get this.
> If you export a directory to both an IP address (or subnet) and a
> hostname (or wildcard or netgroup) this can also happen.

Yes, I'm doing the second of those.  No alternative -- I need write
access from some hosts, and read access to all the rest (who are
dynamically allocated) on the subnet.

It's clearly a bug in the NFS server then.

-- Jamie

/etc/exports:

# I want ro granted to all hosts in the 172.30.* subnet, but rw
# granted to the machines in @aquarius_outside which is within that
# subnet.  Doesn't work, whichever order I write the lines.
# (The machines in @aquarius_hosts always get read only access).
#
# Solution, though I don't like it: write the host names explicitly.
#
# The 192.168.64.192/19 subnetwork is for temporarily assigned IPs on
# the Aquarius test network.  /kickstart is used for kickstart
# installations on machines plugged in temporarily.

/home		172.30.0.0/16(ro,root_squash) \
		galatea.degree2.com(rw,root_squash) \
		ariel.degree2.com(rw,root_squash) \
		@aquarius_hosts(rw,root_squash) \
		@aquarius_outside(rw,root_squash)

/kickstart	172.30.0.0/16(ro,root_squash) \
		@aquarius_hosts(ro,root_squash) \
		@aquarius_outside(ro,root_squash) \
		192.168.64.192/255.255.255.224(ro,root_squash)

  reply	other threads:[~2001-09-11  9:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-06 14:35 nfs is stupid ("getfh failed") Michael Rothwell
2001-09-07  1:59 ` Jamie Lokier
2001-09-11  7:06   ` Neil Brown
2001-09-11  9:55     ` Jamie Lokier [this message]
2001-09-11 10:01       ` Neil Brown
2001-09-07 11:47 ` Neil Brown
2001-09-07 12:58   ` Michael Rothwell
2001-09-07 14:17     ` Tim Walberg
2001-09-08  0:02     ` Johan Kullstam
2001-09-08 13:38       ` Alan Cox
2001-09-09 10:05         ` Henning P. Schmiedehausen
2001-09-09 16:44           ` Michael Rothwell
2001-09-10  6:55     ` Neil Brown
2001-09-10  9:32       ` Marcus Sundberg
2001-09-11  7:07         ` Neil Brown
2001-09-12 10:44           ` Marcus Sundberg
2001-09-12 11:13             ` Trond Myklebust
2001-09-12 12:22             ` Neil Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010911105532.A20301@kushida.degree2.com \
    --to=lk@tantalophile.demon.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@cse.unsw.edu.au \
    --cc=rothwell@holly-springs.nc.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox