Recommended Partitioning & Subvolume Layout | Newbie Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.
I wonder how to partition my Disks when I want to use btrfs in a RAID 1 configuration. I have /dev/sda1 and /dev/sdb1 for UEFI/ESP (no btrfs) and think about using just 1 more GPT-Partition on each disk /dev/sd[a|b]2 for btrfs. I am planing to create a btrfs-RAID 1 on those two partitions.


This is what the wiki says about partitioning:
Do it the old fashioned way, and create a number of partitions according to your needs? Or create one big btrfs partition and use subvolumes where you would normally create different partitions?

What are the considerations for doing it either way?

My use case is a KVM Host running Arch Linux with 3-4 Virtual Machines. I want to have the ability to take snapshots when my system will be updated to restore a running system if something is broken by the update. I read about the mount option which disables CoW for database and VM images.

About the subvolume layout and partitioning I am unsure even I read the wiki. What do people familar with btrfs recommend for such setup?

Thanks,
Steffi



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux