Resize a btrfs filesystem/device (Wiki)
When resizing a filesystem, you also need to resize the partition(device) it is on. With gparted you cannot resize a partition that is mounted ! So you need to unmount it beforehand, or use a live-manjaro from USB to resize the partition and the filesystem.
When resizing existing filesystems it is strongly advisable to be im possession of actual backups. This said, resizing is easily possible when using gparted.
shrink
You must be aware, that you can shrink a filesystem only securely if it is not too full. Shrinking a filesystem may take a long time because btrfs needs to move all data that is located in the area to be freed, into the remaining area. Using gparted is save to shrink a btrfs filesystem.
- Select the partition
- Select “Partition/Size change”
- Apply
gparted will take all necessary steps like:
- mount filesystem
- shrink filesystem (so it later will fit exactly into the partition)
- umount filesystem
- shrink partition
expand
Using gparted is save to expand a btrfs filesystem. It will take all necessary steps like:
- expand partition
- mount filesystem
- expand filesystem (to the max of the partition)
- umount filesystem
If a btrfs volume consists of several devices (partitions). The resizing-operation is performed on each device in a separate step.
If you think this needs corrections … (but please stay on topic)