I've came up with a problema, let me explain it:

I have an Ubuntu 12 LTS virtualized on Hyper-V, initially it had 20Gb of asigned virtual disk but now I'm almost runing out of space so I've increased the virtual disk to 60Gb used parted magic to resize the 20 Gb partition to 60Gb partition but as I see on volumes manager it shows me that / partition is only 20 Gb so I'm wondering how to make it bigger given that / is part of an lvm group.

enter image description here

resize2fs /dev/mapper/x

Next time you could rather use the lvm-extend:

lvm-extend -r /dev/mapper/x

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.