Re: Fwd: Moving ZFS root popol to a virtual server was: ZFS: Suspended Pool due to allegedly uncorrectable I/O error

From: Pamela Ballantyne <boyvalue_at_gmail.com>
Date: Fri, 30 Aug 2024 03:35:21 UTC
On Thu, Aug 29, 2024 at 5:17 PM David Christensen <dpchrist@holgerdanske.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 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