From owner-freebsd-ports@FreeBSD.ORG Fri Oct 25 10:24:46 2013 Return-Path: Delivered-To: freebsd-ports@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 ESMTP id 9E482B73 for ; Fri, 25 Oct 2013 10:24:46 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward3h.mail.yandex.net (forward3h.mail.yandex.net [IPv6:2a02:6b8:0:f05::3]) by mx1.freebsd.org (Postfix) with ESMTP id 29BA12BEE for ; Fri, 25 Oct 2013 10:24:46 +0000 (UTC) Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144]) by forward3h.mail.yandex.net (Yandex) with ESMTP id AB3CF13639EF; Fri, 25 Oct 2013 14:24:43 +0400 (MSK) Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id 43D2F1340558; Fri, 25 Oct 2013 14:24:43 +0400 (MSK) Received: from 46.38.32.182.tel.ru (46.38.32.182.tel.ru [46.38.32.182]) by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id pC5yaqVR1o-OgQaqmIv; Fri, 25 Oct 2013 14:24:42 +0400 Message-ID: <526A46EA.9080202@passap.ru> Date: Fri, 25 Oct 2013 14:24:42 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130806 Thunderbird/17.0.7 MIME-Version: 1.0 To: mexas@bris.ac.uk Subject: Re: poudriere zfs setup help References: <201310250940.r9P9evlm094129@mech-cluster241.men.bris.ac.uk> In-Reply-To: <201310250940.r9P9evlm094129@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 10:24:46 -0000 25.10.2013 13:40, Anton Shterenlikht пишет: >>From bsam@passap.ru Thu Oct 10 15:36:59 2013 >> >> 10.10.2013 16:56, Anton Shterenlikht аПаИбˆаЕб‚: >>> >From bsam@passap.ru Thu Oct 10 13:48:06 2013 >>>> 10.10.2013 13:16, Anton Shterenlikht аАаŸаАа˜аБТˆаАа•аБТ‚: >>>>> >>>>> I'm getting this error: >>>>> => SHA256 Checksum OK for pkg-1.1.4.tar.xz. >>>>> mkdir: /usr/ports/ports-mgmt/pkg/work: Read-only file system >>>>> *** Error code 1 >>>>> >>>>> So something is wrong with my setup? >>>>> Does this look all right: >>>>> >>>>> # poudriere jails -l >>>>> JAILNAME VERSION ARCH METHOD PATH >>>>> ia64 10.0-ALPHA5 r256218 ia64 svn+https /pdr/jails/ia64 >>>>> # poudriere ports -l >>>>> PORTSTREE METHOD PATH >>>>> default svn+https /pdr/ports/default >>>>> # df >>>>> Filesystem 1K-blocks Used Avail Capacity Mounted on >>>>> /dev/da0p2 60931274 49946430 6110344 89% / >>>>> devfs 1 1 0 100% /dev >>>>> /dev/da0p1 409504 1184 408320 0% /efi >>>>> tank/poudriere/data 31736572 1290 31735281 0% /pdr/data >>>>> tank/poudriere/jails/ia64 33931466 2196185 31735281 6% /pdr/jails/ia64 >>>>> tank/poudriere/ports/default 32633749 898468 31735281 3% /pdr/ports/default >>>>> tank 31735313 32 31735281 0% /tank >>>>> tank/poudriere 31735314 33 31735281 0% /tank/poudriere >>>>> tank/poudriere/jails 31735312 31 31735281 0% /tank/poudriere/jails >>>>> tank/poudriere/ports 31735312 31 31735281 0% /tank/poudriere/ports >>>>> # >>>>> >>>>> # grep "^[A-Z]" /usr/local/etc/poudriere.conf >>>>> ZPOOL=tank >>>>> FREEBSD_HOST=https://svn0.eu.freebsd.org >>>>> RESOLV_CONF=/etc/resolv.conf >>>>> BASEFS=/pdr >>>>> USE_PORTLINT=yes >>>>> USE_TMPFS=yes >>>>> DISTFILES_CACHE=/usr/ports/distfiles >>>>> SVN_HOST=svn0.eu.FreeBSD.org >>>>> CHECK_CHANGED_OPTIONS=verbose >>>>> CHECK_CHANGED_DEPS=yes >>>>> PKG_REPO_SIGNING_KEY=/root/pkg.key >>>>> CCACHE_DIR=/var/cache/ccache >>>>> SAVE_WRKDIR=yes >>>>> # >>>>> >>>>> What am I missing? >>>>> >>>>> On another box I set up poudriere with no zfs >>>>> and it works all right. So I think I messed up >>>>> the zfs setup. >>>> >>>> You may try to use "poudriere testport -i ...". Then poudriere will >>>> not umount jail (it will be umounted when you exit the jail command >>>> propmt) and you may explore the system (i.e. mount, jls, etc.) to >>>> find out what's going on. >>> >>> ok, so after a failure, still in a jail: >>> >>> root@ia64-default:~ # df >>> Filesystem 1K-blocks Used Avail Capacity Mounted on >>> tank/poudriere/jails/ia64-default-ref 33930819 2198542 31732277 6% / >>> root@ia64-default:~ # ls -al /usr/ports/ports-mgmt/pkg >>> total 15 >>> drwxr-xr-x 3 root wheel 8 Oct 9 13:23 . >>> drwxr-xr-x 85 root wheel 86 Oct 9 13:23 .. >>> -rw-r--r-- 1 root wheel 2544 Oct 9 13:23 Makefile >>> -rw-r--r-- 1 root wheel 127 Oct 9 13:23 distinfo >>> drwxr-xr-x 2 root wheel 13 Oct 9 13:23 files >>> -rw-r--r-- 1 root wheel 87 Oct 9 13:23 pkg-descr >>> -rw-r--r-- 1 root wheel 73 Oct 9 13:23 pkg-message >>> -rw-r--r-- 1 root wheel 1420 Oct 9 13:23 pkg-plist >>> root@ia64-default:~ # whoami >>> root >>> root@ia64-default:~ # mkdir /usr/ports/ports-mgmt/pkg/work >>> mkdir: /usr/ports/ports-mgmt/pkg/work: Read-only file system >>> root@ia64-default:~ # >>> >>> On ufs this would mean something is seriously wrong. >>> But on zfs, I'm not so sure. >>> Perhaps I'm not understanding it right. >> >> Actually I meant to investigate host, not jail. Jail ment to just >> exist. Sorry to be not clear. (I usually use sysutils/tmux to have >> one seccion and several terminals at a host.) So look at commands >> (at the host, not in the jail): mount, jls. Does somtethig looks >> suspicious? > > Still no luck. Now I cannot even get 'poudriere testport -i' > to leave the jail intact. I get: > > # poudriere testport -i -o ports-mgmt/pkg -j ia64 > ====>> Creating the reference jail... done > *skip* > => SHA256 Checksum OK for pkg-1.1.4.tar.xz. > mkdir: /usr/ports/ports-mgmt/pkg/work: Read-only file system > *** Error code 1 > > Stop. > make[1]: stopped in /usr/ports/ports-mgmt/pkg > *** Error code 1 > > Stop. > make: stopped in /usr/ports/ports-mgmt/pkg > ====>> Cleaning up > ====>> Umounting file systems > # > > I also tried "-I" option - still the same - the jail > is unmounted after the failure. > > This is poudriere-3.0.11. > > What else can I try? Investigate your system as I had described earlier. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve