![]() # echo check > /sys/block/md0/md/sync_actionĪs with many tasks/items relating to mdadm, the status of the scrub can be queried: Note: Depending on the size/configuration of the array, a scrub may take multiple hours to complete. To create partitions, see GPT fdisk#Create a partition table and partitions. Sda2 Primary linux_raid_m 2000.00 # /swap Sda1 Boot Primary linux_raid_m 200.00 # /boot ![]() We will use gdisk to create three partitions on each of the three hard drives (i.e. Additionally, if there is a problem with one boot partition, the boot loader can boot normally from the other two partitions in the /boot array. Any other level will prevent your system from booting. This is because GRUB does not have RAID drivers. The boot partition must be RAID1 i.e it cannot be striped (RAID0) or RAID5, RAID6, etc. The following example makes use of RAID1 and RAID5.Įach hard drive will have a 200 MiB /boot partition, 2048 MiB /swap partition, and a / partition that takes up the remainder of the disk. raid0, raid1, raid5, raid6, raid10) and LVM (i.e. Obtain the latest installation media and boot the Arch Linux installer as outlined in Getting and installing Arch. If you would like to use one of those boot loaders make sure to add the option -metadata=0.90 to the /boot array during RAID installation. GRUB Legacy, LILO) will not support any 1.x metadata versions, and instead require the older version, 0.90. Syslinux only supports version 1.0, and therefore requires the -metadata=1.0 option. 1.2) when combined with an initramfs, which has replaced in Arch Linux with mkinitcpio. GRUB supports the default style of metadata currently created by mdadm (i.e. GRUB when used in conjunction with GPT requires an additional BIOS boot partition. This tutorial will use Syslinux instead of GRUB. Creating the swap space on a separate array is not intended to provide additional redundancy, but instead, to prevent a corrupt swap space from rendering the system inoperable, which is more likely to happen when the swap space is located on the same partition as the root directory. Many tutorials treat the swap space differently, either by creating a separate RAID1 array or a LVM logical volume. ![]() Note: If you want extra performance, just let the kernel use distinct swap partitions as it does striping by default. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |