Thursday, October 31, 2024

Re: /altroot with multiple encrypted disks

Phil wrote:

> I guess an an appropriate boot block needs to be installed on the second
> disk (I don't know how to do that either). Also I would guess /altroot
> would need to be temporarily mounted after each backup to swap the
> parameters in the "/" and "/altroot" lines. I'm not knowlegeable enough
> to think of anything else.
>
> I might be talking c**p here and this uber-redundancy scenario isn't the
> intended way for /altroot to be used. Otherwise I'd be very interested
> and grateful to read any ideas anyone has on the subject.
>
> Phil
>

I think if you need that sort of redundancy you just use a mirror RAID.
Boot encrypted mirror RAID is supported (man boot(() and man bioctl(8)).

I suspect you could use installboot(8) on the disk holding your /altroot
to make it bootable, but I have never tested such a thing.

No comments:

Post a Comment