Bugzilla – Bug 112958
Storage Modification Failure 6008 creating raid 5 with 3 logical partitions
Last modified: 2006-11-20 18:50:25 UTC
Code10 Beta 3 Single IDE HD system set up with 3 partitions: swap, /, data* I started the Yast partitioner: -deleted the data* partition. -created 1 extended partition -created 3 logical - 2G raid partitions -started raid config -added all 3 logical partitions to a raid 5 array -finished While creating the raid the attached error was received: Storage modification failed System errorcode was -6008 Failure occured during following action: Creating software RAID /dev/md0
Created attachment 47536 [details] yast logs
Created attachment 47537 [details] screenscrape of error
This is because udev creates the devices asynchronously. mdadm is started, but the devices nodes for /dev/hda5, /dev/hda6 amd /dev/hda7 do not yet exist. From y2log: mdadm: Cannot open /dev/hda5: No such file or directory mdadm: Cannot open /dev/hda6: No such file or directory mdadm: Cannot open /dev/hda7: No such file or directory mdadm: create aborted There is a delay until the device nodes for the devices created by parted show up in the system. Currently there is no way for YaST2 to know when this is the case. We need a way to recognize if udev is finished with device node creation. A workaround is to split partitioning and md creation. Create partitions in the first step, apply these changes, Create md device yet.
While trying to reproduce this bug, everything worked out until I wanted to finalize the setup. Yast crashed with a Sig 11: Segmentation fault at Storage.ycp:2083 /sbin/yast2: line 207:14252 Segmentation Fault [...] If checked with fdisk that not even the partitioning was done after this, the system was untouched (I wanted to delete one Partition and crate 3 logical partitions to reproduce this bug).
If you tried to create an extended partition and YaST2 crashed you probably hit bug #112913. This bug will be fixed in beta#4. You can avoid it of you create the extended partition with parted or fdisk. YaST2 in beta#3 only has problems creating the extended partition. If it exists it should be able to handle it fine.
Should be fixed in RC2