Subject: Re: NFS over IPv6
To: Mihai CHELARU <kefren@netbsd.ro>
From: Rui Paulo <rpaulo@NetBSD.org>
List: current-users
Date: 09/25/2005 15:49:38
--7qSK/uQB79J36Y4o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2005.09.23 11:04:50 +0300, Mihai CHELARU wrote:
| Hello,
|=20
| While in netbsd-2 I was able to use showmount -e for IPv6 NFS servers, bu=
t not=20
| to actually mount shares (rpc errors), in netbsd-3 (and -current) even=20
| showmount is no longer working. Anyone is using NFS over IPv6 ? If so, do=
 you=20
| have any hints ?
|=20
| Here is exactly what happens:
|=20
| On netbsd-2:
|=20
| # showmount -e 2001:618:423:beef::5
| Exports list on 2001:618:423:beef::5:
| /usr/release/binary/sets           Everyone
| /usr/public                        193.28.151.0
| /disk3/public                      193.28.151.0 2001:623:418::
| /disk3                             14.100.0.0
| /disk2/public                      193.28.151.0
| # mount_nfs 2001:618:423:beef::5:/disk3/public /nfs
| mount_nfs: rpcbind to nfs on server: RPC: Program not registered
| ^C
|=20
| On -current and netbsd-3:
| # showmount -e 2001:618:423:beef::5
| showmount: Can't do Exports rpc: RPC: Unknown host

Server is netbsd-3, client is -current. UDP also works.
The following are commands on the client:
# mount_nfs -T 2002:XXXX:XX6f:2:2a0:24XX:fe4e:ea84:/srv/nfs /mnt
% netstat -a -f inet6 | grep nfs                                           =
 [~]
tcp6       0      0  proton.1018            quanta.nfs             ESTABLIS=
HED
% rpcinfo 2002:XXXX:XX6f:2:2a0:24XX:fe4e:ea84 | grep nfs                   =
 [~]
    100003    2    udp       0.0.0.0.8.1            nfs        superuser
    100003    3    udp       0.0.0.0.8.1            nfs        superuser
    100003    2    udp6      ::.8.1                 nfs        superuser
    100003    3    udp6      ::.8.1                 nfs        superuser
    100003    2    tcp       0.0.0.0.8.1            nfs        superuser
    100003    3    tcp       0.0.0.0.8.1            nfs        superuser
    100003    2    tcp6      ::.8.1                 nfs        superuser
    100003    3    tcp6      ::.8.1                 nfs        superuser
% showmount -e  2002:XXXX:XX6f:2:2a0:24XX:fe4e:ea84
showmount: Can't do Exports rpc: RPC: Unknown host

The only thing that seems to be broken is showmount, both in netbsd-3
and -current.

		-- Rui Paulo

--7qSK/uQB79J36Y4o
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFDNrkCZPqyxs9FH4QRAgamAKCGiAs2HLylV5pUZK1rMBs72PolhQCfYn1G
bLkHMnVZ5fu/i1+TJnN5COQ=
=jc7n
-----END PGP SIGNATURE-----

--7qSK/uQB79J36Y4o--