btrfs subvolumes

anonymous_user0414

New Member
Nov 15, 2022
28
3
3
I have installed pve as btrfs raid1 and

don't understand why only the subvolume btrfs-local exists and not the complete root as / subvolume.

With this it is not possible to make snapshots of / ...

can someone please explain this to me?
 
Old thread with no answer so my2cents...
Because apparently they favour zfs or simply don't know how to setup a decent subvol structure !
See also the debian installer no decent structure either....
 
Actually, I'm using btrfs for the root and not for vm disks (for them I use lvmthin instead). I use for integrity and autorepair (with raid1) and in the future (shortly) also possible snapshot of the root for faster "rollback" in case of serious issue after system upgrade.

For the root part I also think it would be useful to have the root in a separate subvolume and for another thing that I know for now that it could be useful to have in a separate subvolume also /var/log so that you can take snapshots of the root without including local-btrfs and without the logs (both for less writing on the snapshots and occupied space and in case of restoring the root keep the logs is useful for debugging).
Are there any other sub-volumes that you think would be useful to have?

I saw that developers added compression support for btrfs in the installer (configurable) for the next version (from fast look to pve-installer git), another useful thing, maybe by reporting well what could be useful for the sub-volumes so they could improve that part too
 
  • Like
Reactions: intrax
Great idea as I'm a big btrfs fan!
I have only created a separate @home subvol, but your idea makes a lot of sense.
Could you share your subvolume structure?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!