How to deploy a vm with lvm enabled

來源:互聯網
上載者:User

標籤:enabled

  1. Attach a 15GB disk into the vm

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/84/2E/wKioL1eHzGvhATmnAADm7rY5nHk274.png" />

  1. Check if the data disk has been attached.

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/84/2E/wKioL1eHzGzBtfscAABEVGIZMLo637.png" />

  1. 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" />

  1. Create new physical volume on the attached disk

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/84/2F/wKiom1eHzGywGoUlAADI1goEC9I667.png" />

  1. Create a vg in pv /dev/sdc

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/84/2E/wKioL1eHzGywXhibAAEZQZHVpX8184.png" />

  1. Create a volume in the vg bruce_vg

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/84/2E/wKioL1eHzG3SSDf1AAEesKXQ3o0582.png" />

  1. Create a file system on the volume

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/84/2F/wKiom1eHzG2yn2L0AAENMvUkbLU785.png" />

  1. Mount the file system

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/84/2F/wKiom1eHzG2TAAjHAADuzOezSbQ281.png" />

  1. Captured imge

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/84/2E/wKioL1eHzG3wSUmYAABBAFwC6WQ956.png" />

  1. Deploy a new VM based on the image

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/84/2E/wKioL1eHzG7SDIODAAA7EB7dzvc546.png" />

  1. 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" />

  1. 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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.