SUMMARY: nfs 4 mount returns error on solaris client, is ok on linux client

From: Markus Mayer <mymaillists_at_gmx.at>
Date: Fri Sep 04 2009 - 17:25:56 EDT
Thanks for the responses.

Nick hindly was the fastest, pointing me to 
http://blogs.sun.com/macrbg/entry/solaris_nfsv4_client_mount_from
as did Paul Kraus.  This is the solution I will be using.

On Friday 04 September 2009, 17:04 Markus Mayer wrote:
> Hi Managers,
>
> I have an annoying problem that I am unable to solve at the moment.  I am
> trying to mount an nfs share from a linux server on a solaris 10 update 3
> client.  This is failing, although when I mount the share on another linux
> client, it works.  Both systems are speaking nfs4.  I have used wireshark
> to see what is being requested and being sent back and seen that the
> directory is correctly requested from the solaris client /home/sdd, however
> the linux nfs server responds with a NFS4ERR_NOENT meaning no such
> directory.  I have checked that there are no symbolic links in the path to
> the share on the nfs server, as apparently this can make problems under
> nfs4.  I have checked everything that I can think of, and now I don't know
> where else to look.  I would be grateful if anyone could help me here.
>
> Thanks
> Markus
>
> nserv # rpcinfo -p
>    program vers proto   port
>     100000    4   tcp    111  portmapper
>     100000    3   tcp    111  portmapper
>     100000    2   tcp    111  portmapper
>     100000    4   udp    111  portmapper
>     100000    3   udp    111  portmapper
>     100000    2   udp    111  portmapper
>     100024    1   udp  60076  status
>     100024    1   tcp  60327  status
>     100005    1   udp  60228  mountd
>     100005    1   tcp  59479  mountd
>     100005    2   udp  60228  mountd
>     100005    2   tcp  59479  mountd
>     100005    3   udp  60228  mountd
>     100005    3   tcp  59479  mountd
>     100003    2   udp   2049  nfs
>     100003    3   udp   2049  nfs
>     100003    4   udp   2049  nfs
>     100021    1   udp  60263  nlockmgr
>     100021    3   udp  60263  nlockmgr
>     100021    4   udp  60263  nlockmgr
>     100021    1   tcp  55332  nlockmgr
>     100021    3   tcp  55332  nlockmgr
>     100021    4   tcp  55332  nlockmgr
>     100003    2   tcp   2049  nfs
>     100003    3   tcp   2049  nfs
>     100003    4   tcp   2049  nfs
> nserv #
>
>
> nserv tsm # cat /etc/exports
> # /etc/exports: NFS file systems being exported.  See exports(5).
> /home/sdd       192.168.1.117(rw,no_root_squash,async,no_subtree_check)
> /home/sdd       192.168.1.64(rw,no_root_squash,async,no_subtree_check)
>
>
> nserv # showmount -e
> Export list for nserv:
> /home/sdd <192.168.1.64>,<192.168.1.117>
>
> nserv # ps -ef | grep nfs
> root       761     2  0 11:27 ?        00:00:00 [nfsiod]
> root      4501     2  0 16:49 ?        00:00:00 [nfsd4]
> root      4502     2  0 16:49 ?        00:00:00 [nfsd]
> root      4503     2  0 16:49 ?        00:00:00 [nfsd]
> root      4504     2  0 16:49 ?        00:00:00 [nfsd]
> root      5582 32026  0 17:00 pts/22   00:00:00 grep --colour=auto nfs
>
> nserv # ifconfig -a
> eth0      Link encap:Ethernet  HWaddr 00:0e:0c:c1:53:16
>           inet addr:192.168.1.89  Bcast:192.168.1.255  Mask:255.255.255.0
>           inet6 addr: fe80::20e:cff:fec1:5316/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:782033650 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1567453259 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:59149876485 (55.0 GiB)  TX bytes:2239031736231 (2.0 TiB)
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:156250 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:156250 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:219016865 (208.8 MiB)  TX bytes:219016865 (208.8 MiB)
>
> nserv # uname -a
> Linux nserv 2.6.30-gentoo-r4 #1 SMP Mon Jul 27 14:31:34 CEST 2009 x86_64
> Intel(R) Core(TM)2 Extreme CPU X9650 @ 3.00GHz GenuineIntel GNU/Linux
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Sep 4 17:26:42 2009

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:14 EST