Changes
From Free Knowledge Base- The DUCK Project: information for everyone
/* Software RAID on 3.x Linux */
The following lines were added (+) and removed (-):
[[Software RAID]] is performed via the Linux kernel. No RAID controller is required on the computer. If the computer has a Linux compatible RAID controller then hardware RAID can be used. [[Hardware RAID]] is not discussed here.mdadm is a Linux utility used to manage and monitor software RAID devices. It is used in modern GNU/Linux distributions in place of older software RAID utilities such as raidtools2 or raidtools. == Software RAID on 3.x Linux===== the /boot filesystem ===In the past the /boot filesystem must be used either without md support, or else with RAID1. With modern kernels the it is possible to load the MD support as a kernel module through the initramfs mechanism. This approach allows the /boot filesystem to be inside any RAID system without the need of a complex manual configuration. * In the past you couldn't put /boot inside the RAID array, now you can.So you have a couple options in order to have a setup where each drive can be bootable. One is to have a /boot partition on each drive, or the other involves having /boot within a RAID array.=== Mdadm ===The mdadm utility can be used to create and manage storage arrays. === Example: 3-way RAID-1 array ===The /boot partition is stored at /dev/md0. This installs GRUB to each disk, so that if one disk fails, you can boot off one of the other disks. # grub grub> find /grub/stage1 (hd0,0) (hd1,0) (hd2,0) grub> device (hd0) /dev/sda grub> root (hd0,0) grub> setup (hd0) grub> device (hd0) /dev/sdb grub> root (hd0,0) grub> setup (hd0) grub> device (hd0) /dev/sdc grub> root (hd0,0) grub> setup (hd0) grub> quit== Legacy Linux Software RAID ==