XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Increasing the disk size of vmguest without shuting down

    Scheduled Pinned Locked Moved Xen Orchestra
    10 Posts 5 Posters 4.5k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      ashinobi
      last edited by

      Hi, Everyone.

      Just need your help why can't I increase the a vmguest disk capacity without shutting the vm down? When I tried to increase it, it says VDI in use. Is this the default behaviour?

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi,

        You can't grow a VDI size while it's used.

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          ashinobi @olivierlambert
          last edited by ashinobi

          @olivierlambert

          Thanks for the response, would it be possible to add this as an additional feature of xen orchestra in the future?

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by olivierlambert

            It's due to the current storage stack (SMAPIv1). So it's not a Xen Orchestra feature.

            However, in SMAPIv3, that would be likely possible, depending on the specific storage driver (ZFS, LVM or other). So let's say "likely" in the future 🙂

            Read this for an overview: https://xcp-ng.org/blog/2022/06/02/understanding-the-storage-stack-in-xcp-ng/

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              ashinobi @olivierlambert
              last edited by

              @olivierlambert

              Thank you for the info and congrats as well to you and your team. I read Vates has new office. I hope Vates and XCP-NG grows more bigger in the near future.

              K 1 Reply Last reply Reply Quote 0
              • K Offline
                KPS Top contributor @ashinobi
                last edited by

                Hi!

                As this is something, I have to do quite often: Would it be possible to have a feature: resize on next reboot?

                tjkreidlT 1 Reply Last reply Reply Quote 1
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by

                  Resize on next reboot is probably doable via XO itself 🤔 That's an interesting feature, I wonder how hard to develop it 🤔

                  Any opinion @MathieuRA ?

                  1 Reply Last reply Reply Quote 1
                  • tjkreidlT Offline
                    tjkreidl Ambassador @KPS
                    last edited by tjkreidl

                    @KPS You could put in a task list in the local startup script. See various options here: https://www.baeldung.com/linux/run-script-on-startup

                    1 Reply Last reply Reply Quote 1
                    • MathieuRAM Offline
                      MathieuRA Vates 🪐 XO Team
                      last edited by

                      Hi,
                      Since XO is a client, I don't think it's a good idea to have this kind of feature. In this case, a VM could be restarted from sources other than XO, and would not apply the new VDI size.

                      However, I believe we can handle this situation by implementing a modal that appears when editing the VDI size of a running VM. This modal can offer the option to restart the VM immediately and apply the changes. In my opinion, removing the "pending" state will prevent confusion

                      olivierlambertO 1 Reply Last reply Reply Quote 2
                      • olivierlambertO Offline
                        olivierlambert Vates 🪐 Co-Founder CEO @MathieuRA
                        last edited by

                        @MathieuRA Indeed, that's the right way to do it, I think 🙂

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post