標籤:enabled
-
Attach a 15GB disk into the vm
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/84/2E/wKioL1eHzGvhATmnAADm7rY5nHk274.png" />
-
Check if the data disk has been attached.
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/84/2E/wKioL1eHzGzBtfscAABEVGIZMLo637.png" />
-
Verify if the attached disk could be detected by fdisk -l command.
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/84/2F/wKiom1eHzGzRNc92AACRfgIfoyQ234.png" />
-
Create new physical volume on the attached disk
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/84/2F/wKiom1eHzGywGoUlAADI1goEC9I667.png" />
-
Create a vg in pv /dev/sdc
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/84/2E/wKioL1eHzGywXhibAAEZQZHVpX8184.png" />
-
Create a volume in the vg bruce_vg
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/84/2E/wKioL1eHzG3SSDf1AAEesKXQ3o0582.png" />
-
Create a file system on the volume
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/84/2F/wKiom1eHzG2yn2L0AAENMvUkbLU785.png" />
-
Mount the file system
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/84/2F/wKiom1eHzG2TAAjHAADuzOezSbQ281.png" />
-
Captured imge
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/84/2E/wKioL1eHzG3wSUmYAABBAFwC6WQ956.png" />
-
Deploy a new VM based on the image
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/84/2E/wKioL1eHzG7SDIODAAA7EB7dzvc546.png" />
-
One the new vm you will see the lvm file systems, and you could mount it again or another point
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/84/2F/wKiom1eHzG7SNY5cAADNG6e20F0647.png" />
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/84/2F/wKiom1eHzG7CeXv5AADC7apv9As739.png" />
-
Two vms
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/84/2E/wKioL1eHzG7CSSptAAEc4w3iai8739.png" />
How to deploy a vm with lvm enabled