Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2024 21:35:21 -0600
From:      Pamela Ballantyne <boyvalue@gmail.com>
To:        David Christensen <dpchrist@holgerdanske.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Fwd: Moving ZFS root popol to a virtual server was: ZFS: Suspended Pool due to allegedly uncorrectable I/O error
Message-ID:  <CAESeg0xWr31wqCVtjnNKQ7Phj7zLmTTVteYs_QDjmnWGD%2B1DJw@mail.gmail.com>
In-Reply-To: <371379ee-b5ae-406c-ab61-04b77b43f3e8@holgerdanske.com>
References:  <CAESeg0wm9iZN=8tpo_rtC1hgRMzyr4dhJrQyxgSuiS183_9y8A@mail.gmail.com> <CAESeg0xZZb71zB%2BAB_Y05C%2BoDG=3ak3-TiWgi0Mg2Jf-FKcwdQ@mail.gmail.com> <1716220186.14048.1724574603123@localhost> <CAESeg0x43pSTrfSjwRD_AGqMmX72PRONrqQY16yoU_vMqZqKQQ@mail.gmail.com> <CAESeg0wCeUwvqT9T84Ugi3VUSy4hOd66SELkzNUPbA5bYnDWXw@mail.gmail.com> <5cb0fb8c-7717-44a8-a0a1-af1a127abc4c@holgerdanske.com> <CAESeg0x6oZM0_41FdBr=btRydaXOXOpS8t8EnGJnWKVHLc0%2BgA@mail.gmail.com> <e3fbca78-5b51-425a-afaa-373e315fa728@holgerdanske.com> <CAESeg0y6sDHxfQ_6EiLXHfLPCCAoGPQmHkuFModeq_c1PWfNmA@mail.gmail.com> <371379ee-b5ae-406c-ab61-04b77b43f3e8@holgerdanske.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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

[-- Attachment #2 --]
<div dir="ltr"><div dir="ltr"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>On Thu, Aug 29, 2024 at 5:17 PM David Christensen &lt;<a href="mailto:dpchrist@holgerdanske.com">dpchrist@holgerdanske.com</a>&gt; wrote:<br></div></div></div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 8/28/24 22:01, Pamela Ballantyne wrote:<br>&gt;&gt;&gt; So far, there&#39;s no issue with using the filesystem. Of course, I&#39;m happy<br>
&gt;&gt;&gt; to provide the command output if you think it will help isolate this<br>
&gt;&gt;&gt; problem. Just let me know.<br>
&gt;&gt;&gt;<br>
&gt;&gt; Have you tried the command &#39;VBoxManage convertfromraw ...&#39; to convert a<br>
&gt;&gt; raw disk image into a VirtualBox disk image?<br>
&gt;&gt;<br>
&gt;&gt; <a href="https://docs.oracle.com/en/virtualization/virtualbox/6.0/user/vboxmanage-convertfromraw.htm" rel="noreferrer" target="_blank">https://docs.oracle.com/en/virtualization/virtualbox/6.0/user/vboxmanage-convertfromraw.htm</a><br>;
&gt;&gt;<br>
&gt; There is no raw disk image to convert. All the disks start as VBox disk<br>
&gt; images.<br>
<br>
<br>
If you want to clone a VirtualBox VM (on a VirtualBox virtual disk), I <br>
would export the VM to a file and then import the file into a new VM.<br>
<br>
<br>
If you want to convert a FreeBSD instance running on a ZFS pool mirror <br>
of two HDD&#39;s on a Supermicro colocated server to a VirtualBox VM, I <br>
would try &#39;VBoxManage convertfromraw ...&#39; using the primary disk in the <br>
mirror (the one with the boot loader stuff).  This means you will need <br>
to insert/ install and boot a FreeBSD 13 live CD, DVD, USB flash drive, <br>
SSD, HDD, etc., into the Supermicro server and install VirtualBox to do <br>
the work.  Once the VM is running, I would remove the missing vdev from <br>
the ZFS pool mirror; this assumes the hosting provider provides fault <br>
tolerance storage for VM&#39;s.<br><br></blockquote><div><br></div><div>Thanks David, I&#39;m sure that&#39;s good advice. I don&#39;t need to do that.  At the moment,</div><div>it looks possible that I will be moving from a Supermicro server to a Dell. I&#39;m hoping</div><div>to be able to boot FBSD using the virtual disk on the Dell, configure the hard drives,</div><div>and then use ZFS send/recv to replicate one server to the other.  It&#39;s unclear if</div><div>the data center will provide me with the necessary access. Fingers crossed.</div><div><br></div><div>I always put the &#39;boot laoder stuff&#39; on all the disks in the mirror, so the machine can always boot.</div><div><br></div><div>Pammy</div><div><br></div></div></div>
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAESeg0xWr31wqCVtjnNKQ7Phj7zLmTTVteYs_QDjmnWGD%2B1DJw>