I am RAIDing due to the desire to avoid as I can single point failures in my system. I know the RAID is not a true backup, that it halves the available memory, that it doubles overall wear and tear, and it negatively affects performance a bit. Nevertheless my decision is to RAID, so please avoid comments on why I would want to, and just help me do it.
I have a pair (two) of 12 TB disk drives, and another pair of 2 TB NVME M.2 SSD drives. I intend to RAID together each pair of disk drives. The RAID for both is to be RAID 1 Mirror. I intend that the SSD drives function as a cache for the disk drives using either bcache, or lvcache. I have 128 GiB ram.
The processor is an AMD Rhyzen 9, in a "Asus ROG Crosshair VIII Dark Hero ATX AM4 Motherboard". I understand that AMD hardware RAID is no good. So I seek to software RAID using btrfs in Pop!_OS 21.10 (an Ubuntu based OS). There is this webpage about how to do this RAID:
https://mutschler.eu/linux/install-guides/pop-os-btrfs-raid1-20-04/
My questions:
I have a pair (two) of 12 TB disk drives, and another pair of 2 TB NVME M.2 SSD drives. I intend to RAID together each pair of disk drives. The RAID for both is to be RAID 1 Mirror. I intend that the SSD drives function as a cache for the disk drives using either bcache, or lvcache. I have 128 GiB ram.
The processor is an AMD Rhyzen 9, in a "Asus ROG Crosshair VIII Dark Hero ATX AM4 Motherboard". I understand that AMD hardware RAID is no good. So I seek to software RAID using btrfs in Pop!_OS 21.10 (an Ubuntu based OS). There is this webpage about how to do this RAID:
https://mutschler.eu/linux/install-guides/pop-os-btrfs-raid1-20-04/
My questions:
- How would these instructions on the webpage be altered to accommodate the two RAIDed drive pairs instead of just one?
- What would be an appropriate size swap partition size? Since the encrypted swap partition is to be used for RAM memory overflow, my guess is it should be at least as large as the RAM. The intended use is video editing, heavy (memory wise) 3D editing using Blender, and combat in Second Life.
- Can the encrypted swap partition's size be increased later?
- Since this is a partition, and not a file, what happens should the swap partition become filled up during heavy usage? Would there be a crash?
- Are bcache, and lvcache, set up after installation, or must it be done during installation just as RAIDing must be?
Last edited: