From owner-freebsd-questions@freebsd.org Wed Sep 28 14:55:34 2016 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 DD07CC01E09 for ; Wed, 28 Sep 2016 14:55:34 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 55694C14 for ; Wed, 28 Sep 2016 14:55:34 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id u8SEtWwc055088 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 28 Sep 2016 10:55:32 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:89d7:8e33:dca1:69f0] ([IPv6:2607:f3e0:0:4:89d7:8e33:dca1:69f0]) by lava.sentex.ca (8.15.2/8.14.9) with ESMTP id u8SEtVIh097541; Wed, 28 Sep 2016 10:55:31 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: complete clone/restore from a ZFS-based system replication stream To: Victor Sudakov References: <20160926154720.GA75556@admin.sibptus.transneft.ru> <688eec35-bc7b-ae05-b765-106933b522d1@sentex.net> <20160928145137.GA27497@admin.sibptus.transneft.ru> Cc: freebsd-questions@freebsd.org From: Mike Tancsa Organization: Sentex Communications Message-ID: Date: Wed, 28 Sep 2016 10:55:31 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20160928145137.GA27497@admin.sibptus.transneft.ru> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 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: Wed, 28 Sep 2016 14:55:35 -0000 On 9/28/2016 10:51 AM, Victor Sudakov wrote: > I'm making progress but there is a problem. When I create a new pool > to receive into it, I create it on the second disk, ada1. When I > insert the restored disk into a new box, it becomes ada0 (the first > and only disk). > > How do you deal with that? It should not matter since the pool is not tied to a device name. In the example I gave with the mirror, the boot sector is installed on both disks, not just the 'first' ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/