RAID1 array for our home theater. LVM + md + ZFS or XFS

 We built an 11 TB RAID1 array on an Archlinux system with five big hard drives.   We used btrfs.   It was easy to add drives when the file system was empty.   But when it was 80% full, it couldn't add drives any more.   This seems to be a bug with btrfs that nobody wants to talk about.


I will build a replacement array on Debian Buster or Bullseye, using the traditional Linux software RAID which is known to scale successfully to dozens of drives.   We will back up the 9 TB of content and wipe the old drives.   Or at least the first 1GB.   We will build the new array on the old drives

  • ZFS   snapshots

The new array will use pairs of partitions configured RAID1 for fault tolerant physical volumes.   All the physical volumes will be combined in one volume group.    A single ZFS file system will be built on that volume group.   


That's enough new stuff that I want to practice on spare drives first.   The functions we need to know how to do are:

  1.   construct a physical volume RAID1 pair
  2.   fail one drive, remove it, and replace it.
  3.   create a logical volume with 1 physical volume. 
  4.   Build an ZFS on it.   fill it with test data.
  5.   add another physical volume to the logical volume.
  6.   Grow the ZFS
We have ten test drives.   128 GB or larger.  Use all ten for the test.   

Comments

Popular posts from this blog

Software product web sites suck.