From nobody Fri Aug 30 03:35:21 2024 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 4Ww3h50WyRz5PSwD for ; Fri, 30 Aug 2024 03:35:33 +0000 (UTC) (envelope-from boyvalue@gmail.com) Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ww3h45wc2z3yHN for ; Fri, 30 Aug 2024 03:35:32 +0000 (UTC) (envelope-from boyvalue@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-e1a7e54b898so113269276.2 for ; Thu, 29 Aug 2024 20:35:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724988932; x=1725593732; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+QjWEFbxjjjR+kUgDQXp3hFhDt3b9E1uAl+fs3kkzY0=; b=lauNsgVWo+xaNhd7JUoAvoZlTJiOmyHNKAHhFSt4JWl4mNrulqpD3h3I3GIapGJACv lU/3KrAQL+fIX8oBXgt63YwrC394iUimsxOcrAcgH0PyDCAvDGsDycy2X4wEkfJNmLDt Qm26bXrx0qSsKDs3GL8RcFjLa4/X1bKrM78QJaqBPmE7/4dk44qDJw4vX7iryIgF/ME/ I79VS6VNjOTbt0eqtt311TvwlTUILs44dQCORjuSK391yPhs+BVc7sHdPnhM8oVV8wiF DJchOSqQ9YyGND3QLxYX8ufj6Kggnx8Rtt73WRLfYbmX+D+6UAak68gH02HVYMN7/nBd +CGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724988932; x=1725593732; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+QjWEFbxjjjR+kUgDQXp3hFhDt3b9E1uAl+fs3kkzY0=; b=MX3NgdzzdeOgAahS7RCvLkMgdXqkuWiZI3a0+7MI2esbryGveBPqOh9gNZB4oYnCr6 9zodJWQwAmKQRRxXcXpaYS3fN4sKFChsccT/KZS+S4flIAo5efnJIiFXjptMY/L4zWBF X+pWVSg5dpNAfQ7WuK593ZJ39OZfcvzRmqoCSzZX5VJwPs0/sz4gE0Rfoa4xVidOlyeP Zcj27pnSX/i6D/SgIClC7IacwylCdgeI52fl6Gso+Inw3/faxKATFUwsdOrC2xkVMblK 8aUA4GOyAM3NAiQKyIwJCz19soC4wZ/IWQksAM/6Y/Q5tREASrXBBuIoGzIch7l/938p pvsA== X-Gm-Message-State: AOJu0YzUgSozzxUq/hen67UiwPl4jCxrMVIKzZvY+uJEPr7+qjsSJ5u7 2An2kT2poqJ7JBqOaovs5IRayeJgLMQBGScNRr6RYWt5IBgnzW3geHHWs11xhOw+LeAB9CwJGKe XT+5bPfo2GUv1pEZdQP9ZOMyvTRv6 X-Google-Smtp-Source: AGHT+IHJzhUgYDHJ58KGwFdhePD25bMFdEh8EeLcVKMkPHuuCceJ+WjtnlT92B83HK8IS/PUz5zkZPjGok3qjHGUviY= X-Received: by 2002:a05:6902:100a:b0:e05:fea8:4c77 with SMTP id 3f1490d57ef6-e1a79fff310mr954857276.14.1724988931635; Thu, 29 Aug 2024 20:35:31 -0700 (PDT) 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 References: <1716220186.14048.1724574603123@localhost> <5cb0fb8c-7717-44a8-a0a1-af1a127abc4c@holgerdanske.com> <371379ee-b5ae-406c-ab61-04b77b43f3e8@holgerdanske.com> In-Reply-To: <371379ee-b5ae-406c-ab61-04b77b43f3e8@holgerdanske.com> From: Pamela Ballantyne Date: Thu, 29 Aug 2024 21:35:21 -0600 Message-ID: Subject: Re: Fwd: Moving ZFS root popol to a virtual server was: ZFS: Suspended Pool due to allegedly uncorrectable I/O error To: David Christensen Cc: freebsd-fs@freebsd.org Content-Type: multipart/alternative; boundary="0000000000008303190620de4853" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Ww3h45wc2z3yHN --0000000000008303190620de4853 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Aug 29, 2024 at 5:17=E2=80=AFPM David Christensen wrote: > On 8/28/24 22:01, Pamela Ballantyne wrote: > >>> So far, there's no issue with using the filesystem. Of course, I'm > happy > >>> to provide the command output if you think it will help isolate this > >>> problem. Just let me know. > >>> > >> Have you tried the command 'VBoxManage convertfromraw ...' to convert = a > >> raw disk image into a VirtualBox disk image? > >> > >> > https://docs.oracle.com/en/virtualization/virtualbox/6.0/user/vboxmanage-= convertfromraw.htm > >> > > There is no raw disk image to convert. All the disks start as VBox disk > > images. > > > If you want to clone a VirtualBox VM (on a VirtualBox virtual disk), I > would export the VM to a file and then import the file into a new VM. > > > If you want to convert a FreeBSD instance running on a ZFS pool mirror > of two HDD's on a Supermicro colocated server to a VirtualBox VM, I > would try 'VBoxManage convertfromraw ...' using the primary disk in the > mirror (the one with the boot loader stuff). This means you will need > to insert/ install and boot a FreeBSD 13 live CD, DVD, USB flash drive, > SSD, HDD, etc., into the Supermicro server and install VirtualBox to do > the work. Once the VM is running, I would remove the missing vdev from > the ZFS pool mirror; this assumes the hosting provider provides fault > tolerance storage for VM's. > > Thanks David, I'm sure that's good advice. I don't need to do that. At the moment, it looks possible that I will be moving from a Supermicro server to a Dell. I'm hoping to be able to boot FBSD using the virtual disk on the Dell, configure the hard drives, and then use ZFS send/recv to replicate one server to the other. It's unclear if the data center will provide me with the necessary access. Fingers crossed. I always put the 'boot laoder stuff' on all the disks in the mirror, so the machine can always boot. Pammy --0000000000008303190620de4853 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Aug 29, 2024 at 5:17=E2=80=AFPM David = Christensen <dpchrist@holge= rdanske.com> wrote:
On 8/28/24 22= :01, Pamela Ballantyne wrote:
>>> So far, there's no issue = with using the filesystem. Of course, I'm happy
>>> to provide the command output if you think it will help isolat= e this
>>> problem. Just let me know.
>>>
>> Have you tried the command 'VBoxManage convertfromraw ...'= to convert a
>> raw disk image into a VirtualBox disk image?
>>
>> = https://docs.oracle.com/en/virtualization/virtualbox/6.0/user/vboxmanage-co= nvertfromraw.htm
>>
> There is no raw disk image to convert. All the disks start as VBox dis= k
> images.


If you want to clone a VirtualBox VM (on a VirtualBox virtual disk), I
would export the VM to a file and then import the file into a new VM.


If you want to convert a FreeBSD instance running on a ZFS pool mirror
of two HDD's on a Supermicro colocated server to a VirtualBox VM, I would try 'VBoxManage convertfromraw ...' using the primary disk in= the
mirror (the one with the boot loader stuff).=C2=A0 This means you will need=
to insert/ install and boot a FreeBSD 13 live CD, DVD, USB flash drive, SSD, HDD, etc., into the Supermicro server and install VirtualBox to do the work.=C2=A0 Once the VM is running, I would remove the missing vdev fro= m
the ZFS pool mirror; this assumes the hosting provider provides fault
tolerance storage for VM's.


Tha= nks David, I'm sure that's good advice. I don't need to do that= .=C2=A0 At the moment,
it looks possible that I will be moving fr= om a Supermicro server to a Dell. I'm hoping
to be able to bo= ot FBSD using the virtual disk on the Dell, configure the hard drives,
and then use ZFS send/recv to replicate one server to the other.=C2= =A0 It's unclear if
the data center will provide me with the = necessary access. Fingers crossed.

I always put th= e 'boot laoder=C2=A0stuff' on all the disks in the mirror, so the m= achine can always boot.

Pammy

=
--0000000000008303190620de4853--