Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 13565

Remove-PhysicalDisk : A perameter cannot be found that matches perameter name 'FriendlyName'.

$
0
0
I have a faulty harddrive on my Windows server 2012 R2 storage pool. So the it is retired, as it should be. The virtual disks that are not in a three way mirror are detached. As the storage space on the pool is to low to simply remove the faulty harddrive I replace it with a new one that is added to the pool with automatic allocation. 
I now proceed with removing the faulty drive, by choosing  remove disk in the Server Manager, I get a message warning me how it needs to rebuild the virtual disk before it will be up at full performance and asks if I wish to proceed, I click yes. A dialog flickers for a split second and nothing else happens.  I then go and check for storage job in powershell with the Get-Job command. No current jobs...
Then I check the event log to see if I can find that message that flickered, no luck. So I repeat the proceager for removing the disk and this time I record the message with a camera at 120 fps. Then I can clearly see it is the normal message for telling that the effected drive will be in service while it rebuilds. Since it dose not show up with the Get-job command and several hours have passed I can only assume that it never got anywhere with removing the physical disk in question. 
I then do a search and find a guide on here in the FAQ for storage spaces on how to replace a harddisk in powershell. So I follow that first checking what disk I have to find the friendly name (PhysicalDisk-1) marking it as unused. Repair the effected virtual disks only takes a moment presumably because they are offline. Then I use the following command with the error message below. 

Remove-PhysicalDisk -FriendlyName PhysicalDisk-1
Remove-PhysicalDisk : A parameter cannot be found that matches perameter name 'FriendlyName'.
At line:1 char:21
+Remove-physicalDisk -FriendlyName PhysicalDisk-1
+
+CategoryInfo: invalidArgument: (:) [Remove-PhysicalDisk], PerameterBindingException
+FullyQualifiedErrorID: NamedPerameterNotFound,Remove-PhysicalDisk

I don't really understand what the error is telling me and all documentation on here and elsewhere has not been of much help. 

Some assistance would be nice. 

Of other potentially relevant information I can say that I am running Windows Server 2012 R2 Essentials. On it there is one storage pool consisting of 7 physical disks (including the faulty disk) and 3 virtual disks one three way mirror one two way mirror and one with parity, the storage pool version has not been updated to R2 it was created before that and has not been updated. 

Viewing all articles
Browse latest Browse all 13565

Trending Articles



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