Bug 1305105

Summary: gnome-disk-utility refuses to add spare disk to raid 5 array
Product: Red Hat Enterprise Linux 6 Reporter: Martin Krajnak <mkrajnak>
Component: gnome-disk-utilityAssignee: David King <dking>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.8CC: thozza, tpelka
Target Milestone: alphaKeywords: FastFix
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: 2017-12-06 10:49:13 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
scr1 none

Description Martin Krajnak 2016-02-05 16:26:46 UTC
Created attachment 1121425 [details]
scr1

Description of problem:
After creating raid 5 array with 3 disks, application refuses to add one more spare disk to array.

Version-Release number of selected component (if applicable):
gnome-disk-utility-2.30.1-3.el6.x86_64


How reproducible:
always

Steps to Reproduce:
1. Run palimpsest or Applications->System Tools->Disk Utility.
2. Choose sw RAID block device (in my case /dev/md0).
3. If this array isn't started start them using "Start" button on top.
4. Click "Edit Components".
5. In the right panel click on "Add Spare"  button.
6. Choose you fourth partiton created in Setup (in my case /dev/test4).


Actual results:
Application refuses to add fourth partition with following message:
Error creating partition table: helper exited with exit code 1: In part_create_partition_table: device_file=/dev/dm-3, scheme=0
got it
got disk
committed to disk
BLKRRPART ioctl failed for /dev/dm-3: Invalid argument



Expected results:
Should add spare partition to array


Additional info:
Also if you remove one of the disk which is already part of array, you are not able to add the disk back, result is same error message.

Comment 3 Jan Kurik 2017-12-06 10:49:13 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/