Migrating Physical Volume root to LVM

From Labrats.us
Revision as of 01:51, 22 August 2019 by Sfiggins (talk | contribs) (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....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

</code