Bug 1258816
Summary: | IMSM RAID 0 array not assembled in initrd on boot | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | srakitnican <samuel.rakitnican> | ||||||||
Component: | dracut | Assignee: | dracut-maint-list | ||||||||
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 22 | CC: | dracut-maint-list, harald, jonathan, zbyszek | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | x86_64 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2016-07-19 19:17:56 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: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
srakitnican
2015-09-01 10:59:14 UTC
please add "rd.debug" to the kernel command line and attach the rdsosreport.txt Also, does adding "rd.auto" to the kernel command line help? What is the output of: # dracut --print-cmdline of the booted system (if you manage to boot)? In the meantime I have switched the drives to software RAID using mdadm. I was having the same problem. With appending rd.auto I was able to boot the kernel. Steps that I have performed: 1. Mounted / RAID array and separated /boot partition to /mnt 2. Binded /sys /dev /run /proc to /mnt and chrooted to /mnt 3. Created mdadm.conf (mdadm --examine --scan --verbose > /etc/mdadm.conf) 4. Rebuilt initramfs, installed grub2 to /dev/sda and made /boot/grub2/grub.cfg 5. After reboot appended rd.auto to command line to be able to boot # dracut --print-cmdline rd.md.uuid=2cd3793a:ccdf6b2f:b32ade77:a0affb93 root=UUID=80cbf9c5-b4a8-452a-ac1f-b1ff6f190190 rootflags=rw,relatime,lazytime,attr2,inode64,sunit=1024,swidth=2048,noquota rootfstype=xfs Attached "rdsosreport.txt.gz" with "rd.debug" and without "rd.auto" flags I will try again the same with onboard RAID controler. Created attachment 1069478 [details]
rdsosreport.txt.gz with "rd.debug" and without "rd.auto" flag - Software RAID
# mdadm --detail /dev/md0 /dev/md0: Version : 1.2 Creation Time : Wed Sep 2 01:40:21 2015 Raid Level : raid0 Array Size : 40927232 (39.03 GiB 41.91 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Wed Sep 2 01:40:21 2015 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Chunk Size : 512K Name : oldiemodern:0 (local to host oldiemodern) UUID : 2cd3793a:ccdf6b2f:b32ade77:a0affb93 Events : 0 Number Major Minor RaidDevice State 0 8 2 0 active sync /dev/sda2 1 8 18 1 active sync /dev/sdb2 Fakeraid working as well with "rd.auto" at kernel command line. Steps same as in previous message: 1. Mounted / RAID array and separated /boot partition to /mnt 2. Binded /sys /dev /run /proc to /mnt and chrooted to /mnt 3. Created mdadm.conf (mdadm --examine --scan --verbose > /etc/mdadm.conf) 4. Rebuilt initramfs, installed grub2 to /dev/sda and made /boot/grub2/grub.cfg 5. After reboot appended rd.auto to command line to be able to boot # dracut --print-cmdline rd.md.uuid=dfb0d453:e42b5ea1:1072c5b2:259bb47d root=UUID=c94199d0-2f52-4745-89a3-6a9a50ed8c93 rootflags=rw,relatime,lazytime,seclabel,attr2,inode64,logbsize=128k,sunit=256,swidth=512,noquota rootfstype=xfs # mdadm --detail /dev/md126 /dev/md126: Container : /dev/md/imsm0, member 0 Raid Level : raid0 Array Size : 250064896 (238.48 GiB 256.07 GB) Raid Devices : 2 Total Devices : 2 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Chunk Size : 128K UUID : 268bc2d5:ca059a6e:5e6cb760:42662de2 Number Major Minor RaidDevice State 1 8 0 0 active sync /dev/sda 0 8 16 1 active sync /dev/sdb # mdadm --detail /dev/md127 /dev/md127: Version : imsm Raid Level : container Total Devices : 2 Working Devices : 2 UUID : dfb0d453:e42b5ea1:1072c5b2:259bb47d Member Arrays : /dev/md/TranscendPowa Number Major Minor RaidDevice 0 8 0 - /dev/sda 1 8 16 - /dev/sdb Created attachment 1069577 [details]
rdsosreport.txt.gz with "rd.debug" and without "rd.auto" flag - FakeRAID
(In reply to semiRocket from comment #6) > # dracut --print-cmdline > rd.md.uuid=dfb0d453:e42b5ea1:1072c5b2:259bb47d > root=UUID=c94199d0-2f52-4745-89a3-6a9a50ed8c93 > rootflags=rw,relatime,lazytime,seclabel,attr2,inode64,logbsize=128k, > sunit=256,swidth=512,noquota rootfstype=xfs > Does it also boot with the kernel cmdline parameter suggested by dracut? Especially "rd.md.uuid=..." Yes it does. I have added rd.md.uuid to kernel cmdline in /etc/default/grub and remade with grub2-mkconfig. Computer now boots fine from RAID array. Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |