Changes

Software RAID on Linux

738 bytes added, 13:51, 3 May 2019
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.== Software RAID on 3.x Linux===== 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 ==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.For the most part software RAID functions under linux now as it did ten years ago.  However, since the information in this section was collected over ten years ago it will be considered outdated.== Software RAID 1 Example ===== Software RAID 1 Example ===== Software RAID 5 Example ===== Software RAID 5 Example ===== (Q). Did everything load ok with RAID when I booted? ===== (Q). Did everything load ok with RAID when I booted? ===== (Q). Hows RAID doing now? or Has a drive died while its running? ===== (Q). Hows RAID doing now? or Has a drive died while its running? ===== (Q). What does it mean when I see "kicking hda1" or "kicking" whatever in the dmesg and RAID / the system will not start? ===== (Q). What does it mean when I see "kicking hda1" or "kicking" whatever in the dmesg and RAID / the system will not start? ===== (*). Useful command summary: ===== (*). Useful command summary: ===== (man). lsraid usage examples ===== (man). lsraid usage examples ===== Command Reference by Example ===== Command Reference by Example ===
Bureaucrat, administrator
16,192
edits