Storage Space Virtual Disk Disconnected on Restart

So I recently had to rebuild my Server 2012 virtual server. I had storage spaces setup and after I finished the install the Virtual Disk was not mounted. I realized that I was able to bring it all back online, but every restart it had to remount the VHD.

I had decided there must be a way to fix it and decided to see what the properties were within PowerShell. I ran a Get-VirtualDisk which showed me my single VHD (pictured below)

I was thrilled when I saw the IsManualAttach property, with a simple execution of Set-VirtualDisk Data -IsManualAttach 0, I executed a Get-VirtualDisk and verified it took the settings change. After a restart the VirtualDisk was already mounted and resolved my problem with only two PowerShell commands.

Be Sociable, Share!
  1. THANKS also from me. I’m new to VM storage so this would have taken me a wile to figure out.

  2. thanks Matt! No, THANKS!!! 😀

  3. Brilliant! I couldn’t figure out why the VHDs kept unmounting on reboot – thanks Matt! P.S. For others, make sure you are running PowerShell as an admin.

  4. Nice find, Thanks Bro

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">