Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, January 28, 2020 11:33 AM
I tried to remove a failed drive in a Storage Space I had made after adding a new drive. Windows Explorer then crashed and rebooted. It was showing progress in Preparing for removal. Since then, there is no progress reflected. Furthermore, PowerShell command get-storagejob does nothing (no output). What to do?
get-physicaldisk shows that the Operation Status of the drive is "Lost Communication". How do I fix this?
All replies (3)
Wednesday, January 29, 2020 4:12 AM
Hi
In general, when there's the failed disk in the storage pool, we could add the new replaced disk first then follow the steps below to repair:
- Open PowerShell in admin mode (PowerShell ISE is better)
- To get the names of the disks, type the following command: Get-PhysicalDisk
- To get the names of the virtual disks, type the following command: Get-Virtual-Disk
- First mark the disk you want to remove as "retired" by the following command: Set-PhysicalDisk -FriendlyName 'PhysicalDiskXX' -Usage Retired
- Now your disk is mark to be removed. You need to rebuild each of your virtual disks with the following command: Repair-VirtualDisk -FriendlyName 'My Virtual Disk'
- You can monitor the progression of the process by typing the following command: Get-StorageJob
- Once everything is done, just remove the disk from the pool with this command: Remove-PhysicalDisk -FriendlyName 'PhysicalDiskXX'
Please also follow the article to do a check.
If you need to force to remove the storage pool, commands : Get-StoragePool -friendlyname "xxx" | remove-storagepool, also use a -force switch to force it to execute?
If still not work, i think we should recreate this storage space.
Best Regards,
Daniel
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact
Thursday, January 30, 2020 2:22 AM
The repair is suspended, it just does not happen.
Monday, February 3, 2020 5:15 AM
If so, maybe we should consider rebuilding the storage pool.
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact