Tormod Volden ha scritto:
>> In your example above, if your /dev/sdc is not part of an array, kernel will not
>> remove it. If it happens this is a bug.
>> If /dev/sda and /dev/sdb are part of an array, they will be removed, and this is
>> *not* a bug, why it should be..?
>
> This is what I do not understand. The way I read the patch and its
> description, if this array is not used for root, -Z will not be used on
> it, so they will not be removed.
Yes, apologies for the confusion, if this array is not used for root, -Z will
not be used on it, otherwise my above sentence is true.
>> Workaround (patch) that I added in the latest revision isn't elegant, but imho
>> it fixed that issue. If it doesn't, please reopen this bug and write a testcase.
>
> I will leave to Christian to judge if this workaround fixes his issue.
>
> I am starting to wondering if you are talking about the issue in the
> linked Debian report, which might be somewhat different. I notice that
Why are they different? They are the same issue, mdraid out of dmraid raw
partitions or no-raid installation out of dmraid raw partitions.
> Other question: Why the special-casing of the root partition, shouldn't
> the same logic apply to all partitions?
>
Yes, the logic is the same, but the special-casing prevents the boot failure
when there is a wrong setup.
Tormod Volden ha scritto:
>> In your example above, if your /dev/sdc is not part of an array, kernel will not
>> remove it. If it happens this is a bug.
>> If /dev/sda and /dev/sdb are part of an array, they will be removed, and this is
>> *not* a bug, why it should be..?
>
> This is what I do not understand. The way I read the patch and its
> description, if this array is not used for root, -Z will not be used on
> it, so they will not be removed.
Yes, apologies for the confusion, if this array is not used for root, -Z will
not be used on it, otherwise my above sentence is true.
>> Workaround (patch) that I added in the latest revision isn't elegant, but imho
>> it fixed that issue. If it doesn't, please reopen this bug and write a testcase.
>
> I will leave to Christian to judge if this workaround fixes his issue.
>
> I am starting to wondering if you are talking about the issue in the
> linked Debian report, which might be somewhat different. I notice that
Why are they different? They are the same issue, mdraid out of dmraid raw
partitions or no-raid installation out of dmraid raw partitions.
> Other question: Why the special-casing of the root partition, shouldn't
> the same logic apply to all partitions?
>
Yes, the logic is the same, but the special-casing prevents the boot failure
when there is a wrong setup.
Cheers,
Giuseppe.