On 2/14/06, Ranjan Gupta <[EMAIL PROTECTED]> wrote: > > mdadm --run /dev/md? returns the following error > mdadm: failed to run array /dev/md0: Invalid argument > > The script need to use mdadm --assemble and needs to provlde the > configuration file /etc/mdadm.conf. > > Also I am not sure why this script is named Raid1 since it can handle all > types of raids (raid0,raid1,raid5 and raid10 etc). > > Following is the patch to support Raid1 on systems which uses mdadm > utility. Also added an example similar to raidtools.
Thanks, your patch (with some other changes) has been put in cvs. As for the reason why it's named Raid1, my guess is that the original author did not expect people to use it for other purposes, due to the complication of other raid levels compared with raid1... > > > Thanks > Ranjan > _______________________________________________________ > Linux-HA-Dev: [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ > > > > -- Thanks & regards Xun Sun _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
