RAID with BTRFS: a practical introduction
Channel: Solve Computer Science
Date: 23/08/2023

In this video I show you an overview of how the RAID 1 level works in BTRFS. We'll see some of the basic operations such as creating, expanding and shrinking a RAID 1 array.

Using the embedded RAID levels of BTRFS is different from mdadm: there are pros and cons. Watch the video to learn more!

LINKS

- How much free space do I have?: https://archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/FAQ.html#How_much_free_space_do_I_have.3F
- Welcome to BTRFS documentation!: https://btrfs.readthedocs.io/en/latest/index.html

CHAPTERS

0:00 Intro
0:10 Pros and cons of BTRFS RAID arrays
0:36 Comparison of BTRFS RAID levels with mdadm
0:49 BTRFS RAID 1 introduction
1:07 BTRFS RAID 1 and RAID 1 + 0
1:21 Command to format a partition with BTRFS and checksumming algorithms
1:59 Creating and formatting the partitions
2:23 Mount options to improve performance
2:34 The balance operation
2:55 Playing around
3:16 Creating two more partitions to be added to the RAID array
4:12 Adding a new file and checking the space
4:33 Removing RAID array members
5:08 Checking that we have only two devices in the array after removing the other two and computing the checksum of the first file
5:26 Final considerations
5:38 Outtro

#btrfs #raid #linux #solvecomputerscience