-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[tests] blkid / mdadm on 5.4+ kernels #906
Comments
The old version of the metadata is stored at the end of the device -- this is very confusing in some use cases, and we need to test it :-) It sounds like we need to test if mdadm supports it and if not than skip the test. |
probably test for kernel version (5.4+), and if it raid0 , then not to use old metadata ?! What logic should we use? |
It seems recent changes in mdadm make things a little bit unstable for some users. Let's mark the tests temporary as TS_KNOWN_FAIL until we get more information. Addresses: #906 Signed-off-by: Karel Zak <kzak@redhat.com>
I have doubts it's about kernel version only. it seems more complicated, for example it works on Fedora with kernel 5.5
Two weeks ago I fixed issue with raid members size related to the default layout setting, commit 653d1c8 (https://bugzilla.redhat.com/show_bug.cgi?id=1784534) ... not sure, maybe it's related to the issue too. Anyway, I have a temporary marked the tests as TS_KNOWN_FAIL, I need to test it with the unstable mdadm to debug it more carefully. We'll see. I'm going to keep this issue open for now. |
|
JFYI
mdadm commit mdadm-4.1-54-g329dfc28de makes some tests fail for util-linux on kernel 5.4+, which use
--metadata
flag on mdadm command line:quick grep on util-linux test suite, finds some files:
testing:
array is not created.
testing with older mdadm version:
Why do we insist to use older (0.90) metadata format instead of current one (1.2) ?
tested with x86_64 and sparc64 VMs installed with debian sid/unstable.
PS: don't have time currently to write a proper patch, but leave it here, up until i'll find time or someone writes it before me.
The text was updated successfully, but these errors were encountered: