Comments on: How to Resize Virtual Hard Disks in Hyper-V https://www.altaro.com/hyper-v/resize-virtual-hard-disks-hyper-v-2016/ Hyper-V guides, how-tos, tips, and expert advice for system admins and IT professionals Wed, 31 Mar 2021 06:24:12 +0000 hourly 1 By: Eric Siron https://www.altaro.com/hyper-v/resize-virtual-hard-disks-hyper-v-2016/#comment-3772 Tue, 10 Nov 2020 16:53:00 +0000 https://www.altaro.com/hyper-v/?p=15510#comment-3772 In reply to RAJ.

For a standard grow operation, it does not create a copy. To be honest, I’m not sure what the blocker is here. I’ve done things like this often. Moving it to a larger drive would probably work, but I can’t tell you why it doesn’t work now.

]]>
By: RAJ https://www.altaro.com/hyper-v/resize-virtual-hard-disks-hyper-v-2016/#comment-3760 Sun, 01 Nov 2020 06:14:00 +0000 https://www.altaro.com/hyper-v/?p=15510#comment-3760 I have run into what seems to be a limitation on expanding. I have a 600GB vhdx on a 1TB drive with around 300GB free. I thought great I just need to expand it but 100GB (700GB total) since I had 300 GB free. Nope it said “not enough space to perform the operation. It appears you need 2x the space to do it.

Does it make a new 700GB disk then copy from the original 600GB disk into the new 700GB?

Any ideas on how I resize it? Or do I need to put it on a larger drive (say 2TB) then perform the resize?

Thanks!

]]>
By: Eric Siron https://www.altaro.com/hyper-v/resize-virtual-hard-disks-hyper-v-2016/#comment-3315 Wed, 07 Aug 2019 13:51:00 +0000 https://www.altaro.com/hyper-v/?p=15510#comment-3315 In reply to Oleg.

Argh I hate boot from VHDX just because of this sort of thing.
I have not ever done it. However, VHDX resize works with an online VHDX and it will stop if it doesn’t like something. The boot portion doesn’t care about the size of the VHDX.
I suppose worst case scenario is that it renders the VHDX inoperative so your host won’t boot. The odds of that seem quite small due to resize’s architecture. The risk profile should not be any different than resizing the boot VHDX of a running virtual machine.
All the same, make sure that you have good backups.

]]>
By: Oleg https://www.altaro.com/hyper-v/resize-virtual-hard-disks-hyper-v-2016/#comment-3314 Wed, 07 Aug 2019 06:14:00 +0000 https://www.altaro.com/hyper-v/?p=15510#comment-3314 Do you have any thoughts about resizing VHDX that used for a native boot(is it a right term)? My Win Server 2016 booted from vhdx, no VM, when I turn on my server instead of using a HDD, the system gets booted from vhdx. The problem is that I set the size of that vhdx – 40gb, and now I need to expend it to 100 gb. So my windows booted from vhdx that lay at hard drive F. When I open Hyper-V->edit disk I can choose that vhdx and it looks like I can change the size of it, but I’m afraid to proceed ’cause I don’t know what would happen. I assume the system kinda doesn’t know that that vhdx is the same vhdx it booted from. What is the worst scenario if I proceed? Would it work at all? For now server works quite stable and I don’t wanna risk doing it yet, but eventually, I’d need to do something with it.

]]>
By: Jason https://www.altaro.com/hyper-v/resize-virtual-hard-disks-hyper-v-2016/#comment-3072 Wed, 28 Nov 2018 02:22:00 +0000 https://www.altaro.com/hyper-v/?p=15510#comment-3072 In reply to Neil.

This was really helpful. Thanks!

]]>
By: Jason https://www.altaro.com/hyper-v/resize-virtual-hard-disks-hyper-v-2016/#comment-3071 Wed, 28 Nov 2018 02:22:00 +0000 https://www.altaro.com/hyper-v/?p=15510#comment-3071 In reply to Neil.

Hi Neil, that was super helpful. Much appreciated!
Now if I can just figure out how to resize the partition in my Ubuntu VM. Unless with a dynamic VHD will it expand the linux partition for me? Doesn’t seem to be doing that.

]]>
By: Neil https://www.altaro.com/hyper-v/resize-virtual-hard-disks-hyper-v-2016/#comment-3049 Sat, 03 Nov 2018 03:24:00 +0000 https://www.altaro.com/hyper-v/?p=15510#comment-3049 Because I struggled so much to resize a VM with CheckPoints, I’m sharing how I finally did it. Export the last CheckPoint. Redirect the VM to that checkpoint hard disk. This VM hard disk will be able to edit size. Start the VM, then expand the hard drive in disk manager. Good luck!

]]>
By: Kenneth https://www.altaro.com/hyper-v/resize-virtual-hard-disks-hyper-v-2016/#comment-3005 Wed, 05 Sep 2018 18:00:00 +0000 https://www.altaro.com/hyper-v/?p=15510#comment-3005 what if you followed these kind of steps but the expanded, unallocated space does not appear in disk manager?

]]>
By: Sugan https://www.altaro.com/hyper-v/resize-virtual-hard-disks-hyper-v-2016/#comment-2738 Wed, 31 Jan 2018 12:15:00 +0000 https://www.altaro.com/hyper-v/?p=15510#comment-2738 Eric,

That was an good guide for VHDX expansion though you haven’t touched upon Shared VHDX resize. Can you add that to this article or create one new. I understand Shared VHDX expansion was not possible in 2012 R2 but 2016 supports same. Would be good if you can shed some light on same.

]]>