From nobody Tue Dec 26 14:22:48 2023 X-Original-To: freebsd-fs@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 4Szxnp13Dqz54w4s for ; Tue, 26 Dec 2023 14:23:10 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from mx1.enfer-du-nord.net (mx1.enfer-du-nord.net [91.121.41.56]) (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 4Szxnn0BpSz4HkR for ; Tue, 26 Dec 2023 14:23:08 +0000 (UTC) (envelope-from trashcan@ellael.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ellael.org header.s=dkim header.b=TZ3Ql6Ve; spf=pass (mx1.freebsd.org: domain of trashcan@ellael.org designates 91.121.41.56 as permitted sender) smtp.mailfrom=trashcan@ellael.org; dmarc=pass (policy=quarantine) header.from=ellael.org Received: from smtpclient.apple (p5b2e5c97.dip0.t-ipconnect.de [91.46.92.151]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.enfer-du-nord.net (Postfix) with ESMTPSA id 4Szxnb2z6Mzl10 for ; Tue, 26 Dec 2023 15:22:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellael.org; s=dkim; t=1703600579; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fpHvpBgjCzeVUOt2e0mLonXMxZQHvr919YTvSZTMe1E=; b=TZ3Ql6VeGSsXies0jnfnjYiJ58jZVX2pTtl08t6UX+ZOiLJOmahxoHbPXpE2M++31j7zMv s7MO/QkfBCGqbzT5tBrVGe8dWRPinZ8cNYau50v/XIuQbkXbG+gsH3sU5FlpaNP9tyjLoA yeh01zi4eWageU+MxdJQcKR+rnTD9kRav3GcdVdqapSlfwhf6VMmO6Tqtgvdi8K+qJq6Bq 80bnSxkAMFoc2w5ZX9czvcrpNiy5sx7MklqHt36BCcQImbbICMdeXtA4XarkstVY4aWidb Rtvpi9LrJGbN8rInEAbgaee/m1VwJ/dRHazZOSbRMBz1TnfSvwINBm2Nil6H2Q== From: Michael Grimm Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Howto migrate a FreeBSD cloud instance to another one without native FreeBSD support? Message-Id: <4A6398FE-5DC1-45A1-85A9-7C5054CF5BF7@ellael.org> Date: Tue, 26 Dec 2023 15:22:48 +0100 To: freebsd-fs@freebsd.org X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Spamd-Result: default: False [-2.40 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; DMARC_POLICY_ALLOW(-0.50)[ellael.org,quarantine]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[ellael.org:s=dkim]; R_SPF_ALLOW(-0.20)[+ip4:91.121.41.56]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[ellael.org:+]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4Szxnn0BpSz4HkR X-Spamd-Bar: -- Hi, I do run FreeBSD 14.0-STABLE instances in OVH's public cloud for some = years already. Now, I do need to migrate my FBSD instances to new = instances (old ones are no longer supported). In the past one could create new instances running FBSD from the start, = but OVH has removed that option. I do have used Ubuntu rescue systems in = the past for my FBSD instances, thus I am familiar in using Ubuntu's = OpenZFS functionality. Sadly, OVH doesn't offer Linux systems installed on ZFS pools. Thus I do = have to stick to Linux systems without. Here are my questions regarding using Linux (Ubuntu) rescue systems: # What would be the closest equivalent to FBSD's gpart tool? gdisk, =E2=80=A6? # Would it be possible at all to go for legacy booting of FBSD?=20 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0 # Or, would it be better/easier to consider UEFI booting instead? rsync /boot/loader.efi to rescue system # Are there other promising strategies for migrating feasible? Thanks in advance and regards, Michael=