[CentOS] (C8) root on mdraid

Mon Nov 16 07:45:10 UTC 2020
Ruslanas Gžibovskis <ruslanas at lpic.lt>

Hi,

I am curious, what config your /etc/grub2.cfg looks like?

does it have the correct root partition specified under "set root=" or in
linux option
or how it looks in boot loader during a start?

Thanks

On Mon, 16 Nov 2020 at 08:41, Łukasz Posadowski <mail at lukaszposadowski.pl>
wrote:

> Sun, 15 Nov 2020 14:16:48 -0800
> Gordon Messmer <gordon.messmer at gmail.com>:
>
> > On 11/15/20 3:32 AM, Łukasz Posadowski wrote:
> > > Do anyone can suggest what else I forgot to do?
> >
> >
> > Use metadata version 1.2 instead of 0.9.
> >
> > You need for the filesystem to be not visible until after the RAID is
> > assembled, and the easiest way to do that is to put the metadata at
> > the beginning of the drive and the partition table inside the RAID
> > volume.
> >
> > With metadata version 0.9, the partition table is technically inside
> > the volume, but it's at the same offset that it would be for a disk
> > with no RAID volume, so it can be recognized before the volume is
> > assembled.
>
> Thanks, I'll try that. I'm use to metadata 0.9, because GRUB have
> (had?) some issue with the newer ones.
>
> --
> Łukasz Posadowski
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
Ruslanas Gžibovskis
+370 6030 7030