Project

General

Profile

action #56486

Updated by JRivrain over 4 years ago

Description 
 ----------- 


 Currently, all the raid tests are working this way: 

 - create some partitions on disk 1 
 - create the same exact set of partitions on the next disk. 
 - iterate the same exact operation for all the disks. 

 However, on both sle 12 and 15, there is possiblity to clone partitions: 
 ![sle12](https://w3.nue.suse.com/~jrivrain/clone_this_disk_sle12.png) ![sle15](https://w3.nue.suse.com/~jrivrain/clone_partitions_to_other_devices_sle15.png) 

 Using this would drastically reduce the execution time of test modules, and makes more sense, the real users are more about to proceed this way. 


 Acceptance criteria 
 ------------------- 

 - Modify the existing test modules to use "clone this disk/partition" 

 ### Additional info: 

 Another way is covered by [another ticket](https://progress.opensuse.org/issues/40679): another ticket :https://progress.opensuse.org/issues/40679 
 We can choose first "raid" > "add raid", choose some disks and then create apply partitions on top to all of the whole array. them at once. But this is not really recommended, way seems to be unrelibale at the moment, and our tests are already using yet the good old [documented way](https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.expert_partitioner.html#sec.yast.system.raid). way](https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.expert_partitioner.html#sec.yast.system.raid) uses the first method. 


Back