Bug 1391623

Summary: System is not bootable with root mountpoint on RAID1 LVM thinPool
Product: [Fedora] Fedora Reporter: Jiri Konecny <jkonecny>
Component: lvm2Assignee: LVM and device-mapper development team <lvm-team>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 24CC: agk, anprice, aperotti, bmarzins, bmr, heinzm, jonathan, lvm-team, msnitzer, prajnoha, prockai, vpodzime, zkabelac
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-08 13:09:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Dracut_error_message.png none

Description Jiri Konecny 2016-11-03 15:57:41 UTC
Created attachment 1217081 [details]
Dracut_error_message.png

Description of problem:
On kernel-4.8.4-200 the system can't be booted with a thinLV on a RAID1 LVM thinPool. When a machine has this kernel and raid, it stays in Dracut and after some time it will print:

device-mapper: table: 253:5 raid: Unable to assemble array: Unknown flag(s) in compatible feature flags

This happens at least after update from kernel 4.7.3-200 to kernel 4.8.4-200 or after installation of Fedora24.

I didn't test it but I assume that this is happening on every Fedora version with this kernel.


Version-Release number of selected component (if applicable):
2.02.150-2

How reproducible:
Always

Steps to Reproduce:
1. Create partitioning with a thinLV on a RAID1 thinPool
2. Start F24 installation and use this pre-created partitioning for '/' (root mountpoint)
3. Run installation with actual repositories
4. Reboot

or:
1. Same as 1. above
2. Install F24 from install repositories http://dl.fedoraproject.org/pub/fedora/linux/releases/24/Everything/x86_64/os/ (to have old kernel version)
3. Install the system and boot to it
4. Run dnf upgrade
5. Reboot

Actual results:
When the installation/upgrade is finished and the machine is rebooted it won't boot to a system.

Expected results:
The machine should boot successfully.

Additional info:
I'm attaching a screenshot with the Dracut error.
It looks like this is specific to thinPool RAID and this is not happening on a software md RAID.

Comment 1 Andrea Perotti 2016-11-07 22:04:48 UTC
The issue is more generic and widespread: ANY raid volume fails to be assembled by kernel >=4.8 .

Here you can find a 3d with a patch for the issue:

http://www.spinics.net/lists/raid/msg53981.html

Comment 2 Heinz Mauelshagen 2016-11-08 13:09:54 UTC
Already fixed upstream and released in recent Fedora 24 kernels.