From owner-freebsd-questions@freebsd.org Tue Sep 27 15:53:35 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 4D738BEC48C for ; Tue, 27 Sep 2016 15:53:35 +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 8B459CAB for ; Tue, 27 Sep 2016 15:53: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 u8RFrXVi069974 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 27 Sep 2016 11:53:33 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c] ([IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c]) by lava.sentex.ca (8.15.2/8.14.9) with ESMTP id u8RFrVsd089288; Tue, 27 Sep 2016 11:53: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> <20160927085322.GA96393@admin.sibptus.transneft.ru> Cc: freebsd-questions@freebsd.org From: Mike Tancsa Organization: Sentex Communications Message-ID: <78faa2e2-0e44-27ef-eaf0-0f0fc358cc09@sentex.net> Date: Tue, 27 Sep 2016 11:53:32 -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: <20160927085322.GA96393@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: Tue, 27 Sep 2016 15:53:35 -0000 On 9/27/2016 4:53 AM, Victor Sudakov wrote: > > 1. When you boot from this pool later on a restored system, don't the > "-o altroot=/mnt2 -O canmount=off" options prevent it from > working normally? I gather that "altroot" is not persistent across > reboots, but "canmount" probably is. Its been a while, but when you do the zfs recv, I am guessing the properties are restored with it ? > > 2. If you wanted to check "zfs recv" without actually restoring it, > what what you do? I keep getting the "cannot receive incremental stream" error: Not sure. When you did this, perhaps you are restoring from an incremental send as opposed to a full send ? eg zfs snapshot -r zroot@backup zfs send -R zroot@backup > /nfs-mount-on-backup-server/zroot-full-snap.zfs ---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/