Bug 105716

Summary: RAID settings failures on remove and /dev/md255 problem
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Leah Cunningham <leah>
Component: YaST2Assignee: Thomas Fehr <fehr>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None    
Version: Beta 2   
Target Milestone: ---   
Hardware: i686   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Screenshot of /dev/md255 error
Screenshot of my RAID settings screen

Description Leah Cunningham 2005-08-18 22:45:56 UTC
See Bug 105712 for an fdisk listing of the drive I am working with.

If you go into RAID settings and do a Remove RAID on a highlighted disk, the
first one will clear the Type back to Linux native (say if you selected
/dev/hda1).  If you then highlight the next device (/dev/hda2) and select Remove
Raid, you are returned back to /dev/hda1 being highlighted, and the Type is not
changed for /dev/hda2.  If you continue to do this, Remove RAID will cycle
through prompts of:

Do you really want to delete partition /dev/{md1,md2,md3,md4} and then, after
md4, the prompt changes to "Do you really want to delete partition /dev/md255".
 I will attach a screenshot.  This system did have four md partitions on it.
Comment 1 Leah Cunningham 2005-08-18 22:47:21 UTC
Created attachment 46612 [details]
Screenshot of /dev/md255 error
Comment 2 Leah Cunningham 2005-08-18 22:48:53 UTC
Created attachment 46613 [details]
Screenshot of my RAID settings screen
Comment 3 Leah Cunningham 2005-08-18 23:04:38 UTC
I should mention that this disk already had RAID type partitions on it.
Comment 4 Leah Cunningham 2005-08-18 23:11:20 UTC
Upon further investigation, this odd behavior depends on having attempted to
delete the partition table on both drives first, as I explained in Bug 105712. 
It is not seen if you have not done this step.  However even when you have RAID
devices that do remove correctly, the /dev/md255 issue will occur if you select
Remove RAID when there are no more RAID devices left.
Comment 5 Arvin Schnell 2005-08-19 07:04:32 UTC
Please provide YaST2 logs.
Comment 6 Leah Cunningham 2005-08-19 12:52:38 UTC
See attachment 46624 [details]
Comment 7 Thomas Fehr 2005-08-22 10:56:18 UTC
There was a bug in libstorage handling raid removal (it tried to remove 
/dev/mdmd0 instead of /dev/md0) in libstorage that will be fixed in beta#3.
If possible, please retry your tests with beta#3.