Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2015 12:35:29 +0200
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-fs@freebsd.org
Subject:   Several NFS errors on diskless clients
Message-ID:  <20150212123529.013d6a84@rsbsd.rsb>

next in thread | raw e-mail | index | archive | help
I have some errors I'm unable sort on my PXE-booting diskless clients.

1. ACL for NFS-V4 confuses jailed clients:
Root for diskless clients is served from jail, which basically can only ser=
ve dhcp and tftp. Since NFS can't be jailed, it is served from host.
* It seems root cannot be mounted as V4 and is limited to V2. Thus the /etc=
/exports file:
{/data/amd64 -ro -network 192.168.2.0/26  # folder where jail resides
V4:   /
/usr/local  -ro -network 192.168.2.0/26
/home           -network 192.168.2.0/26}
* The client /etc folder is served from /data/amd64/conf/base/etc.cpio.gz, =
and it is a copy of host /etc.
* listing contents of mounted V4 folders (/home or /usr/local) shows a numb=
er rather than user ID, but client etc/*pwd.db and etc/group are all exact =
copies of what is on host. This causes user-ID problems for my setup.
Is there a solution to this?

2. For de-bugging, I reverted all exports to V2/3. Then, (although I probab=
ly don't need it) I do "service hald onestart" (dbus has already been start=
ed)
"nfs_getpages: error 13
vm_fault: pager read error, pid 652 (dbus-daemon-launch-)
nfs_getpages: error 13
vm_fault: pager read error, pid 664 (dbus-daemon-launch-)"
How significant is this error?

3. Client rc.conf setting is unable to start these services (not so on host=
):
dbus_enable=3D"YES"
distccd_enable=3D"YES" \ distccd_flags=3D"-a 192.168.2.1"

Thanks and regards.

--=20
FreeBSD_amd64_11-Current_RadeonKMS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150212123529.013d6a84>