From owner-freebsd-jail@FreeBSD.ORG Wed Oct 1 13:56:17 2008 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0A6D106569F for ; Wed, 1 Oct 2008 13:56:17 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 6F63D8FC2A for ; Wed, 1 Oct 2008 13:56:17 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p5DC5FBA6.dip.t-dialin.net [93.197.251.166]) by redbull.bpaserver.net (Postfix) with ESMTP id 6DEBA2E1BC; Wed, 1 Oct 2008 15:37:10 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 828BA13C896; Wed, 1 Oct 2008 15:37:07 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m91Db6SB044729; Wed, 1 Oct 2008 15:37:06 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 01 Oct 2008 15:37:06 +0200 Message-ID: <20081001153706.169043ug9vlsaim8@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 01 Oct 2008 15:37:06 +0200 From: "Alexander Leidinger" To: "Scott Lambert" References: <20080702202235.GA16820@sysmon.tcworks.net> In-Reply-To: <20080702202235.GA16820@sysmon.tcworks.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.2) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 6DEBA2E1BC.7F27B X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.546, required 6, BAYES_00 -15.00, MR_NOT_ATTRIBUTED_IP 0.20, RDNS_DYNAMIC 0.10, TW_ZF 0.08, TW_ZJ 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-jail@FreeBSD.org Subject: Re: Migration of Jail from one host to another? X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 13:56:17 -0000 Quoting "Scott Lambert" (from Wed, 2 Jul 2008 =20 15:22:35 -0500): > I'm probably doing this completely wrong. I setup a couple of jails > using simple image files because I thought that would make migration > to another server more straightforward. I am now trying to migrate my > first jail. A little bit late, but I moved 2 ezjails today (on 8-current). It was =20 setup inside a ZFS, not in an image. It worked without problems (I =20 transferred the ZFS data (zfs send | zfs receive), the fstab file, and =20 the ezjail config file). > /usr/local/etc/rc.d/ezjail.sh start > ezjailConfiguring jails:. > Starting jails: testnetmount: /home/ezjails/migrate.jail.device : =20 > Operation not permitted You have a problem here. You may want to look into ezjail what the =20 testnetmount is doing. I assume there's some problem with creating the =20 md device. > df: /home/ezjails/migrate.jail/dev: No such file or directory > mount: /home/ezjails/migrate.jail/dev: No such file or directory I think this and the rest are followup errors of the failed mount of =20 the disk image. Bye, Alexander. --=20 You may get an opportunity for advancement today. Watch it! http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137