mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Two nfsd bugs in 2.4.x
@ 2001-06-23 22:07 Hans-Joachim Baader
  2001-06-23 22:43 ` Neil Brown
  2001-06-23 23:30 ` James Stevenson
  0 siblings, 2 replies; 3+ messages in thread
From: Hans-Joachim Baader @ 2001-06-23 22:07 UTC (permalink / raw)
  To: linux-kernel

Hi,

Since I switched to the kernel nfsd I have troubles exporting my
filesystems. I think in kernel 2.2.x there was no problem, neither was
it with the userspace nfsd. Currently I run kernel 2.4.5pre1 on the
server.

1. When I try to boot one of my diskless clients (kernel 2.0.34), it mounts
its root fs from /opt/boot/client which is on an ext2 fs. But apparently
it hangs when it tries to access lib/ld-linux.so.1 (seen with a network
sniffer). This is a symbolic link pointing to lib/ld-linux.so.1.9.2.
In the kernel log I find:

nfsd Security: lib/ld-linux.so.1 bad export.

2. I cannot any longer mount the server's /usr on certain workstations.
It works on my main workstation which currently runs kernel 2.4.5.
On other workstations I get "permission denied by server". I tried various
kernels (2.0.36, 2.2.3, 2.3.52) and various versions of mount (2.7l, 2.10o).
My /etc/exports contains the line

/usr            *.hjb.de(rw,no_root_squash)

and all my clients are in my local DNS. The syslog shows

rpc.mountd: getfh failed: Operation not permitted

Any help? More info on request.

Thanks,
hjb
-- 
Pro-Linux - Germany's largest volunteer Linux support site
http://www.pro-linux.de/

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

* Re: Two nfsd bugs in 2.4.x
  2001-06-23 22:07 Two nfsd bugs in 2.4.x Hans-Joachim Baader
@ 2001-06-23 22:43 ` Neil Brown
  2001-06-23 23:30 ` James Stevenson
  1 sibling, 0 replies; 3+ messages in thread
From: Neil Brown @ 2001-06-23 22:43 UTC (permalink / raw)
  To: Hans-Joachim Baader; +Cc: linux-kernel

On Sunday June 24, hjb@pro-linux.de wrote:
> Hi,
> 
> Since I switched to the kernel nfsd I have troubles exporting my
> filesystems. I think in kernel 2.2.x there was no problem, neither was
> it with the userspace nfsd. Currently I run kernel 2.4.5pre1 on the
> server.

Sounds like you might have an old nfs-utils package.  Try the latest
(nfs.sourceforget.net) and see if that helps.

If it doesn't, please provide complete /etc/exports and /etc/fstab.

NeilBrown


> 
> 1. When I try to boot one of my diskless clients (kernel 2.0.34), it mounts
> its root fs from /opt/boot/client which is on an ext2 fs. But apparently
> it hangs when it tries to access lib/ld-linux.so.1 (seen with a network
> sniffer). This is a symbolic link pointing to lib/ld-linux.so.1.9.2.
> In the kernel log I find:
> 
> nfsd Security: lib/ld-linux.so.1 bad export.
> 
> 2. I cannot any longer mount the server's /usr on certain workstations.
> It works on my main workstation which currently runs kernel 2.4.5.
> On other workstations I get "permission denied by server". I tried various
> kernels (2.0.36, 2.2.3, 2.3.52) and various versions of mount (2.7l, 2.10o).
> My /etc/exports contains the line
> 
> /usr            *.hjb.de(rw,no_root_squash)
> 
> and all my clients are in my local DNS. The syslog shows
> 
> rpc.mountd: getfh failed: Operation not permitted
> 
> Any help? More info on request.
> 
> Thanks,
> hjb
> -- 
> Pro-Linux - Germany's largest volunteer Linux support site
> http://www.pro-linux.de/
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

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

* Re: Two nfsd bugs in 2.4.x
  2001-06-23 22:07 Two nfsd bugs in 2.4.x Hans-Joachim Baader
  2001-06-23 22:43 ` Neil Brown
@ 2001-06-23 23:30 ` James Stevenson
  1 sibling, 0 replies; 3+ messages in thread
From: James Stevenson @ 2001-06-23 23:30 UTC (permalink / raw)
  To: hjb; +Cc: linux-kernel

>Since I switched to the kernel nfsd I have troubles exporting my
>filesystems. I think in kernel 2.2.x there was no problem, neither was
>it with the userspace nfsd. Currently I run kernel 2.4.5pre1 on the
>server.

i have also had a few problems with nfsd when i have
moved to 2.4.x (2.4.5-ac15 currently) from 2.2.x
both the server and client side.

problems i have been seeing include.

a) if the server goes down the client sometimes does not remount the
   share. and it prints lots of "stale nfs handles or something"
   this is fine if it is remounted by hand.

>1. When I try to boot one of my diskless clients (kernel 2.0.34), it mounts
>its root fs from /opt/boot/client which is on an ext2 fs. But apparently
>it hangs when it tries to access lib/ld-linux.so.1 (seen with a network
>sniffer). This is a symbolic link pointing to lib/ld-linux.so.1.9.2.
>In the kernel log I find:
>
>nfsd Security: lib/ld-linux.so.1 bad export.

there are some options that do things with symlinks have you tried
looking at some of those ?


>2. I cannot any longer mount the server's /usr on certain workstations.
>It works on my main workstation which currently runs kernel 2.4.5.
>On other workstations I get "permission denied by server". I tried various
>kernels (2.0.36, 2.2.3, 2.3.52) and various versions of mount (2.7l, 2.10o).
>My /etc/exports contains the line
>
>/usr            *.hjb.de(rw,no_root_squash)
>
>and all my clients are in my local DNS. The syslog shows
>rpc.mountd: getfh failed: Operation not permitted

hi yes i saw this it appeard to rpc.mountd that the
client had already mounted the dir but the nfsd
seemed to think otherwise it was returning the
error to rpc.mountd rebooting the server was the only
work around i found in this restarting the programs
did not seem to help.

eg
client1: mount /home (works fine)
client2: mount /home (did not work)
server: restart nfs programs
client2: mount /home (did not work)
server: reboot
client2: mount /home (works)

and client1 works all the way though (except when the
server is down of course)

i have only seem these a few times and its been working fine
since. so i think they are probably pritty hard to produce

	James
-- 
---------------------------------------------
Web: http://www.stev.org
Mobile: +44 07779080838
E-Mail: mistral@stev.org
 11:20pm  up  3:32,  5 users,  load average: 0.33, 0.39, 0.33

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

end of thread, other threads:[~2001-06-23 22:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-23 22:07 Two nfsd bugs in 2.4.x Hans-Joachim Baader
2001-06-23 22:43 ` Neil Brown
2001-06-23 23:30 ` James Stevenson

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

all inboxes | Powered by JetHome®