- Attach a 15GB disk into the vm
- Check if the data disk has been attached.
- Verify if the attached disk could be detected by fdisk -l command.
- Create new physical volume on the attached disk
- Create a vg in pv /dev/sdc
- Create a volume in the vg bruce_vg
- Create a file system on the volume
- Mount the file system
- Captured imge
- Deploy a new VM based on the image
- One the new vm you will see the lvm file systems, and you could mount it again or another point
- Two vms
时间: 2024-10-12 22:56:19