Answered by:
After I reinstalled Windows Server 2012 R2, I cannot attach my virtual disk

Question
-
Hello,
After I reinstalled Windows Server 2012 R2, I cannot attach manually my virtual disk "MOVIES" :
http://windowsitpro.com/systems-management/q-after-i-reinstalled-windows-server-2012-my-storage-spaces-are-no-longer-writabl
When i try this command : (http://technet.microsoft.com/fr-fr/Library/hh848641.aspx)
PS C:\>Connect-VirtualDisk –FriendlyName "MOVIES"
I'have this error :
PS C:\Windows\system32> Connect-VirtualDisk -FriendlyName "MOVIES"
Connect-VirtualDisk : Failed
Au caractère Ligne:1 : 1
+ Connect-VirtualDisk -FriendlyName "MOVIES"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (StorageWMI:ROOT/Microsoft/...SFT_VirtualDisk) [Connect-VirtualDisk], CimE
xception
+ FullyQualifiedErrorId : StorageWMI 4,Connect-VirtualDiskI have the same problem with right clic attach on the manage interface
All my disks are OK
I d'ont understand why i have a problem
Could' you help me
Tanks in advance for your help
Regards,
Nicolas
Thursday, August 14, 2014 12:39 PM
Answers
-
Hi Zaltez,
Please try to right click "MOVIES" select "repare virtual disk " .
Best Regards
Elton Ji
Monday, August 18, 2014 5:25 AM
All replies
-
Hi Nicolas,
" I have the same problem with right clic attach on the manage interface "
Do you mean storage pool ?
If it is storage pool , could you please tell us the details of storage pool configuration before re-install .
If it is possible , please post a screen shot of the manage interface .
Best Regrds
Elton Ji
Friday, August 15, 2014 8:08 AM -
Hi Elton,
Thanks for your answer
"If it is storage pool , could you please tell us the details of storage pool configuration before re-install .
If it is possible , please post a screen shot of the manage interface ."
Yes it's the storage pool :
http://hpics.li/0320f46
it's a parity storage (see on the print screen)
Regards,
Nicolas
Saturday, August 16, 2014 9:53 AM -
Hi Zaltez,
Please try to right click "MOVIES" select "repare virtual disk " .
Best Regards
Elton Ji
Monday, August 18, 2014 5:25 AM -
Hi Elton,
Sorry for the delays I was on vacation :)
"Please try to right click "MOVIES" select "repare virtual disk " ."
I wish I could do but the option is grayed:
I can only attach the virtual drive or delete or see properties...
Monday, August 25, 2014 3:16 PM -
Hello Elton,
I tried numerous powershell command to do anything but I'm lack of ideas.All my disk are OK :
but how can I do to make a CheckDisk on a virtual disk because there is no letter corresponding to the volume
It's only when i try to connect VirtualDisk to my Server the problem happens ...
I try to repair the virtualDisk with powershell command :
PS C:\Windows\system32> Repair-VirtualDisk -FriendlyName MOVIES
It's works but it takes less than 2 seconds ...
There is no solution?
I lost all my data? Can i try to delete virtual disk and recovery data with a recovery program, is that it might work?
Thanks you in advance for your help
Regards,
Nicolas
Friday, August 29, 2014 7:47 PM -
Hi Nicolas,
Sorry for the delay .
I have repoduced the procedure (2012R2):
1. create a storage pool and create a new virtuall disk
2. shutdown the computer move the disks to another computer then "fix" the virtual disk , please refer to following link:
(If your physical disk 2,4,5 are not affected by re-install OS , I think the test above is similar to what you have done )
Best Regards
Monday, September 1, 2014 8:21 AM