Even if I have been using btrfs for about ten year on many volumes on servers and some on personal devices the use I made of it as root even if on many servers and some other cases has always been without snapshots in production, while snapshots and management of subvolumes only for backup disks or data archives.
Recently I'm getting better informed and doing other tests because soon I will use btrfs on root and with snapshots seriously on my new workstation and I would like to use it also on proxmox roots.
In both cases given the limited support for subvolumes (in installation) both in proxmox and for ubuntu 24.04 and debian unstable that I will use on my workstation I will have to make manual additions/modifications outside what the installation supports.
So I think it's useful to have the opinion of other users too, especially those with more experience using root with snapshots.
Basically from what I have learned in using snapshots for years for other cases and the notable impact, especially if not managed well it seems quite clear to me that the more targeted they are and the more they exclude unnecessary parts the less their impact on space and possibly also on performance will be.
So besides the need to have the root in a subvolume and also a separate subvolume for /var/log, for debugging in case of rollback, I think it would be useful to have other subvolumes too.
Based on the research done at the moment, I think the essential sub-volumes could be:
- for / (the root)
- for /var/log: both to keep them for debugging in case of root rollback and for the numerous writes on them
- for btrfs-local (already present)
Further ones that may be useful:
- for /var/cache, /var/tmp and /tmp: contain temporary files and caches. With Debian 13 /tmp will be tmpfs and subvolume for it will be not needed anymore.
- /var/spool: even maybe not very useful in the case of proxmox which seems to me to be little used, I suppose it would help to maintain only a few rare emails and the impact on both space and performance would be minimal.
- /root and /home: I think they generally are not very used in Proxmox, but they could be useful anyway, especially if there is a significant use of them in some cases.
Can anyone give their advice and opinions?