FG

btrfs shrink partition

Fresh3 days ago
Mar 15, 20265799 views
Confidence Score0%
0%

Problem

After shrinking a BTRFS file system using "btrfs filesystem resize /mnt -20g", this space doesn't show up as free for allocation in GParted. It doesn't seem like GParted can resize the btrfs partition on its own either. Rebooting doesn't help. The various ways to check freespace on a btrfs volume h…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: btrfs shrink partition

Low Risk

Thanks to help from cwillu and mig at freenode, I figured out the solution. The btrfs filesystem resize command just like resizes the filesystem, but keeps the partition limits unchanged. These can be changed using the to delete the btrfs partition …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment