I am currently in process of moving fomr ext4 filesystem to btrfs.
I have the following on a raspberry pi server
The fdisk -l /dev/mmcblk0
/dev/mmcblk0p1 2048 1050623 1048576 512M c W95 FAT32 (LBA)
/dev/mmcblk0p2 1050624 58327039 57276416 27.3G 83 Linux
/dev/mmcblk0p3 58327040 62521343 4194304 2G 82 Linux swap / Solaris
partition 1 is vfat
partition 2 is btrfs
This will go on a SSD nvme drive after the test phase is complete.
It is currently booting and functioning is good.
BTRFS top level:
Container subvolume
Home subvolume
Root subvolume
Snapshot
DNS-2025-10-23
PiHole-2025-10-26
Snapshot volumes are from Container
DNS-2025-10-23 has base and bind installed
PiHole-2025-10-26 has base and pi hole installed
I mount DNS-2025-10-23 to /var/lib/machines/DNS and
I mount PiHole-2025-10-26 /var/lib/machines/PiHole
They are mounted in /etc/fstab and I start them on boot
machinectl enable DNS
machinectl enable PiHole
I dedup them by mounting the top level to /mnt
and running
duperemove -r -d /mnt
I am planning to change the layout so it would be like this
Root subvolume
Home subvolume
DNS subvolume
PiHole subvolume
then dedup?
Also what are the issues when updating (pacman -Syu) on each subvolume
then dedup.
Is there anything I need to watch out for?
--
Hindi madali ang maging ako