Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-9670

cannot online resize volume attached on running VM

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 4.5.1, 4.9.2.0, 4.9.0.1
    • None
    • API, Cloudmonkey, Volumes, XenServer
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • Cloudstack 4.9.2.0
      XenServer 6.5SP1

    Description

      Dear CS Contributors

      xenserver support online resize with this xapi call:
      xe vdi-resize uuid=<VDI UUID> online=true disk-size=<NEW SIZE>

      cf. http://discussions.citrix.com/topic/293389-resize-a-xenserver-windows-vm-virtual-disk-without-shutdown/

      Cloudstack should use this instead of showing the error:
      "The VM must be stopped or the disk detached in order to resize with the XenServer Hypervisor.";

      cf. https://github.com/apache/cloudstack/blob/master/server/src/com/cloud/storage/VolumeApiServiceImpl.java#L1119

      Best Regards
      Francois Scheurer

      Attachments

        Activity

          People

            rafaelweingartner Rafael Weingärtner
            francois.scheurer Francois Scheurer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: