Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 8743

vdisk stuck in compacting state

$
0
0

I have tried to shrink a VHDX dynamic disk using diskpart using the below commands.

Text
select vdisk File=”I:\path\to\your.vhd”
attach vdisk readonly
compact vdisk

It got stuck at 30% so I hit ctrl+C to cancel, but the job is still active.

I run the command 

Text
detail vdisk
it shows that the state is "compacting"

I cannot figure out how to cancel the actual compacting job that is running in diskpart.

I can still view all the files on the attached VHDX drive.

Does anyone know?

Server is running Server 2012 R2


Regards Jake Gardner If you found this post helpful, please give it a helpful vote. If it answered your question, remember to mark it as an Answer.


Viewing all articles
Browse latest Browse all 8743

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>