I would like to enlarge my encrypted LVM partition, because I gave my virtual machine Ubuntu 20.04 more hard disk space.
I tried to use Gparted, but it gave an error. I also tried the answer on How to expand an encrypted ubuntu partition with LVM, but
sudo lvresize -l +100%FREE /dev/ubuntu-vg/root doesn't work, because
/dev/ubuntu-vg/root doesn't exist.
How can I easily enlarge an encrypted partition?