From owner-freebsd-virtualization@freebsd.org Sun Mar 24 11:03:17 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 569E81555073 for ; Sun, 24 Mar 2019 11:03:17 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 01EA7776FD for ; Sun, 24 Mar 2019 11:03:16 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: by mail-lf1-x143.google.com with SMTP id v14so4189379lfi.0 for ; Sun, 24 Mar 2019 04:03:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=NaaaLm8ZOaMvR3CHt6ymQTq1005HZxTz0+/vpES5qPU=; b=hgbPeeFrRnRJOdTsBoTIev2ksBWESoRt4E0WfJi+d1uQxA5g6GbgEsO/egMYsWGkL9 TK1BbAvY8fFLGn6M/sGXJa7nxNhv/GEhrT/EIkpCuETCRzslihudi1ScB2FsdyUxaYmL HqN8o6ORHfXW9S13rQi6aFkrW7PeRT6cGmTs7pa/S90oVhC3kgqu3fO4yOhBu81Kc0oN BUjij63j/helEh4aUzR9F6ZvVyvrZAO2vsNcAg5yvvbygdnHqFziZ1hnO2EWGOqWY/9H rqhKJVhaFxXMknPW2GCCE3ak9c9ozDQgLL7K/+SeqOc+aIx4NB5JSEj489QEt93wM29p Q4NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=NaaaLm8ZOaMvR3CHt6ymQTq1005HZxTz0+/vpES5qPU=; b=fp+RZ4nbYm8szPOH3TO7j2orXehW+EwKreEyVoXXmNMYs4BILFLrqFXWbKWfZuRND0 CwfjBgMgfecTWWQmCk6ZslCmUOc0Sxp8saaMF/vM2d6JShN3DvV7FwZLMaSvduBa/DGX xZlOHikzpKwKuAVHlB1U9nblSSKRfCjHLcSBAymbx5ayyjbE15JvDnbVIP12zPhBNpmp JIM88ku5NcmirkJ+8zO25UYZw4DVhPVHwHhp1mnKv39BAH6+Wa2Tm9nOeHj8p1KX6Cof U4FXdZ2PFucrNiUraKzgzbuFrnK0Tw7hhMIGRq40hSk6m7EbcScwd7L9P05+/gdSgIqb SFGA== X-Gm-Message-State: APjAAAVYuj+t/gDpH9cHRDK9MoRFH0MdaJYPzgZWuI2uTwGU50bSMMWx OZZbqN9sqwVwFQbEJ9/Oeu9PVN5a8my3H5hpAZLl3s2p X-Google-Smtp-Source: APXvYqyviCT57Zk6+T/5l3BxN7n09ljQ0zOKLIy+uphT4o489AK3mUmvxmV5QIUH51WAdzMVS0XjUJp99vFWzeBBBco= X-Received: by 2002:ac2:518b:: with SMTP id u11mr10368097lfi.123.1553425394482; Sun, 24 Mar 2019 04:03:14 -0700 (PDT) MIME-Version: 1.0 References: <20190318150404.GB91631@rpi3.zyxst.net> In-Reply-To: <20190318150404.GB91631@rpi3.zyxst.net> From: Subbsd Date: Sun, 24 Mar 2019 14:03:02 +0300 Message-ID: Subject: Re: bhyve zfs resizing To: freebsd-virtualization@freebsd.org, tech-lists@zyxst.net Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 01EA7776FD X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=hgbPeeFr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of subbsd@gmail.com designates 2a00:1450:4864:20::143 as permitted sender) smtp.mailfrom=subbsd@gmail.com X-Spamd-Result: default: False [-3.96 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.55)[-0.555,0]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-0.39)[ip: (2.62), ipnet: 2a00:1450::/32(-2.38), asn: 15169(-2.14), country: US(-0.07)]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Mar 2019 11:03:17 -0000 On Mon, Mar 18, 2019 at 6:04 PM tech-lists wrote: > > Hi, > > Apart from the performance benefit as per the section for bhyve in the > handbook, can the size of the zfs-backed guest: > > 1. be resized from the host? > 2. does the guest need to be inactive? > 3. can linux guests (or even windows ones) be resized as well? > > thanks, > -- > J. if you're looking for a unversal solution I suspect cloud-init[1] is the answer. At least you can easily try this through vm-bhyve[2] and CBSD[3] __ [1] - https://cloudinit.readthedocs.io/en/latest/ [2] - https://github.com/churchers/vm-bhyve#using-cloud-images [3] - https://www.bsdstore.ru/en/12.0.x/wf_bhyve_cloudinit_ssi.html