Expand Shared VHDX


how to expand my  Shared VHDX  ?

i'm thinking to use guest cluster with shared VHDX for my file server (total 24 TB), but when a shared vhdx are out of Space, i'm stucked right now...

any other solution for at storage server (hyper-v guest OS) in a cluster are welcome.



January 26th, 2014 2:26pm

Hi David,

I initially tried NPIV/virtual FC on my VM file server cluster but ran into endless issues, so I decided to move to shared VHDXs, which have been much more stable but with the caveat you pointed out. You can't expand the shared VHDX online, but since it is SCSI-attached, you can hot-remove it and expand the disconnected VHDX. 

I put together a powershell script that offlines the disk in the file server cluster, removes it from the VMs, expands the VHDX on the host cluster, adds the disk back to the VMs, then expands the volume. It isn't pretty, and I'm still ironing out kinks, but it gets the downtime for the expansion to less than 5 minutes (especially if the shared VHDX is dynamic since you do not have to wait for the VHDX file expansion).

I have my fingers crossed that online shared-VHDX expansion is on the horizon in a future Server update.  


Free Windows Admin Tool Kit Click here and download it now
April 4th, 2014 2:40pm

Hi , 

I am stuck in a similar kind of situation were the dynamic shared vhdx used in the environment are almost out of space.

Has the script worked out for you ? Is there any other way through GUI available now that doesn't require any downtime? as this issue is almost a year old



July 29th, 2015 3:25am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics