Skip to contentSkip to conversation

mkraid to mdadm conversion?

DISCUSSION Herta Van den Eynde 2 participants 2 messages May 7, 2003 MD RAID

lore
Share & tools
lore
#0 lore raw

I'm fairly new to sw raid on linux, and may not have found all relevant pieces of information, so feel free to point me to the right doc.

First of all, is there any documentation on mdadm other than the man pages? I currently have 2 systems with raid devices set up using the mkraid, and would like to know what I'd need to do to convert them to mdadm.

Kind regards,

Herta

#1 lore raw
Quoted 3 lines · Herta Van den Eynde

First of all, is there any documentation on mdadm other than the man pages? I currently have 2 systems with raid devices set up using the mkraid, and would like to know what I'd need to do to convert them to mdadm.

The man pages (and supporting docs) are comprehensive. If you are not finding something in the man page for madm try looking at the manual pages for mdadm.conf(5) and md(4). You might also want to look in /usr/share/doc/mdadm for some additional info.

There's also this O'Reilly Network article (*cough*):
http://linux.oreillynet.com/pub/a/linux/2002/12/05/RAID.html

You don't need to 'convert' your arrays. You can just begin using mdadm to manage existing arrays, assuming you are working with current versions of all the tools and the md driver. Simply stop using raidtools and /etc/raidtab. If your arrays are not set to autostart, you will have to edit your init scripts to call mdadm and activate arrays much in the same way that raidstart would have been called.

The best place for you to start is looking at how to generate an /etc/mdadm.conf from your existing arrays. This is well docummented in the texts cited above.

--
Derek Vadala, [email protected], http://www.cynicism.com/~derek