But that means user can not create desired volume during instance set-up. If we would like to have, for example, VM with disk offers from 5-100Gb I need to create dozen of same templates that differ only at root size.
Vadim. -----Original Message----- From: Andrija Panic [mailto:[email protected]] Sent: Monday, December 01, 2014 11:06 AM To: [email protected] Subject: Re: root resize support in the UI Exactly, there may be more than 1 partion on that 1 drive.. So just increase disk size, and let administaror handle the "inside VM" job On 1 December 2014 at 09:34, Erik Weber <[email protected]> wrote: > On Mon, Dec 1, 2014 at 9:23 AM, Vadim Kimlaychuk < > [email protected]> > wrote: > > > I have done root partition resize under XenServer exactly as you > described > > - resized drive and then using system tools on guest VM like fdisk, > > lvextend and ext2resize changed the size of the root. It seems that > drive > > resize on hypervisor level is all that is needed, because it is far > > too complicated for hypervisor to be aware of all different types of > partition > > layouts and file systems that might exist. Then upper layer (like > > CS) may take role of implementing different actions according to > > guest type and file system that have being used for particular > > guest. While OS type can be taken from template, FS type and > > partition type is information that is not stored in the database. Without > > it implementation is not feasible. > > > > It's not given that you want to resize a partition or which one, just > because you resize the disk. > > Thus it's not feasible to assume that the orchestration layer should > be capable of doing it. > > -- > Erik > -- Andrija Panić
