Moving btrfs root volume

asked 2014-05-03 12:51:26 -0500

drahnr gravatar image

updated 2014-05-03 12:51:57 -0500

GPT > Partition2 > LUKS > btrfs

I need some additional space for my boot volume, so far I did:

  • Shrink my btrfs volume by 250MB. btrfs resize -250M /
  • Shrink the LUKS root volume cryptsetup resize --size sector_calc luks_mapper_desc_root

How to actually move the whole LUKS container back by 250MB? (without using a secondary disk, so I guess this excludes dd)

  • Future steps: Delete GPT Partition 2 and create one with the same start sector but less spanning sectors.
edit retag flag offensive close merge delete