Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] NFS connection refused
Date: Fri, 20 May 2022 14:35:34
Message-Id: 3174607.44csPzL39Z@wstn
1 Hello list,
2
3 This machine is a compute-server for other machines on the network, which it
4 does by NFS-mounting the portage directories in a chroot. You may remember
5 that I've messed about a bit with USE flags and the like, but only on this
6 machine, the compute server and NFS client. The other machine, the NFS server,
7 has not been touched.
8
9 I've tried wikis and man pages, and I've compared the current config with
10 historical ones, but I can't find anything wrong, or even different.
11
12 Does the output attached suggest anything? (It's a bit long to be in line.)
13
14 The NFS host shows no log messages at all. Both the firewalls are exactly the
15 same as they have been for years.
16
17 /etc/exports on the NFS host:
18
19 # cat /etc/exports
20 # /etc/exports: NFS file systems being exported. See exports(5).
21 /mnt/nfs \
22 192.168.178.7(rw,sync,no_subtree_check,anonuid=250,anongid=250,crossmnt,fsid=0)
23 /mnt/nfs/portage \
24 192.168.178.7(rw,sync,insecure,nohide,no_subtree_check,all_squash,anonuid=250,anongid=250)
25 /mnt/nfs/portage.packages \
26 192.168.178.7(rw,sync,insecure,nohide,no_subtree_check,all_squash,anonuid=250,anongid=250)
27 /mnt/nfs/portage.distfiles \
28 192.168.178.7(rw,sync,insecure,nohide,no_subtree_check,all_squash,anonuid=250,anongid=250)
29 /mnt/nfs/port.resc \
30 192.168.178.7(rw,sync,insecure,nohide,no_subtree_check,all_squash,anonuid=250,anongid=250)
31 /mnt/nfs/port.resc.packages \
32 192.168.178.7(rw,sync,insecure,nohide,no_subtree_check,all_squash,anonuid=250,anongid=250)
33 /mnt/nfs/port.resc.distfiles \
34 192.168.178.7(rw,sync,insecure,nohide,no_subtree_check,all_squash,anonuid=250,anongid=250)
35
36 Also on the NFS host:
37 # mount | grep nfs
38 /dev/sda6 on /mnt/nfs/portage type ext4 (rw,noatime)
39 /dev/sda9 on /mnt/nfs/portage.packages type ext4 (rw,noatime)
40 /dev/sda10 on /mnt/nfs/portage.distfiles type ext4 (rw,noatime)
41 rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
42
43 # grep nfs /etc/fstab
44 /var/db/repos/gentoo /mnt/nfs/portage none bind 0 0
45 /var/cache/packages /mnt/nfs/portage.packages none bind 0 0
46 /var/cache/distfiles /mnt/nfs/portage.distfiles none bind 0 0
47
48 The compute host is 192.168.178.7, the NFS host is 192.168.178.2.
49
50 --
51 Regards,
52 Peter.

Attachments

File name MIME type
nfs.err text/plain

Replies

Subject Author
Re: [gentoo-user] NFS connection refused Peter Humphrey <peter@××××××××××××.uk>