Error expand fixed vhdx

Irish84 1 Reputation point
2020-07-28T11:05:50.97+00:00

Hi All,

Anyone know was would be causing this error? I am trying to expand the drive but keep getting the error doesn't matter if the server is on or not also no checkpoints present. It's a fixed drive on Server 2012 R2.

14101-vhdx.png

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,730 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. TimCerling(ret) 1,156 Reputation points
    2020-07-28T13:25:29.787+00:00

    How much are you trying to increase the size of the .vhdx? Do you have sufficient room on the host disk?

    0 comments No comments

  2. Irish84 1 Reputation point
    2020-07-28T14:04:51.897+00:00

    Hi,

    I want to increase the space by 100GB and yes there is plenty of space on the host, over 1TB.

    I was going to try powershell, the current size of the drive is 1024GB and wanted to bring it up to 1124GB would the below command work?

    Resize-VHD -Path \somepath.vhdx -SizeBytes 1124GB

    0 comments No comments

  3. Xiaowei He 9,906 Reputation points
    2020-07-29T06:39:10.727+00:00

    Hi Irish,
    Please check the event viewer in the path:

    Event viewer>Applications and Services Logs>Microsoft>Windows>Hyper V VMMS > Operational, check if there's error message about failing to increase the VHDX size.
    If yes, please provide the error message for analysis.

    Best Regards,
    Anne

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.