[CentOS] (C8) root on mdraid

Sun Nov 15 22:16:48 UTC 2020
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.