From nobody Thu Feb 23 14:28:45 2023 X-Original-To: virtualization@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 4PMwPl4fH0z3tnJJ for ; Thu, 23 Feb 2023 14:28:59 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from mail.flex-it.com.ua (mail.flex-it.com.ua [193.239.74.7]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PMwPk5Vs0z4Nh0 for ; Thu, 23 Feb 2023 14:28:58 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of shuriku@shurik.kiev.ua designates 193.239.74.7 as permitted sender) smtp.mailfrom=shuriku@shurik.kiev.ua; dmarc=none Received: from [188.231.181.61] (helo=[10.2.1.122]) by mail.flex-it.com.ua with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1pVCaY-0008pT-9h for virtualization@freebsd.org; Thu, 23 Feb 2023 16:28:50 +0200 Content-Type: multipart/alternative; boundary="------------mE3gZblb9sAXXEUVHhlZq7ps" Message-ID: <74aa1600-0056-85e3-871d-c15c5c5981d8@shurik.kiev.ua> Date: Thu, 23 Feb 2023 16:28:45 +0200 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: how to import a freebsd azure instance into an offsite bhyve? Content-Language: uk-UA To: virtualization@freebsd.org References: From: Oleksandr Kryvulia In-Reply-To: X-Spamd-Result: default: False [-2.24 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.995]; NEURAL_HAM_MEDIUM(-0.95)[-0.947]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[virtualization@freebsd.org]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:35297, ipnet:193.239.72.0/22, country:UA]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[shurik.kiev.ua]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4PMwPk5Vs0z4Nh0 X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --------------mE3gZblb9sAXXEUVHhlZq7ps Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 23.02.23 16:21, void пише: > Hello @virtualization > > As subject: what's the best method of importing an azure instance > into bhyve? > > The only way I can think of, so far, is to log into the instance > then do a dd over ssh of the main partition to the bhyve server. > > fstab on the azure instance looks like so: > > # > # Device        Mountpoint      FStype  Options Dump    Pass# > /dev/label/rootfs       /               ufs     rw      1       1 > /dev/label/swap         none            swap    sw      0       0 > > Is there a better way? > If you have an access to azure portal you can download vhd disk and convert it using emulators/qemu --------------mE3gZblb9sAXXEUVHhlZq7ps Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit 23.02.23 16:21, void пише:
Hello @virtualization

As subject: what's the best method of importing an azure instance
into bhyve?

The only way I can think of, so far, is to log into the instance
then do a dd over ssh of the main partition to the bhyve server.

fstab on the azure instance looks like so:

#
# Device        Mountpoint      FStype  Options Dump    Pass#
/dev/label/rootfs       /               ufs     rw      1       1
/dev/label/swap         none            swap    sw      0       0

Is there a better way?


If you have an access to azure portal you can download vhd disk and convert it using emulators/qemu
--------------mE3gZblb9sAXXEUVHhlZq7ps--