0

I added more space to my Ubuntu VM through vSphere (to 1TB). Then, I used GParted from Ubuntu live CD to expand sda2, and sda5. But when I do lsblk my root partition (--vg-root(dm-0)) is still the same (345.7G) instead of ~1020G. But I can see the "parent" sd5 as ~1TB.

How can I expand the --vg-root (dm-0)?

I still have a snapshot that I can go back to if needed.

Thanks,

1 Answer 1

0

I was able to expand it using lvextend -L +XG /dev/HOSTNAME-vg/root

As seen here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.