1. Attach a 15GB disk into the vm

How to deploy a vm with lvm enabled_第1张图片

  1. Check if the data disk has been attached.

How to deploy a vm with lvm enabled_第2张图片

  1. Verify if the attached disk could be detected by fdisk -l command.

  1. Create new physical volume on the attached disk

How to deploy a vm with lvm enabled_第3张图片

  1. Create a vg in pv /dev/sdc

How to deploy a vm with lvm enabled_第4张图片

  1. Create a volume in the vg bruce_vg

How to deploy a vm with lvm enabled_第5张图片

  1. Create a file system on the volume

How to deploy a vm with lvm enabled_第6张图片

  1. Mount the file system

How to deploy a vm with lvm enabled_第7张图片

  1. Captured imge

How to deploy a vm with lvm enabled_第8张图片

  1. Deploy a new VM based on the p_w_picpath

How to deploy a vm with lvm enabled_第9张图片

  1. One the new vm you will see the lvm file systems, and you could mount it again or another point

How to deploy a vm with lvm enabled_第10张图片

How to deploy a vm with lvm enabled_第11张图片

  1. Two vms

How to deploy a vm with lvm enabled_第12张图片