Skip to content

Instantly share code, notes, and snippets.

@onvrb
Created April 14, 2022 21:36
Show Gist options
  • Save onvrb/f264ef29c17aa332173a3bbde9d3b4aa to your computer and use it in GitHub Desktop.
Save onvrb/f264ef29c17aa332173a3bbde9d3b4aa to your computer and use it in GitHub Desktop.
extend your luks encrypted btrfs

Extend luks encrypted btrfs

  • cfdisk to resize your desired partition. write then quit.
  • cryptsetup resize luks-***... (your luks partition commonly located in /dev/mapper/luks-***...)
  • btrfs filesystem resize max / use max or whatever custom size you want done. reboot not necessary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment