From owner-freebsd-current@freebsd.org Thu May 6 15:17:43 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C385A624DB5 for ; Thu, 6 May 2021 15:17:43 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com [209.85.210.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fbcdg0qglz4mWb for ; Thu, 6 May 2021 15:17:43 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-ot1-f45.google.com with SMTP id u25-20020a0568302319b02902ac3d54c25eso5194805ote.1 for ; Thu, 06 May 2021 08:17:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=sWBD0t8mLH386MA0vYgGstAwTxQfeKnBVEOOK8ufuow=; b=KAufBeAylJizN2rNpMkjwxVvTgn4yVueGZzkhP2v5A4/zpWWM2pjx5R+8ja5HJfhpa 7lRq0VRIlcSbDw5H6O6dYO44KY2i+aBZF1Z4iQldwYkowfGPr4LWOwUL1NlnwDFTPe7D Du4i3Nhx+R+KQXGhKdf06CoAQhr2QHwcgeCemE7MVSECa1WlBMdAXPZMyZC5WV596mN+ 2qLS12/YzZzuFc4Pz6raBCKdXjE4qPWLqZUmb/12EqF9HjEk01Bzck0sYuEnVCKYNwra aypK/UYDNPxcwvgKWCIIeIdE51RGtfryOiROm70OqXLER8+GqQ4Q66BTMVUNaGbOMQDB ULjw== X-Gm-Message-State: AOAM533tfWl/mp+oiYTZM2ta0Z5a86Ap6Zb5WdQlAqhngeCzc4gGtn1b ESLzilWEyRpE+OuLYNd9eAYWdSlgfhDptNJ87vKKR8Bc X-Google-Smtp-Source: ABdhPJzyNQXGaJasPyOCoZxwUlOEbZiz4JOftUd7XhcAZlvEa4chsF4kWrTAWoh7XWQVqKvQSGiIIQWYN20y8YfSByo= X-Received: by 2002:a9d:470c:: with SMTP id a12mr3972087otf.291.1620314261622; Thu, 06 May 2021 08:17:41 -0700 (PDT) MIME-Version: 1.0 From: Alan Somers Date: Thu, 6 May 2021 09:17:30 -0600 Message-ID: Subject: Building ZFS-based VM images To: FreeBSD CURRENT X-Rspamd-Queue-Id: 4Fbcdg0qglz4mWb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.210.45 as permitted sender) smtp.mailfrom=asomers@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RWL_MAILSPIKE_GOOD(0.00)[209.85.210.45:from]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.85.210.45:from]; R_DKIM_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DOM_EQ_FROM_DOM(0.00)[]; FREEFALL_USER(0.00)[asomers]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[209.85.210.45:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[209.85.210.45:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2021 15:17:43 -0000 It's easy to build a UFS-based VM image just by setting WITH_VMIMAGES in release.conf and running release.sh. But what about ZFS-based images? What's the easiest way to build a ZFS-based VM image, using a pool layout similar to what the interactive installer uses? -Alan