On Thu, 2008-10-30 at 12:46 +1100, Neil Brown wrote: > So if the name "/dev/md0" is given in mdadm.conf, we can only create a > non-partitioned array. But what do we do if 'autof' suggests that a > partitioned array should be created (auto=mdp4)? With my patch that would have thrown a config error. > I think that if the "auto=mdp4" was on the ARRAY line, then we want to > reject that as a config error. But if the auto=mdp4 was on the > command line or the CREATE line, then the device name over-rides. > Does that seem reasonable? Sure. > That makes me wonder if we have the precedence order of auto= right. > Maybe the ARRAY line should override as it is specific to the array. > Then the command line is next important. Then the CREATE is the last > default. I think that is different to the order that you had. > Is there some particular reason that you though the command line > should override in the --incremental case? Truly, I had forgotten my changes were going to be --incremental specific and instead was thinking to myself "Gee, if someone wants to assemble an array differently than normal, then let them go ahead by specifying what they want on the command line" when that line of thought would obviously apply to assemble mode, not incremental mode. Maybe it's because I was running incremental manually to test all this that this thinko slipped by ;-) > Thanks, > NeilBrown > -- > 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 -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: CFBFF194 http://people.redhat.com/dledford Infiniband specific RPMs available at http://people.redhat.com/dledford/Infiniband
Attachment:
signature.asc
Description: This is a digitally signed message part