Re: Using mdadm.conf to create arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 7 Mar 2003, Rechenberg, Andrew wrote:

> With raidtools I can create the conf file and then do an 'mkraid
> /dev/md[0-9]' and that will create those ten arrays.  Is there a way to
> accomplish something similar with mdadm and mdadm.conf?

I don't think mdadm has the functionality you're looking for. Maybe I'm
missing something, but why not just create a shell script to create the
arrays? Surely some substitutions and regex's in vi to build mdadm -C
commands would be simpler than creating a config file. Perhaps if you
explained what you're trying to do a little bit more...

--
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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux