From nobody Fri Sep 17 15:07:37 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C10F217D8770 for ; Fri, 17 Sep 2021 15:07:40 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H9y4D556sz3DZm for ; Fri, 17 Sep 2021 15:07:40 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from smtp.theravensnest.org (smtp.theravensnest.org [45.77.103.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: theraven) by smtp.freebsd.org (Postfix) with ESMTPSA id 89D6DCE40 for ; Fri, 17 Sep 2021 15:07:40 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from [192.168.1.202] (host86-148-130-214.range86-148.btcentralplus.com [86.148.130.214]) by smtp.theravensnest.org (Postfix) with ESMTPSA id 900A32CC23 for ; Fri, 17 Sep 2021 16:07:39 +0100 (BST) Subject: Re: Building ZFS disk images To: freebsd-current@freebsd.org References: <16473d5f-1727-233a-7a95-a21c5b48b9ce@FreeBSD.org> From: David Chisnall Message-ID: <4e113e4a-a23b-dd85-03b0-f45b10895fab@FreeBSD.org> Date: Fri, 17 Sep 2021 16:07:37 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-ThisMailContainsUnwantedMimeParts: N On 05/08/2021 15:06, David Chisnall wrote: >> Would poudriere work for you? man poudriere-image > > Wow, there's a lot of stuff I didn't know poudriere could do!  It looks > as if it can produce a GPT partition table with all of the bootable > bits, or it can produce a ZFS disk image.  I guess it wouldn't be too > difficult to teach it to do both? FYI: I have raised a PR[1] that allows me to create a ZFS disk image. This allows me to create a ZFS root image that I can boot as a Gen1 or Gen2 Hyper-V VM. I have not yet tried it in Azure, but it should work. David [1] https://github.com/freebsd/poudriere/pull/921