2006-02-13 01:00:55

by JaniD++

[permalink] [raw]
Subject: [QUESTION] NFS and new kernels.

Hello, list,

I use the NFS couple of years, so i think, i know what am i doing.
I have 7 servers, that boots from NFS, using nfsroot.
Now i plan to replace the NFS server, to completely newer system, and i get
seriously strange messages.
The general problem is i cannot mount any NFS shares, at all, after i
upgrade the kernel the FC4-based kernel(2.6.11) to 2.6.16-rcX.
I have spend some days to read mans, faqs, howtos, mailing list, but did not
find any interesting.
This tells me: i am the stupid. :-)

The general problem, is this:

(client)[root@st-0001 root]# mount: 192.168.0.2://mountpoint failed, reason
given by server: Permission denied
(server)[root@NetCenter log]# mount: localhost://mountpoint failed, reason
given by server: Permission denied
(client)[root@st-0001 root]# showmount -e 192.168.0.2
/mnt/EXT 192.168.2.*
/mnt/EXT/NFS/ROOT (everyone)
/mountpoint st-0001
etc...

[root@st-0001 root]# rpcinfo -p 192.168.0.2
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100011 1 udp 999 rquotad
100011 2 udp 999 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100005 1 udp 1010 mountd
100005 1 tcp 1013 mountd
100005 2 udp 1010 mountd
100005 2 tcp 1013 mountd
100005 3 udp 1010 mountd
100005 3 tcp 1013 mountd


(server "NetCenter")
Feb 4 03:42:47 NetCenter rpc.mountd: mount request from unknown host
127.0.0.1 for /mountpoint (/mountpoint)
Feb 4 02:09:03 NetCenter rpc.mountd: authenticated mount request from
192.168.2.50:728 for /mountpoint (/mountpoint)
Feb 10 19:51:09 NetCenter mountd[26698]: authenticated mount request from
st-0001:894 for /mountpoint (/mountpoint)
...

[root@NetCenter log]# cat /proc/fs/nfs/exports:
# Version 1.1
# Path Client(Flags) # IPs
/mountpoint st-0001(rw,no_root_squash,async,wdelay)

The additional problem is, i cannot add, to this file all line in the
/etc/exports.
Only the named hosts.
The exportfs -ra did not add, the * host.

Before i upgrade the nfs-utils-1.0.8-rc2, the old exportfs did not add
anything!

The firewall, is off, on both systems.
The /etc/hosts.allow and deny are both empty.

What have i missing?

Thanks,
Janos


2006-02-13 09:09:41

by Jan Engelhardt

[permalink] [raw]
Subject: Re: [QUESTION] NFS and new kernels.


>This tells me: i am the stupid. :-)
>
>The general problem, is this:
>
>(client)[root@st-0001 root]# mount: 192.168.0.2://mountpoint failed, reason
>given by server: Permission denied

Bogus syntax, I'd say. //mountpoint is not the same as /mountpoint

>(server)[root@NetCenter log]# mount: localhost://mountpoint failed, reason
>given by server: Permission denied
>(client)[root@st-0001 root]# showmount -e 192.168.0.2
>/mnt/EXT 192.168.2.*
>/mnt/EXT/NFS/ROOT (everyone)
>/mountpoint st-0001
>etc...
>

Jan Engelhardt
--

2006-02-13 12:31:48

by JaniD++

[permalink] [raw]
Subject: Re: [QUESTION] NFS and new kernels.


----- Original Message -----
From: "Jan Engelhardt" <[email protected]>
To: "JaniD++" <[email protected]>
Cc: <[email protected]>
Sent: Monday, February 13, 2006 10:09 AM
Subject: Re: [QUESTION] NFS and new kernels.


>
> >This tells me: i am the stupid. :-)
> >
> >The general problem, is this:
> >
> >(client)[root@st-0001 root]# mount: 192.168.0.2://mountpoint failed,
reason
> >given by server: Permission denied
>
> Bogus syntax, I'd say. //mountpoint is not the same as /mountpoint

Ahh, yes, you have right!
But i use this format from the beginning, and was worked until now.

Anyway, now i try with one / but no change!

The problem, is somewhere else!

Thanks,
Janos

>
> >(server)[root@NetCenter log]# mount: localhost://mountpoint failed,
reason
> >given by server: Permission denied
> >(client)[root@st-0001 root]# showmount -e 192.168.0.2
> >/mnt/EXT 192.168.2.*
> >/mnt/EXT/NFS/ROOT (everyone)
> >/mountpoint st-0001
> >etc...
> >
>
> Jan Engelhardt
> --
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/