formatting before md device creation in RAID5

Posted by kumar on Server Fault See other posts from Server Fault or by kumar
Published on 2011-06-30T07:03:03Z Indexed on 2011/06/30 8:24 UTC
Read the original article Hit count: 329

Filed under:
|
|

consider you are creating a raid5 device with three drives.

mdadm --create /dev/md0 --leve=5 --raid-disk=3 /dev/sda1 /dev/sdb1 /dev/sdc1

After issuing this command , I can see the progress of md device creating using cat /proc/mdstat.

During the progress ITSELF, can I create a file ssytem partition say ext2 on md0 device like: mkfs.ext2 /dev/md0.

Actually I am able to create this and want to confirm whether doing this before 100% completion of md device creation is CORRECT?

© Server Fault or respective owner

Related posts about linux

Related posts about raid