Bart Heungens's picture

Hi,

I have deployed the Wordpress TKL as a VM on VMware. Works great since a long time.

Now I see the free space becoming too low after some years due to all media inside Wordpress.

What do I need to do to grow the capacity of the TKL VM appliance? On VMware side I have grown the size of the VMDK file but what do I need to do to grow the space inside Linux?

Kr,

Bart

Forum: 
badco's picture

Im not familiar with VMWare and how it works, but have a look at resizefs, it might do what you need.

 

Just remember to do a backup of the VM first :)

Bart Heungens's picture

I am not the Linux expert, where do I need to run resizefs inside the TKL server?

badco's picture

You don't need to be a linux expert, you just have to know what to look for.

Try this:

https://jmorano.moretrix.com/2012/03/resize-lvm-partition-debian-vmware-vm/

Bart Heungens's picture

Thanks for pointing me in the right way. Found another webpage that gave me the exact procedure to follow on this TKL machine

https://www.ryadel.com/en/resize-extend-disk-partition-unallocated-disk-...

Worked great!

Jeremy Davis's picture

It sounds like you guys are all over it, but FWIW we have a (very dated but still relevant) blog post that steps through the a couple of possible pathways to increase root volume.

https://www.turnkeylinux.org/blog/extending-lvm

Bart Heungens's picture

Great article, added it to my bookmarks... Thanks!

Add new comment