User:Txnintn: Difference between revisions

From Alpine Linux
(Title: Alpine Linux install: LVM over Raid1 with a Micro SD spare.)
 
mNo edit summary
Line 2: Line 2:


Alpine Linux setup-alpine scripts when executed with two disks and the install medium, if both disks are selected, i.e., sda and sdb, the script will automatically configure a RAID1 installation.
Alpine Linux setup-alpine scripts when executed with two disks and the install medium, if both disks are selected, i.e., sda and sdb, the script will automatically configure a RAID1 installation.
Additionally, LVM with a 'sys' install can be selected during the setup-alpine script.
The Raspberry Pi requires fat 16 / 32 boot partition with boot and LBA flags enabled.  The Raspberry PI will boot from either a USB or a Micro SD port. By having a Micro SD RAID1 spare, if the primary USB drive fails the Micro SD should be able to boot the system.  LVM requires the Micro SD spare partition to be the same size as USB RAID1 partitions.  A larger capacity Micro SD drive 2nd partition can easily resized to match the USB partition.  During the install the setup-alpine script will maximize the size of 2nd partition on RAID1 drives.

Revision as of 19:13, 1 July 2023

Title: Alpine Linux install: LVM over Raid1 with a Micro SD spare.

Alpine Linux setup-alpine scripts when executed with two disks and the install medium, if both disks are selected, i.e., sda and sdb, the script will automatically configure a RAID1 installation.

Additionally, LVM with a 'sys' install can be selected during the setup-alpine script.

The Raspberry Pi requires fat 16 / 32 boot partition with boot and LBA flags enabled. The Raspberry PI will boot from either a USB or a Micro SD port. By having a Micro SD RAID1 spare, if the primary USB drive fails the Micro SD should be able to boot the system. LVM requires the Micro SD spare partition to be the same size as USB RAID1 partitions. A larger capacity Micro SD drive 2nd partition can easily resized to match the USB partition. During the install the setup-alpine script will maximize the size of 2nd partition on RAID1 drives.