1 |
Hello list, |
2 |
|
3 |
Since I set up IPv6 on my LAN, I've been unable to NFS-export a directory on |
4 |
machine A (an Atom serving portage via git, among other things) and mount it |
5 |
on machine B (this workstation). It was working fine until then, but now mount |
6 |
commands fail. In both kernels I have NFSv4 selected, but not 4.x; no fancy |
7 |
extras like ACLs. |
8 |
|
9 |
I went back to the Gentoo nfs-utils wiki page and made sure I had everything |
10 |
right, then searched for other people's problems. Nothing has helped so far. |
11 |
|
12 |
On the server: |
13 |
$ cat /etc/conf.d/nfs |
14 |
NFS_NEEDED_SERVICES="rpc.idmapd" |
15 |
OPTS_RPC_NFSD="1 -N 2 -N 3 -V 4 -N 4.1" |
16 |
OPTS_RPC_MOUNTD="-p 32767" |
17 |
OPTS_RPC_STATD="-p 32765 -o 32766" |
18 |
OPTS_RPC_IDMAPD="" |
19 |
OPTS_RPC_GSSD="" |
20 |
OPTS_RPC_SVCGSSD="" |
21 |
OPTS_RPC_RQUOTAD="" |
22 |
EXPORTFS_TIMEOUT=30 |
23 |
$ cat /etc/exports |
24 |
mnt/nfs 192.168.1.5/24(rw,no_subtree_check,crossmnt,fsid=0) \ |
25 |
fe80::5/64(rw,sync,no_subtree_check,crossmnt,fsid=0) |
26 |
/mnt/nfs/portage 192.168.1.5/24(rw,no_subtree_check,anonuid=250,anongid=250,fsid=1) \ |
27 |
fe80::5/64(rw,no_subtree_check,anonuid=250,anongid=250,fsid=1) |
28 |
/mnt/nfs/port.resc 192.168.1.5/24(rw,no_subtree_check,anonuid=250,anongid=250,fsid=2) \ |
29 |
fe80::5/64(rw,no_subtree_check,anonuid=250,anongid=250,fsid=2) |
30 |
$ grep nfs /etc/fstab |
31 |
/usr/portage /mnt/nfs/portage none bind 0 0 |
32 |
|
33 |
On the client: |
34 |
$ grep nfs /etc/fstab |
35 |
192.168.1.2:/mnt/nfs/portage /mnt/atom/usr/portage nfs4 noauto,rw,_netdev 0 0 |
36 |
|
37 |
Now I try to mount /usr/portage from the host on /mnt/atom/usr/portage (which |
38 |
does exist) and get this: |
39 |
# mount /mnt/atom/usr/portage |
40 |
mount.nfs4: mounting 192.168.1.2:/mnt/nfs/portage failed, reason given by server: No such file or directory |
41 |
# mount 192.168.1.2:/mnt/nfs/portage /mnt/atom/usr/portage |
42 |
mount.nfs: mounting 192.168.1.2:/mnt/nfs/portage failed, reason given by server: No such file or directory |
43 |
# mount [fe80::2]:/mnt/nfs/portage /mnt/atom/usr/portage |
44 |
mount.nfs: mount system call failed |
45 |
|
46 |
It doesn't seem to be a firewall problem, because I get the same result if I |
47 |
start both machines without their firewalls - I don't do that very often! Ping |
48 |
works fine in both directions, whether IPv4 or v6. Do I have to tweak mapd |
49 |
somehow? |
50 |
|
51 |
I'm feeling a bit clueless... |
52 |
|
53 |
-- |
54 |
Regards, |
55 |
Peter. |