Thursday, October 05, 2006

Raidtools vs Mdadm

Ok, I don't know which setup is better. I know mdadm is the future but. One of the reasons for mdadm was to simplify setup, and to allow you to do all the work from the command line. I end up building a config file for mdadm so it behaves similar to mkraid. I have tried using the command line interface. But when its a production system and you need to rebuild the raid array with a quickness, its nice to script the whole recovery process. I can use either in a script, but when using mdadm from the command line I tend to go overboard. Here is an example.
mdadm --create /dev/md0 --level=raid0 --raid-devices=14 `ls /dev/sd* |grep -v a`

0 Comments:

Post a Comment

<< Home