This site uses cookies. By continuing, your consent is assumed. Learn more

146.6fm shares

Lvm resize root partition online dating

opinion

This post will cover how to increase the disk space for a VMware virtual machine running Linux that is using logical volume manager LVM. Firstly we will add a new disk to the virtual machine and then extend the original LVM over this additional space. Basically we will have two physical disks but just one volume group and one logical group that is using the space on both disks together.

With this method there is no down time for the virtual machine. As there are a number of different ways to increase disk space I have also posted some different methods here:. Be very careful when working with the commands in this article as they have the potential to cause a lot of damage to your data.

If you are working with virtual machines make sure you take a snapshot of your virtual machine beforehand, or otherwise have some other form of up to date backup before proceeding.

It could also be worth cloning the virtual machine first and testing out this method on the clone. Throughout my examples I will be working with a VMware virtual machine running Debian 6, this was set up with a 20gb disk and we will be adding a new 20gb disk for a total LVM size of 40gb.

Although my examples make use of virtual machines, this method would work Lvm resize root partition online dating a physical server as well if you have added a new physical disk in and want to use that to expand the LVM. As this method focuses on working with LVM, we will first confirm that our partition type is actually Linux LVM Lvm resize root partition online dating running the below command.