Difference between revisions of "Migrating Physical Volume root to LVM"

From Labrats.us
Jump to navigationJump to search
(Created page with "== Expand hard drive == Assuming you are on VMware, you just shut down and increase the virtual hard drive size. You should know how to do this, so I won;t include it here....")
(No difference)

Revision as of 01:51, 22 August 2019

Expand hard drive

Assuming you are on VMware, you just shut down and increase the virtual hard drive size. You should know how to do this, so I won;t include it here. You may also be able to add a physical or virtual disk.

Create LVM Physical Volume

Using fdisk, add a new partition with type 8e. If possible, leave room between the end of the last existing partition and the new partition.

Using pvcreate, create the physical lvm volume.

  1. pvcreate /dev/sdb1

</code