Bug 105712

Summary: Delete Partition Table and Disk Label does not clear RAID partitions of type fd
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: Beta 3   
Hardware: i686   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: result of fdisk -l

Description Leah Cunningham 2005-08-18 22:33:08 UTC
I am unsure if this is expected behavior, so let me know if so.

If you have disks with existing RAID type partitions, in the expert partitioner
when you select Expert > Delete Partition Table and Disk Label it will delete
all partitions but those of type "fd" "Linux raid autodetect".

I will attach the output of fdisk -l on the system.
Comment 1 Leah Cunningham 2005-08-18 22:34:47 UTC
Created attachment 46611 [details]
result of fdisk -l
Comment 2 Leah Cunningham 2005-08-18 23:13:56 UTC
This specifically occurs when there were active MD devices still in the list. 
If you enter the RAID menu and remove all of the drives first, the parition
tables will clear correctly.  However, this is perhaps not the most intuitive thing.
Comment 3 Arvin Schnell 2005-08-19 07:02:37 UTC
Please provide YaST2 logs of the attempt that did not work, see:
http://www.opensuse.org/index.php/Bug_Reporting_FAQ#YaST
Comment 5 Thomas Fehr 2005-08-22 10:58:39 UTC
This is also caused by the failed raid removal. Since raid ist still active
kernel refuses the partitions belonging to that raid being deleted.
So this strange behaviour should be fixed with fix of raid removal in 
libstorage. 

If possible please retry with beta#3.
If it still fails in beta#3 please reopen and attach y2log files.