From owner-freebsd-fs@FreeBSD.ORG Thu Feb 12 10:35:35 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DC54E26E for ; Thu, 12 Feb 2015 10:35:35 +0000 (UTC) Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 54F02CBD for ; Thu, 12 Feb 2015 10:35:35 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id b6so8656688lbj.2 for ; Thu, 12 Feb 2015 02:35:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berentweb.com; s=google; h=date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; bh=yr2Ni5RVRmFkAouxbPc+9IGMej3uN3po12e/82gJrag=; b=Kymd5/oJFCQyyIhWNw5NXoV1d2UFmliDml4ZJdMhUrpMV/2ov1bJNS/kz+ruRMRrBj sQT+kDtpAIBCqRH8QHz/wD+aJzd+QqsHzwSz534WGKiMZeC/VZ/KjvrOmHoSEPps5Cqj Y2j7IX8c2ksgPyWxheUo15oEtVKENZOhv2nXk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-type:content-transfer-encoding; bh=yr2Ni5RVRmFkAouxbPc+9IGMej3uN3po12e/82gJrag=; b=H4gAPLx3YmbHUrDSwbQxmTkZsT5Vj9ri9PnbggHrvvoL2oHfxmp0PpnzQeu3rVnaUH iQdc4OvmFs1m5vvyIS35e/1Xok2warxTKQOSbsn/Z68PIKsuUCIYXWsDIJ2t2WgVG1cf bipEN03b+mBxBBLwghrmLjz4tGxkSW0nucvWrTTLbMDTpwsLgVIVZ5p/4ZrHoZfmEQgk bLua8VvT+UbOFN7z6gNc4squmqstrizeubRd4xA4JI8Rr8GgBn1fWn1bWumbwsqvoSlj usF/NQBw8ov42kxUBrehJvavRN8SF9b6y47DKsAyKNvSSUF9gBYjGq1APT+dNf8w2o4S +R9Q== X-Gm-Message-State: ALoCoQn7q/gugE4KwgRJ08220VtOJ5VnwpdQIyLjt2F63xrzNZCkucZwDSz2p7M2k1+ZLcGXNx6c X-Received: by 10.112.150.98 with SMTP id uh2mr2561650lbb.92.1423737333209; Thu, 12 Feb 2015 02:35:33 -0800 (PST) Received: from rsbsd.rsb ([31.200.12.40]) by mx.google.com with ESMTPSA id 5sm685546lam.33.2015.02.12.02.35.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Feb 2015 02:35:32 -0800 (PST) Date: Thu, 12 Feb 2015 12:35:29 +0200 From: Beeblebrox To: freebsd-fs@freebsd.org Subject: Several NFS errors on diskless clients Message-ID: <20150212123529.013d6a84@rsbsd.rsb> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2015 10:35:35 -0000 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