From owner-freebsd-questions@freebsd.org Sun Jan 29 13:27:30 2017 Return-Path: Delivered-To: freebsd-questions@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 8EF35CC71C9 for ; Sun, 29 Jan 2017 13:27:30 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 587421146 for ; Sun, 29 Jan 2017 13:27:30 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id v0TDRMBF019306 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 29 Jan 2017 06:27:22 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id v0TDRMgt019303; Sun, 29 Jan 2017 06:27:22 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 29 Jan 2017 06:27:22 -0700 (MST) From: Warren Block To: David Christensen cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 11.0-RELEASE-p7 i386 system drive imaging and migration In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (wonkity.com [127.0.0.1]); Sun, 29 Jan 2017 06:27:22 -0700 (MST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2017 13:27:30 -0000 On Sat, 28 Jan 2017, David Christensen wrote: > What is the proper way to clone a FreeBSD system image from one drive to > another? On encrypted ZFS? I'm not sure there is a brute-force way that is trustworthy. Using higher-level commands to recreate the partitions, GELI encryption, and then zfs send | recv are certain safer and won't duplicate supposedly unique IDs. > What is the proper way to move a HDD or SSD with a FreeBSD system image from > one computer to another computer? Provided the binaries have not been optimized for one CPU, just move the drive. Disk drive names can change, which is not a problem when labels are used. Ethernet interface names can change. If there is only one interface, use ifconfig_DEFAULT in /etc/rc.conf.