Can't remove "missing" drive from storage space
I had recently added a new ssd to replace my old boot drive in my desktop. Added it to my storage pool thinking it would allow me to then clone my old boot drive to it, realized that all the drives spread data across all of them, wasn't able to remove SSD because for some reason it doesn't show a "Prepare For Removal" option for m.2 SSDs. So I decided to do a secure format in BIOS on SSD, now shows error that I cannot remove. Does not show two other HDDs I have on the storage space in Disk Management or "diskpart" in cmd prompt, shows them in Device Manager. Tried using Powershell to remove physical disk from storage space which did not work, after I had formatted the SSD I figured out that I was able to use Disk Management to create a seperate drive destination letter thing without adding to storage space, so I went ahead and copied the old boot to the new one. Now i'm trying to figure out how to access my storage space without loosing data from it.
Cmd Prompt
C:\WINDOWS\system32>diskpart
Microsoft DiskPart version 10.0.19041.964
Copyright (C) Microsoft Corporation.
On computer: UNKNOWN-DEVICE
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 2 Online 931 GB 1024 KB *
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\WINDOWS\system32> Get-PhysicalDisk
Number FriendlyName SerialNumber MediaType CanPool OperationalStatus HealthStatus Usage
------ ------------ ------------ --------- ------- ----------------- ------------ -----
0 MSFT XVDD SSD False OK Healthy Au...
2 M21TB E823_8FA6_BF53_0001_001B_448B_4E16_055C. SSD False {Transient Error, OK} Unhealthy Au...
3 HDD 1tb WD-WMATR1407794 HDD False OK Healthy Au...
1 HDD 2tb WD-WXD2A716T7UU HDD False OK Healthy Au...
PS C:\WINDOWS\system32> Get-StoragePool
FriendlyName OperationalStatus HealthStatus IsPrimordial IsReadOnly Size AllocatedSize
------------ ----------------- ------------ ------------ ---------- ---- -------------
Main Storage Degraded Warning False False 3.64 TB 588.5 GB
Primordial OK Healthy True False 3.64 TB 2.73 TB
PS C:\WINDOWS\system32> Remove-PhysicalDisk -PhysicalDisks $M21TB -StoragePoolFriendlyName "More Storage"
Remove-PhysicalDisk : Cannot validate argument on parameter 'PhysicalDisks'. The argument is null or empty. Provide an
argument that is not null or empty, and then try the command again.
At line:1 char:36
+ Remove-PhysicalDisk -PhysicalDisks $M21TB -StoragePoolFriendlyName "M ...
+ ~~~~~~
+ CategoryInfo : InvalidData: (:) [Remove-PhysicalDisk], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Remove-PhysicalDisk
PS C:\WINDOWS\system32>
Windows for business | Windows Server | User experience | PowerShell
2 answers
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more