From owner-freebsd-stable@freebsd.org Mon Oct 17 15:43:33 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07A67C159F2 for ; Mon, 17 Oct 2016 15:43:33 +0000 (UTC) (envelope-from marko.cupac@mimar.rs) Received: from mail.mimar.rs (mail1.mimar.rs [193.53.106.128]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B49F2C51 for ; Mon, 17 Oct 2016 15:43:32 +0000 (UTC) (envelope-from marko.cupac@mimar.rs) Received: from mail1.mimar.rs (localhost [127.0.1.128]) by mail.mimar.rs (Postfix) with ESMTP id BA65445BA209; Mon, 17 Oct 2016 17:43:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mimar.rs; h= content-transfer-encoding:content-type:content-type:mime-version :x-mailer:organization:references:in-reply-to:message-id:subject :subject:from:from:date:date:received:received; s=mimar-0901; t= 1476719006; x=1478533407; bh=vex8hGg3QRe/l0cTBlM5mUwgw+37RDjc4Be R4zu3WJ8=; b=xTH/A/sU65mPq6CVAJ/hs4GlVwA/zZsCv9LoboTwsBOOqzoe2Jn XrZe+vhvyW1zbjIctMwMr8s4aTezD36zziHhbcX2y9wIicZgIE/3UPqrcU7Uf2fd qEPtzwOBlgeLrIm99y3cqq8aYESmmwhiz8lcjqnNmNSaMS2s8GuWEtP8= X-Virus-Scanned: amavisd-new at mimar.rs Received: from mail.mimar.rs ([127.0.1.128]) by mail1.mimar.rs (amavis.mimar.rs [127.0.1.128]) (amavisd-new, port 10026) with LMTP id EGS3StcANycd; Mon, 17 Oct 2016 17:43:26 +0200 (CEST) Received: from efreet.mimar.rs (93-87-131-33.dynamic.isp.telekom.rs [93.87.131.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marko.cupac@mimar.rs) by mail.mimar.rs (Postfix) with ESMTPSA id D72F545BA10E; Mon, 17 Oct 2016 17:43:25 +0200 (CEST) Date: Mon, 17 Oct 2016 17:43:25 +0200 From: Marko =?UTF-8?B?Q3VwYcSH?= To: Oliver Peter Cc: freebsd-stable@freebsd.org Subject: Re: moving ezjail-based jails from 10.3 host to 11.0 host Message-ID: <20161017174325.49386b19@efreet.mimar.rs> In-Reply-To: <20161017135507.GA10396@mail.opdns.de> References: <20161017153708.411492e5@efreet.mimar.rs> <20161017135507.GA10396@mail.opdns.de> Organization: Mimar X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2016 15:43:33 -0000 On Mon, 17 Oct 2016 15:55:07 +0200 Oliver Peter wrote: > On Mon, Oct 17, 2016 at 03:37:08PM +0200, Marko Cupa=C4=87 wrote: > > I have 10.3 host which runs a dozen or so ezjail-based jails. I have > > installed another 11.0 host, and I'd like to move jails to it. =20 >=20 > I would switch them to iocage+zfs, ezjail is sooo 90s. :) > Have a look at the documentation: > http://iocage.readthedocs.io/en/latest/basic-use.html >=20 > All jail settings are stored within ZFS properties so an upcoming > migration would only need a zfs send | zfs receive. >=20 > > Can I just archive jails on 10.3, scp them to 11.0, and re-create > > them there by restoring from archive (-a switch)? =20 >=20 > Further I would recommend to use rsync -av instead of scp. Oliver, I do appreciate you took the time to respond to my question. However, when I asked how to move my ezjail-based jails, I meant exactly that. I did not ask which is the best jail management system (for my use case I'm completely fine with ezjail), or about the good and bad things about ZFS (I have hardware RAID controller which can't do JBOD on this server), or advantages of rsync over scp (doesn't make much difference for one-time transfer of single .tar.gz file over LAN). Now, to give answer to my own question: everything works fine, after - of course - reinstalling all the packages with `pkg-static upgrade -f'. Regards, --=20 Before enlightenment - chop wood, draw water. After enlightenment - chop wood, draw water. Marko Cupa=C4=87 https://www.mimar.rs/