btrfs¶
resize btrfs filesystem¶
to max:
by gb:
managing btrfs snapshots¶
you should use them more often, perhaps in combination with a a backup tool
snapshot utilities¶
- snapper - automatically create snapshots based on a configuration
- snap-sync - send snapshots to a target destination, another disk locally, ssh etc.
list snapshots¶
create a read only snapshot¶
sudo btrfs subvolume snapshot / /my_snapshot # root partition
sudo btrfs subvolume snapshot /mnt /mnt/my_snapshot # partition mounted at /mnt
delete btrfs snapshot¶
btrfs raid configuration¶
convert raid levels, from raid0 to raid1¶
raid1¶
with kernel version 5.5+ raid1c3
can be used for the metadata (-m
)