Migrating Physical Volume root to LVM

From Labrats.us
Jump to navigationJump to search

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


---- Insert non-formatted text here