Operation:

  • sudo vgs: ubuntu-vg 1 1 0 wz--n- 462.69g 362.69g
  • df -T / : /dev/mapper/ubuntu--vg-ubuntu--lv ext4 102626232 24338224 73028744 25% /
  • sudo lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv
  • sudo resize2fs /dev/ubuntu-vg/ubuntu-lv

Never did this before on an encrypted drive. Is this the proper procedure? Obviously a complete image back up is in order, however, are there any gotchas, caveats, pitfalls that I should be aware of before proceeding?

  • irmadlad@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 hours ago

    Is the LUKS volume created right on the disk on a raw partition?

    Yes. I’m sorry for the confusion and incomplete info. I’m flying a little blind here. The first two commands in the OP were to check what I have, and the last two were to extend the LUKS and then the filesystem.

    • themachine@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 hours ago

      I saw in another comment your lsblk output and yes I see the LUKS partition spans the whole disk.

      So yes, the commands you listed should be sufficient. It will extend the decrypted logical volume to use the remaining free space of your volume group.