From owner-freebsd-stable@freebsd.org Tue Mar 19 00:28:33 2019 Return-Path: Delivered-To: freebsd-stable@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 22365152A57A; Tue, 19 Mar 2019 00:28:33 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (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 42E15860E4; Tue, 19 Mar 2019 00:28:32 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf1-f45.google.com with SMTP id p1so12995544lfk.9; Mon, 18 Mar 2019 17:28:32 -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:references:in-reply-to:from:date :message-id:subject:to; bh=iOhevDRY+hweLBoticrI6QocbmRP1h4+75kC+bSCKto=; b=KVrUWlsg96Wv302lQvQeFz8dE0GzKt2gg0xD0KiuNaYDcoSYJyH7qiIVGQ3uLSNx4b NycD9mK0zHokXGKSxzH3M9mIKqIN+nuanQVBX+t51KNKy/6FTLOG1SQ/KpWb5eqazdD/ RR7IVIxtFz8AGvuw8Y4kmswanSniHS20tuJh9nGnzJf444o+tyah787t9FVtrIWvvu+h FtWHl/kg2/yfZnCnKvU5L9yyCfCJq+/cjUha1LFJtxW9G0MJkW/ZHq1MRCKcuJvRgmBN +lHauUuwZD7PYypfO9KsmdVpDMbSHiAjdOIQKb8xEEA+tL9Xv6qTuW4QAJhHJ5DQI3hF tEYQ== X-Gm-Message-State: APjAAAXGsu7GHbxCI0sLljtjSMWD5e7nnGRmSH0k+8BtOmtywUwEnt3j rNjbqTPAL/wsRjS4ceNBEPshB1cLLPITGr5JBSTQKc/Z X-Google-Smtp-Source: APXvYqzgLR+MrOSBSqJ7l7eUg9B6nSuKVaXCGACinYKM2lJRq5bajWiaPGTDXQAmRpx3PwEq677WIDH8yC/yu5JoBUs= X-Received: by 2002:ac2:43ba:: with SMTP id t26mr11184041lfl.10.1552955304427; Mon, 18 Mar 2019 17:28:24 -0700 (PDT) MIME-Version: 1.0 References: <20190318150404.GB91631@rpi3.zyxst.net> <20190318152525.GC91631@rpi3.zyxst.net> <20190319002325.GD91631@rpi3.zyxst.net> In-Reply-To: <20190319002325.GD91631@rpi3.zyxst.net> From: Alan Somers Date: Mon, 18 Mar 2019 18:28:13 -0600 Message-ID: Subject: Re: bhyve zfs resizing To: "freebsd-virtualization@freebsd.org" , FreeBSD Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 42E15860E4 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.167.45 as permitted sender) smtp.mailfrom=asomers@gmail.com X-Spamd-Result: default: False [-3.85 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-1.32)[ip: (-0.59), ipnet: 209.85.128.0/17(-3.87), asn: 15169(-2.10), country: US(-0.07)]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[45.167.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.51)[-0.512,0]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2019 00:28:33 -0000 On Mon, Mar 18, 2019 at 6:24 PM tech-lists wrote: > > On Mon, Mar 18, 2019 at 06:56:03PM +0100, Miroslav Lachman wrote: > > [...] > > Thanks for the example, I've saved it. > > Ok just one other question, which I might have found the answer to, or > might not. I'm new to this virtualising on zfs even though ive used zfs > for years. It's basically: > > I made a zvol, installed 12-R into it,. Where the disks option came up I > chose the auto defaults for *ZFS* in the guest. I also selected > encryption for both the virtual disk and swap. I think perhaps I > shouldn't have done all this together in the same vm because with apache > running in it, httpd got wedged (and then everything got wedged. sync > wouldn't return). I think the top zfs layer and the encryption layer and > the zfs underneath got too busy. Happily the server still responded to a > shutdown -r and came back up. It's scrubbing the zpool to be on the safe > side. > > Am I correct? In that I should have used UFS in the guest rather than > zfs? Or was it the encryption? > > thanks, > -- > J. Running ZFS inside of a ZFS-backed guest will be slower than using UFS, but it should work just fine. I doubt that it was the cause of your problem. -Alan