From: BugReports <bugreports61@gmail.com>
To: Li Nan <linan666@huaweicloud.com>,
yukuai@fnnas.com, linux-raid@vger.kernel.org, xni@redhat.com
Subject: Re: Issues with md raid 1 on kernel 6.18 after booting kernel 6.19rc1 once
Date: Thu, 18 Dec 2025 17:04:23 +0100 [thread overview]
Message-ID: <abd640b6-6b14-4752-80ca-242fca19fe47@gmail.com> (raw)
In-Reply-To: <c6389212-3651-c85a-a713-693351aaf690@huaweicloud.com>
Hi,
ok, so no easy way back for me to the original state sadly.
The patch for 6.18 here:
https://lore.kernel.org/stable/20251217130513.2706844-1-linan666@huaweicloud.com/T/#u
has the following in:
+ memcmp(sb->pad3, sb->pad3+1, sizeof(sb->pad3) - sizeof(sb->pad3[1])))
{ + pr_warn("Some padding is non-zero on %pg, might be a new feature\n",
+ rdev->bdev); + if (check_new_feature) + return -EINVAL; +
pr_warn("check_new_feature is disabled, data corruption possible\n"); + }
Data corruption (especially the one happening in the background without
noticing) would be the worst case.
So is it really safe to use that patch+module option with my modified md
raid on kernel 6.18 (can easily apply the patch on my 6.18 kernel) ?
Br
Am 18.12.25 um 15:54 schrieb Li Nan:
>
>
> 在 2025/12/18 18:41, Bugreports61 写道:
>> Hi,
>>
>>
>> reading the threads it was now decided that only newly created arrays
>> will get the lbs adjustment and patches to make it work on older
>> kernels will not happen:
>>
>>
>> How do i get back my md raid1 to a state which makes it usable again
>> on older kernels ?
>>
>> Is it safe to simply mdadm --create --assume-clean /dev/mdX /sdX
>> /sdY on kernel 6.18 to get the old superblock 1.2 information back
>> without loosing data ?
>>
>>
>> My thx !
>>
>
> In principle, this works but remains a high-risk operation. I still
> recommend backporting this patch and add module parameters to mitigate
> the
> risk.
>
> https://lore.kernel.org/stable/20251217130513.2706844-1-linan666@huaweicloud.com/T/#u
>
>
> This issue will be fixed upstream soon. The patch is under validation and
> expected to be submitted tomorrow. However, the existing impact cannot be
> undone – apologies for this.
>
next prev parent reply other threads:[~2025-12-18 16:04 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-17 6:58 Issues with md raid 1 on kernel 6.18 after booting kernel 6.19rc1 once BugReports
2025-12-17 7:06 ` Yu Kuai
2025-12-17 7:13 ` BugReports
2025-12-17 7:17 ` Yu Kuai
2025-12-17 7:25 ` BugReports
2025-12-17 7:33 ` Issues with md raid 1 on kernel 6.18 after booting kernel 6.19-rc1 once Paul Menzel
2025-12-17 7:41 ` Yu Kuai
2025-12-17 8:02 ` Reindl Harald
2025-12-17 8:33 ` Yu Kuai
2025-12-17 13:07 ` Thorsten Leemhuis
2025-12-17 13:45 ` Yu Kuai
2025-12-17 13:50 ` Reindl Harald
2025-12-17 13:24 ` Issues with md raid 1 on kernel 6.18 after booting kernel 6.19rc1 once Li Nan
2025-12-18 10:41 ` Bugreports61
2025-12-18 14:54 ` Li Nan
2025-12-18 16:04 ` BugReports [this message]
2025-12-19 8:22 ` Li Nan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=abd640b6-6b14-4752-80ca-242fca19fe47@gmail.com \
--to=bugreports61@gmail.com \
--cc=linan666@huaweicloud.com \
--cc=linux-raid@vger.kernel.org \
--cc=xni@redhat.com \
--cc=yukuai@fnnas.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox