Skip to content

Instantly share code, notes, and snippets.

@clockfort
Last active December 22, 2015 08:48
Show Gist options
  • Save clockfort/6447201 to your computer and use it in GitHub Desktop.
Save clockfort/6447201 to your computer and use it in GitHub Desktop.
wtf btrfs resize my filesystem
root@jolt ~# btrfs fi df /mnt/clockfort
Data: total=6.34TB, used=6.34TB
System, DUP: total=32.00MB, used=768.00KB
System: total=4.00MB, used=0.00
Metadata, DUP: total=38.00GB, used=14.75GB
root@jolt ~# btrfs fi resize max /mnt/clockfort/ && dmesg | tail -n 1
Resize '/mnt/clockfort/' of 'max'
btrfs: new size for /dev/mapper/vg_raid6_array-lv_clockfort is 8796093022208
root@jolt ~# btrfs fi df /mnt/clockfort
Data: total=6.34TB, used=6.34TB
System, DUP: total=32.00MB, used=768.00KB
System: total=4.00MB, used=0.00
Metadata, DUP: total=38.00GB, used=14.75GB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment