On Fri, Aug 12, 2022 at 02:28:30PM +0200, Erling Westenvik wrote:
> On Thu, Aug 04, 2022 at 07:26:23PM +0200, Stefan Sperling wrote:
> > This adds support for booting from RAID 1C volumes on amd64.
> 
> This is so cool and I can't wait to get a chance to try it out!
> 
> > Only boot-loader changes are needed. Both installboot(8) and
> > the kernel already do what is required to make this work.
> > 
> > I have tested with biosboot in vmm. The changes involved are trivial,
> > and I am modifying copies of the same code across all bootloaders.
> > So I would assume that all boot methods work with this patch.
> > Additional testing to verify this would be welcome, of course.
> > 
> > In my testing, a fresh install onto a RAID 1C volume succeeds and
> > the resulting system can be booted as usual. I have tried this on
> > a volume locked with a keydisk, and a volume locked with a passphrase.
> > 
> > I have also tested booting with one of two disks missing and as
> > expected the system came up with a degraded volume:
> 
> OpenBSD's RAID 1 implementation supports more than two disks. Would
> there be a need to test such a setup as well?

Yes, sure, that would not hurt.

I am currently trying to find time in order to test my patch on
real hardware. Any additional testing would be very welcome.

Manually compiling and updating the boot loader is sufficient to test
this patch. But building a custom snapshot of the full system is easier
if the boot loader build + upgrade steps aren't already clear to you.
The full-system build procedure is documented in the release(8) man page.

Alternatively, I could share my own amd64 snapshots which I am using
for testing. Contact me off-list if you are interested and I will
respond with a link.

Reply via email to