[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grub2 mdadm and default_layout , attempt to read or write outside of
From: |
Andrei Borzenkov |
Subject: |
Re: grub2 mdadm and default_layout , attempt to read or write outside of disk |
Date: |
Sun, 5 Jun 2022 09:48:16 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
On 04.06.2022 23:57, Pascal Hambourg wrote:
> Le 04/06/2022 à 20:29, Andrei Borzenkov a écrit :
>> On 04.06.2022 20:46, Pascal Hambourg wrote:
>>>
>>> Also note that RAID0 layout is irrelevant when only one member is bigger
>>> than the other(s).
>>
>> grub will compute wrong logical block location for anything beyond
>> common smallest disk size.
>
> I guess so, but this has nothing to do with my point. My point was
> related with the implementation of RAID0 layout.
>
> By the way, how would you deal with RAID0 arrays without explicit layout
> in the superblock ? Linux handles it with a module parameter.
>
It is always possible to use environment variable to define default layout.