since we have the option1 done, why continue with raid1 code? could we port write-behind to raid10 code? another thing, could raid10 work without replica? like a raid0? why? just to remove many files with the same function (raid1and raid0, if raid10 do the same work, many some mdadm changes allow us to --level=1 to understand that's raid10 without stripe, --level=0 is raid10 without mirrors) 2011/2/16 Roberto Spadim <roberto@xxxxxxxxxxxxx>: > hummm nice =) > near layout is the key for many mirrors? > i will check more layouts > > 2011/2/16 Robin Hill <robin@xxxxxxxxxxxxxxx>: >> On Wed Feb 16, 2011 at 10:40:40AM -0300, Roberto Spadim wrote: >> >>> i agree with giovanni, another question since we will make a lot of >>> change on mirrors based arrays (raid1, raid10) with the badblock list, >>> could we: >>> >>> option1) remove raid1 code, change raid10 to work without raid0 >>> 'service', change raid10 to work with more than 1mirror (like raid1 >>> do)? >>> option2) port raid10 layout to raid1? >>> >> You can already do option1 (if I'm understanding you correctly). A >> RAID10 array can use as many mirrors as you like (--layout n2 is the >> default, meaning a near layout with 2 replicas, using n4 would give 4 >> replicas), and as long as the number of replicas is equal to the number >> of devices, there should be no striping involved in the process. >> >> Cheers, >> Robin >> -- >> ___ >> ( ' } | Robin Hill <robin@xxxxxxxxxxxxxxx> | >> / / ) | Little Jim says .... | >> // !! | "He fallen in de water !!" | >> > > > > -- > Roberto Spadim > Spadim Technology / SPAEmpresarial > -- Roberto Spadim Spadim Technology / SPAEmpresarial -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html