NavigationGeek Stuff
Current Projects
Newest RecipesSearch |
Create Raid-5 Set using md devices in LinuxIn order to create a raid-5 set in Linux, you can do the following: 1. Create partitions using fdisk or parted on your disks. For Raid-5, you need at least 3. If you create the partitions with the type of 0xfd, you don't need to create a mdadm.conf file. mdadm -A -s is ran on system startup and automagically finds these things. 3. Add the following lines to /etc/mdadm.conf: DEVICE /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1 4. Use mdadm -As to start up all arrays, use 'cat /dev/mdstat' to give status of current known arrays. 5. Partition /dev/md0, and mount it. Helpful commands: mdadm -Ds - shows arrays
|