On Wed, 19 Feb 2003, Robert L. Harris wrote: > I currently have about 30 machines using raidtools and /etc/raidtab. > Does anyone have a script that will generate a complete mdadm conf > file based on a raidtab or output from mdadm --detail? While mdadm may Assuming the arrays are operational you could do something like: # echo "DEVICES /dev/sd*" > /etc/mdadm.conf # mdadm --detail --scan >> /etc/mdadm.conf Just adjust the first command so that it has the desired device set. -- Derek Vadala, derek@cynicism.com, http://www.cynicism.com/~derek - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html