Bug 1533812 - dmraid does not want to create raid with two disks
Summary: dmraid does not want to create raid with two disks
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dmraid
Version: 28
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: Heinz Mauelshagen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-12 09:55 UTC by Harald Hoyer
Modified: 2018-11-19 17:45 UTC (History)
10 users (show)

Fixed In Version: dmraid-1.0.0.rc16-38.fc28
Clone Of:
Environment:
Last Closed: 2018-11-19 17:45:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Harald Hoyer 2018-01-12 09:55:42 UTC
dmraid-1.0.0.rc16-35.fc28.x86_64

# echo y|dmraid -f isw -C Test0 --type 1 --disk "/dev/sdb /dev/sdc"

ERROR: isw: the RAID set cannot have less than 2 hard drives

Both disks exist and this works in all Fedora <= 27

Causes the dracut testsuite to fail.

https://github.com/dracutdevs/dracut/blob/master/test/TEST-14-IMSM/create-root.sh#L13

Comment 1 Fedora End Of Life 2018-02-20 15:31:28 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 2 Marian Csontos 2018-11-19 17:45:05 UTC
This is fixed upstream and in both Rawhide and F28. A regression was caused by incorrect fix of a problem reported by coverity.

The pointer was compared with '\0' (which happens to be same as NULL as was correct), I misunderstood this and "fixed" the issue the wrong way.

At least we know not many people are using dmraid on Fedora, as it went without notice for some time.


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