From owner-freebsd-virtualization@freebsd.org Tue Apr 23 07:14:28 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 8CE4E15909CB for ; Tue, 23 Apr 2019 07:14:28 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BAC7192A09 for ; Tue, 23 Apr 2019 07:14:21 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [217.29.44.10]) by gate2.intern.punkt.de with ESMTP id x3N6uP5Q026198; Tue, 23 Apr 2019 08:56:25 +0200 (CEST) Received: from [217.29.44.36] ([217.29.44.36]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id x3N6uONk045379; Tue, 23 Apr 2019 08:56:24 +0200 (CEST) (envelope-from hausen@punkt.de) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: bhyve, sparse disk image and trim support? From: "Patrick M. Hausen" In-Reply-To: <21E25588-ADC0-4101-B122-5782D9A94AC4@lists.zabbadoz.net> Date: Tue, 23 Apr 2019 08:56:24 +0200 Cc: FreeBSD virtualization mailing list Content-Transfer-Encoding: quoted-printable Message-Id: <9E907736-8F90-4600-853C-7C2F7AF166BA@punkt.de> References: <21E25588-ADC0-4101-B122-5782D9A94AC4@lists.zabbadoz.net> To: "Bjoern A. Zeeb" X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: BAC7192A09 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hausen@punkt.de designates 217.29.33.131 as permitted sender) smtp.mailfrom=hausen@punkt.de X-Spamd-Result: default: False [-1.83 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.983,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.29.32.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[punkt.de]; NEURAL_HAM_LONG(-0.97)[-0.974,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[mailin.pluspunkthosting.de,mailin.pluspunkthosting.de]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[131.33.29.217.list.dnswl.org : 127.0.10.0]; NEURAL_HAM_SHORT(-0.81)[-0.814,0]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:16188, ipnet:217.29.32.0/20, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.25)[ipnet: 217.29.32.0/20(-0.68), asn: 16188(-0.54), country: DE(-0.01)] 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: Tue, 23 Apr 2019 07:14:28 -0000 Hi! > Am 21.04.2019 um 19:01 schrieb Bjoern A. Zeeb = : > Do we support this? Has anyone worked on this? How do people deal = with these problems? I=E2=80=99m actually surprised this is supported for some configurations = - thanks for starting the thread. As for how others deal with this - e.g. VMware = files never shrink, but there is a =E2=80=9Evacuuming=E2=80=9C function that = compresses the virtual disk while the VM is offline in the workstation products. For = ESXi I think the only way is to actually copy the image file to a new one = with vmkfstools. Used to use defrag and sdelete a lot in Windows VMs in the past, then ran the compaction =E2=80=A6 Kind regards Patrick --=20 punkt.de GmbH Internet - Dienstleistungen - Beratung Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100 76133 Karlsruhe info@punkt.de http://punkt.de AG Mannheim 108285 Gf: Juergen Egeling