Cloudbase-init side effects of auto-expander-play 5 minutes a day OpenStack (154)

Source: Internet
Author: User


This is the 4th chapter in the OpenStack implementation experience sharing series.


One feature of Cloudbase-init is the automatic expansion of Windows's C drive. For example, Windows mirroring is 20G, when deploying instance, the flavor disk definition is 40G, then cloudbase-init automatically expands the C drive to 40G instance deployment.


Cloudbase-init Auto-Expander This operation is what we need, but it has a side effect.

In Windows, we can divide the hard disk into multiple logical disks C:,D: etc., for example, 40G space, the user can give the C disk 20g,d disk 20G, but this for the installation of Cloudbase-init system will have problems. *

Each time the system starts, Cloudbase-init will merge the C and D disks into a C drive.


The solution to this problem is simple: unload the Cloudbase-initso that it is a normal windwos virtual machine. However, if you do a resize operation on instance in OpenStack, you can only expand the disk manually.

the recommended way is : The system disk only for the C drive, if you need D disk, E disk, by adding cinder volume implementation.

The following section discusses the usage techniques for Linux cloud-init.


650) this.width=650; "Src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20170222-1487717214801030450.png "title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20170222-1487717214801030450.png "alt=" two-dimensional code + fingerprint. png "/>

Cloudbase-init side effects of auto-expander-play 5 minutes a day OpenStack (154)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.