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....") |
|||
Line 11: | Line 11: | ||
<code> | <code> | ||
# pvcreate /dev/sdb1 | # pvcreate /dev/sdb1 | ||
− | </code | + | </code> |
+ | |||
+ | |||
+ | <nowiki> | ||
+ | ---- | ||
+ | Insert non-formatted text here</nowiki> |
Revision as of 01:52, 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.
- pvcreate /dev/sdb1
----
Insert non-formatted text here