ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    VMWare Cloning to Change Disk Provisioning - How Painful is It?

    IT Discussion
    vmware virtual disks
    6
    13
    2.7k
    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.
    • NetworkNerdN
      NetworkNerd
      last edited by

      I have 3 ESXi hosts with all local storage, and each is OBR10. On one host in particular, storage space is at a premium. In my early days with VMWare I setup thick provisioning on a particular VM and provisioned WAY too much space for it in the beginning. This happens to be the Solidworks ePDM server we use in our environment. It does run SQL, but even so, there is probably 300 - 400 GB of free space to be freed by either changing to thin provisioning or just shrinking the size of the vHD. The only way I know to do this is by cloning the VM and changing the provisioning or just sticking with thick provisioning and not allocating so much space this time.

      How painful is this to do? I have not done it but have seen some articles online about it and just wanted to ask for others to share their experiences in the matter.

      NetworkNerdN 1 Reply Last reply Reply Quote 0
      • NetworkNerdN
        NetworkNerd @NetworkNerd
        last edited by NetworkNerd

        I should also add that performance for this VM has been acceptable to the Engineering team. I'm just interested in claiming more of the unused space than anything.

        And we're running ESXi 5.5U1.

        1 Reply Last reply Reply Quote 0
        • thanksajdotcomT
          thanksajdotcom
          last edited by

          I don't know how you'd do it with Veeam, but with Unitrends you do a full backup of the VM as a physical machine, do a Bare Metal restore on a newly sized VHD, then a file level restore, then, in this case, a SQL restore. I know, however, that Veeam is 100% virtual. That's just my 2 cents. You could always get a UEB Free and do this one machine this one time. It'll give you a good taste of Unitrends too.

          NetworkNerdN 1 Reply Last reply Reply Quote 0
          • NetworkNerdN
            NetworkNerd @thanksajdotcom
            last edited by

            @ajstringham said:

            I don't know how you'd do it with Veeam, but with Unitrends you do a full backup of the VM as a physical machine, do a Bare Metal restore on a newly sized VHD, then a file level restore, then, in this case, a SQL restore. I know, however, that Veeam is 100% virtual. That's just my 2 cents. You could always get a UEB Free and do this one machine this one time. It'll give you a good taste of Unitrends too.

            I'm thinking I can do it in VMWare without any assistance from Veeam. Or at least that was my understanding that I could.

            thanksajdotcomT 1 Reply Last reply Reply Quote 0
            • thanksajdotcomT
              thanksajdotcom @NetworkNerd
              last edited by

              @NetworkNerd said:

              @ajstringham said:

              I don't know how you'd do it with Veeam, but with Unitrends you do a full backup of the VM as a physical machine, do a Bare Metal restore on a newly sized VHD, then a file level restore, then, in this case, a SQL restore. I know, however, that Veeam is 100% virtual. That's just my 2 cents. You could always get a UEB Free and do this one machine this one time. It'll give you a good taste of Unitrends too.

              I'm thinking I can do it in VMWare without any assistance from Veeam. Or at least that was my understanding that I could.

              Not sure how you'd change from thick to thin though.

              1 Reply Last reply Reply Quote 0
              • PSX_DefectorP
                PSX_Defector
                last edited by

                If you got the space, why not do it through the OS? Robocopy/clone over the drive to a thin provisioned VMDK, then delete the thick provisioned VMDK. Then modify the OS to make the "new" drive the same letter as the "old" drive.

                Myself, I would just clone the thing using something like DriveXML. Quick and dirty, just how I likes it.

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  No external tools needed, the directions for going from thin to thick or thick to thin are here:

                  Changing VMware vSphere Drive Provisioning from Thick to Thin

                  1 Reply Last reply Reply Quote 1
                  • DashrenderD
                    Dashrender
                    last edited by

                    I thought Windows allowed you to grow/shrink partitions these days (except the system partition)?

                    JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @Dashrender
                      last edited by

                      @Dashrender said:

                      I thought Windows allowed you to grow/shrink partitions these days (except the system partition)?

                      That does not affect VM thin/thick provisioning. that is the guest inside.

                      DashrenderD 1 Reply Last reply Reply Quote 0
                      • DashrenderD
                        Dashrender @JaredBusch
                        last edited by

                        @JaredBusch said:

                        @Dashrender said:

                        I thought Windows allowed you to grow/shrink partitions these days (except the system partition)?

                        That does not affect VM thin/thick provisioning. that is the guest inside.

                        Understood, but you can grow/shrink partitions in VMWare as well - though - now that I put more thought it into, perhaps shrinking a partition in VMWare would be bad since it might shrink area that has data instead of free space area.

                        original though was, use windows to shrink partition, then use VMWare to shrink disk

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @Dashrender
                          last edited by

                          @Dashrender said:

                          I thought Windows allowed you to grow/shrink partitions these days (except the system partition)?

                          It does, so does Linux. But we are not talking about partitions at all, nor Windows.

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @Dashrender
                            last edited by

                            @Dashrender said:

                            Understood, but you can grow/shrink partitions in VMWare as well

                            No partitions here. We are talking about a file, not a partition.

                            DashrenderD 1 Reply Last reply Reply Quote 0
                            • DashrenderD
                              Dashrender @scottalanmiller
                              last edited by

                              @scottalanmiller said:

                              @Dashrender said:

                              Understood, but you can grow/shrink partitions in VMWare as well

                              No partitions here. We are talking about a file, not a partition.

                              THINKS - aw yes.. you're right - I see my missing logic.

                              1 Reply Last reply Reply Quote 2
                              • 1 / 1
                              • First post
                                Last post