From owner-freebsd-questions@FreeBSD.ORG Wed Jul 2 02:21:15 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D50D2126 for ; Wed, 2 Jul 2014 02:21:15 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 917CE296E for ; Wed, 2 Jul 2014 02:21:15 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X2AAY-00056a-K2 for freebsd-questions@freebsd.org; Wed, 02 Jul 2014 04:21:10 +0200 Received: from dynamic34-29.dynamic.dal.ca ([129.173.34.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Jul 2014 04:21:10 +0200 Received: from jrm by dynamic34-29.dynamic.dal.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Jul 2014 04:21:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Joseph Mingrone Subject: problems with ports-mgmt/poudriere-devel and NFS Date: Tue, 01 Jul 2014 23:20:52 -0300 Lines: 69 Message-ID: <86fvikxzzv.fsf@gly.ftfl.ca> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dynamic34-29.dynamic.dal.ca User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) Cancel-Lock: sha1:zhFsgnQpLJB5HJ0lHSJtGiRswdQ= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 02:21:15 -0000 I manage a cluster with a master node and lots of compute nodes. Third party software is installed in the default location, /usr/local, on the master node and the compute nodes NFS mount master:/usr/local. One compute node (aw20) has 48 cores and 256 GiB or ram, so I've been building packages with poudriere there. Below are the contents of poudriere.conf. ZPOOL=tank ZROOTFS=/poudriere FREEBSD_HOST=ftp://ftp.freebsd.org RESOLV_CONF=/etc/resolv.conf BASEFS=/poudriere/basefs USE_PORTLINT=no USE_TMPFS=yes DISTFILES_CACHE=/poudriere/distfiles I also set the environment variable POUDRIERE_ETC to /poudriere/etc. Only the master node has a routable IP, so I NFS mount aw20:/poudriere to /poudriere on the master node to host the web content and the repositories. The problem is that master:/poudriere doesn't match aw20:/poudriere. I've verified that the appropriate sharenfs properties are set on aw20. aw20 # zfs get -r sharenfs,mountpoint tank/poudriere NAME PROPERTY VALUE SOURCE tank/poudriere sharenfs maproot=root,network 192.168.0.0,mask 255.255.255.0 local tank/poudriere mountpoint /poudriere local tank/poudriere/basefs sharenfs maproot=root,network 192.168.0.0,mask 255.255.255.0 inherited from tank/poudriere tank/poudriere/basefs mountpoint /poudriere/basefs inherited from tank/poudriere tank/poudriere/data sharenfs maproot=root,network 192.168.0.0,mask 255.255.255.0 inherited from tank/poudriere tank/poudriere/data mountpoint /poudriere/basefs/data local tank/poudriere/data/.m sharenfs maproot=root,network 192.168.0.0,mask 255.255.255.0 inherited from tank/poudriere tank/poudriere/data/.m mountpoint /poudriere/basefs/data/.m inherited from tank/poudriere/data tank/poudriere/data/cache sharenfs maproot=root,network 192.168.0.0,mask 255.255.255.0 inherited from tank/poudriere tank/poudriere/data/cache mountpoint /poudriere/basefs/data/cache inherited from tank/poudriere/data tank/poudriere/data/logs sharenfs maproot=root,network 192.168.0.0,mask 255.255.255.0 inherited from tank/poudriere tank/poudriere/data/logs mountpoint /poudriere/basefs/data/logs inherited from tank/poudriere/data tank/poudriere/data/packages sharenfs maproot=root,network 192.168.0.0,mask 255.255.255.0 inherited from tank/poudriere tank/poudriere/data/packages mountpoint /poudriere/basefs/data/packages inherited from tank/poudriere/data tank/poudriere/data/wrkdirs sharenfs maproot=root,network 192.168.0.0,mask 255.255.255.0 inherited from tank/poudriere tank/poudriere/data/wrkdirs mountpoint /poudriere/basefs/data/wrkdirs inherited from tank/poudriere/data tank/poudriere/etc sharenfs maproot=root,network 192.168.0.0,mask 255.255.255.0 inherited from tank/poudriere tank/poudriere/etc mountpoint /poudriere/etc inherited from tank/poudriere tank/poudriere/jails sharenfs maproot=root,network 192.168.0.0,mask 255.255.255.0 inherited from tank/poudriere tank/poudriere/jails mountpoint /poudriere/jails inherited from tank/poudriere tank/poudriere/jails/9amd64 sharenfs maproot=root,network 192.168.0.0,mask 255.255.255.0 inherited from tank/poudriere tank/poudriere/jails/9amd64 mountpoint /poudriere/basefs/jails/9amd64 local tank/poudriere/jails/9amd64@clean sharenfs - - tank/poudriere/jails/9amd64@clean mountpoint - - tank/poudriere/jails/9i386 sharenfs maproot=root,network 192.168.0.0,mask 255.255.255.0 inherited from tank/poudriere tank/poudriere/jails/9i386 mountpoint /poudriere/basefs/jails/9i386 local tank/poudriere/jails/9i386@clean sharenfs - - tank/poudriere/jails/9i386@clean mountpoint - - tank/poudriere/ports sharenfs maproot=root,network 192.168.0.0,mask 255.255.255.0 inherited from tank/poudriere tank/poudriere/ports mountpoint /poudriere/ports inherited from tank/poudriere tank/poudriere/ports/default sharenfs maproot=root,network 192.168.0.0,mask 255.255.255.0 inherited from tank/poudriere tank/poudriere/ports/default mountpoint /poudriere/basefs/ports/default local master # mount | grep poudriere aw20:/poudriere on /poudriere (nfs, asynchronous) When I look in, for example, master:/poudriere/basefs/ it's empty, but on aw20 it contains the repositories. What am I missing? Joseph