[Centos] md0/fstab

Tue Feb 15 20:40:22 UTC 2005
Michael Best <mbest at pendragon.org>

I create all raid arrays with mdadm now, it defaults to persistent 
superblocks as well.

Something like:

mdadm -C /dev/md0 -n 2 -l 1 /dev/sd[cd]2
mkfs.ext3 -L/home /dev/md0

There is an mdadm.conf file, but it is mostly used for the mdmonitor 
functionality of mdadm.

-Mike

Christian Nygaard wrote:
> It was created after installation 
> 
> # vi /etc/raidtab
> # fdisk /dev/sdc2
> # fdisk /dev/sdd2
> # mkraid -R /dev/md0
> # mkfs -j /dev/md0 
> # e2label /home /dev/md0