![]() So you can just devote multiple ordinary (non-RAID) partitions to swap, and get the same effect. The Linux kernel already knows how to stripe several swap partitions. You can put swap on a RAID0 volume, but there doesn't seem to be any good reason to do so.To be on the safe side, it's recommended to create the partition based on an older metadata version, with the -metadata=0.90 parameter for the /boot partition. It's important to note that extlinux can't boot from partitions created with mdadm metadata version 1.2, which is the default.During the pre-init, bootloader phase, only one of those partitions will be used (and it will be mounted read-only). That way, when you write a new kernel or bootloader config file to /boot, it gets written to multiple physical partitions. That can be a mirrored (RAID1) volume, however this is just for post-init access. Grub2 can handle /boot being on LVM.) The usual practice is to create a small (32-100 MB) partition for /boot. ![]() (Alpine's default bootloader extlinux can't handle either. Your /boot partition should either not be on RAID, or else be on a RAID1 array, with no further layers of encryption or LVM.Here is an explanation of their differences. The data will be preserved as long as any two of the three devices continue to work. RAID5 is similar to RAID1, but it uses three devices and provides the space of two of them.Then if one of the devices fails, the data will still be available on the other. RAID1 "mirrors" writes to two devices, for improved safety. ![]() (That is, your hardware may read from, or write different data to, multiple devices in parallel.) A "device" here is usually a partition of a hard drive. Reads and writes are "striped" between the drives for speed improvements. RAID0 essentially just glues two devices together, making a larger virtual drive. ![]() There are several "levels" of RAID to choose between: See Setting up disks manually for more details about doing any of that. It's possible to have one's system root /, or /var, or swap, or even one's /boot, on a RAID array. Only RAID for arbitrary storage is covered here. These instructions discuss only the last form of RAID. There are various forms of RAID: via a hardware RAID controller, "fake RAID", and "software RAID" using mdadm, which is Linux-only. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |