Bug 1391623 - System is not bootable with root mountpoint on RAID1 LVM thinPool
Summary: System is not bootable with root mountpoint on RAID1 LVM thinPool
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: 24
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: LVM and device-mapper development team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-03 15:57 UTC by Jiri Konecny
Modified: 2016-11-08 13:09 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-08 13:09:54 UTC
Type: Bug


Attachments (Terms of Use)
Dracut_error_message.png (22.83 KB, image/png)
2016-11-03 15:57 UTC, Jiri Konecny
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1631298 0 None None None 2016-11-07 22:04:48 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.