Escolar Documentos
Profissional Documentos
Cultura Documentos
RecoveringfromFailedDisksinTieredStorageSpacesonWindows10viaPowerShell|AskPremierFieldEngineering(PFE)Platforms
Server & Tools Blogs > Server & Management Blogs > Ask Premier Field Engineering PFE
Platforms
Sign in
IhaveaWindows10workstaonathomewhichhasaeredstoragespacewith2SSDand6HDD.Ihavea
mirroredvirtualdiskusingbothersandIusethisforregularstorage,lesharing,andrunningmyvirtual
machines.
Aeredstoragespaceisonethatmixesa"fast"setofSSDanda"slow"setofspinningdiskstocreatea
storagespacethatisbothbig_and_fast.IfyouareunfamiliarwithTieredStorageSpaces,herearea
coupleofgreatblogpostshereandhereonthetopic.
IhadoriginallycreatedthisstoragespacewhenIwasrunningWindows2012R2withtheGUI,buteven
thoughthereisnoGUI(anditsnotsupported)theeredstoragespaceworkslikeachamponWindows
10.WhileeredstoragespacesarenotsupportedonWindows10(seriously,eredspacesareintendedfor
serveronly)allthecommandsbelowarethesameacrosstheclientandserverOS.
Duetosomeconstraintsduringtheinialbuildprocessendedupwithamismatched(sizewise)SSDsinthe
faster.IfoundanotherofmysmallSSDsonsaleandIwantedtorecovermybigSSDforrepurposing.
Thetaskinfrontofmewassimple,swapthedisks.IwasoutofSATAportsonmysystemsoImadethe
foolhardymoveofsimplyunpluggingtheSSDtobeReplacedandplugginginthenewSSD.Naturallythis
causedmymirroredstoragespacetogointoadegradedstate.
Note: The MSFT documentation on storage spaces is _very_ clear. DONT DO THIS IF AT ALL POSSIBLE.
We really, really, really want to have the new disk in place before removing the old one.
AsIstarteddoingsomeresearchonhowtoxmymess,Ifoundsomegooddocumentsonhowtorepaira
eredstoragespaceusingtheGUI.OnlyproblemwasthatIhadnoGUItodothisasIamrunningaclient
OSnow.IcouldhaverebuiltmymachineasaserverOSandxedthespacethatway,butIthoughtIdsee
whatPowerShellcoulddo.
ItturnsoutthatWindows10PowerShellincludesallthestoragespacecommandsneededtocreate,
https://blogs.technet.microsoft.com/askpfeplat/2015/12/21/recoveringfromfaileddisksintieredstoragespacesonwindows10viapowershell/
1/10
5/27/2016
RecoveringfromFailedDisksinTieredStorageSpacesonWindows10viaPowerShell|AskPremierFieldEngineering(PFE)Platforms
modify,andmanageaeredstoragespace.Thiswasgoodnews,exceptthattherewasliletono
documentaonon_how_toactuallydotherepair.IniallyItriedaddingthedrivetothepoolasnormal
withtheaddphysicadiskcommand.
PS C:\WINDOWS\system32> getvirtualdisk
Mirror
Degraded
Warning
Size
False
5.68 TB
PS C:\WINDOWS\system32> GetPhysicalDisk
FriendlyName
SerialNumber
S1DBNSAF925671Y True
OK
Healthy
AutoSelect 232.89 GB
Disk1
WDWMAZA3795023 False OK
Healthy
AutoSelect 1.82 TB
Disk2
WDWCAZA5713932 False OK
Healthy
AutoSelect 1.82 TB
SSD3
Size
AutoSelect 446.5 GB
Disk3
WDWCAVY5436882 False OK
Healthy
AutoSelect 1.82 TB
Disk4
WDWCAZA5724921 False OK
Healthy
AutoSelect 1.82 TB
Disk5
WDWCAVY5805593 False OK
Healthy
AutoSelect 1.82 TB
Disk6
WDWMAZA3791851 False OK
Healthy
AutoSelect 1.82 TB
https://blogs.technet.microsoft.com/askpfeplat/2015/12/21/recoveringfromfaileddisksintieredstoragespacesonwindows10viapowershell/
2/10
5/27/2016
RecoveringfromFailedDisksinTieredStorageSpacesonWindows10viaPowerShell|AskPremierFieldEngineering(PFE)Platforms
SSD2
S1DBNSCF810110W False OK
Healthy
AutoSelect 232.25 GB
Healthy
AutoSelect 232.89 GB
Completed 100
False
Ithoughtthatitwasoddthattherepairjobnishedsoquickly.Sureenoughthevirtualdiskwassllin
degradedstate.
PS C:\WINDOWS\system32> getvirtualdisk
Mirror
Degraded
Warning
False
Size
5.68 TB
https://blogs.technet.microsoft.com/askpfeplat/2015/12/21/recoveringfromfaileddisksintieredstoragespacesonwindows10viapowershell/
3/10
5/27/2016
RecoveringfromFailedDisksinTieredStorageSpacesonWindows10viaPowerShell|AskPremierFieldEngineering(PFE)Platforms
Itriedtothinkaboutwhatmighthavegonewrongwiththerepairandstartedlookingatthedetailsofthe
physicaldiskwhenInocedthatthemediatypeofmySSDwaslistedasunspecied
PS C:\WINDOWS\system32> GetPhysicalDisk SerialNumber S1DBNSAF925671Y|fl
ObjectId
{1}\\NOTJJSB\root/Microsoft/Windows/Storage/Providers_v2\SPACES_PhysicalDisk.ObjectI
d="{4f1a09535b0d11e495d2806e6f6e6963}:PD:{47abc017986011e5963d
00224d9ad22b}"
PassThroughClass
PassThroughIds
PassThroughNamespace
PassThroughServer
UniqueId
: 0050430000000003
Description
FriendlyName
HealthStatus
Manufacturer
Model
OperationalStatus
: OK
PhysicalLocation
SerialNumber
: S1DBNSAF925671Y
AllocatedSize
BusType
CannotPoolReason
: 268435456
: RAID
: In a Pool
https://blogs.technet.microsoft.com/askpfeplat/2015/12/21/recoveringfromfaileddisksintieredstoragespacesonwindows10viapowershell/
4/10
5/27/2016
RecoveringfromFailedDisksinTieredStorageSpacesonWindows10viaPowerShell|AskPremierFieldEngineering(PFE)Platforms
CanPool
: False
DeviceId
:8
EnclosureNumber
FirmwareVersion
: EXT0
IsIndicationEnabled
IsPartial
: False
LogicalSectorSize
MediaType
: 512
: Unspecified
OtherCannotPoolReasonDescription :
PartNumber
PhysicalSectorSize
Size
SlotNumber
: 512
: 249376538624
:
SoftwareVersion
SpindleSpeed
: Unknown
SupportedUsages
UniqueIdFormat
Usage
PSComputerName
ClassName
https://blogs.technet.microsoft.com/askpfeplat/2015/12/21/recoveringfromfaileddisksintieredstoragespacesonwindows10viapowershell/
5/10
5/27/2016
RecoveringfromFailedDisksinTieredStorageSpacesonWindows10viaPowerShell|AskPremierFieldEngineering(PFE)Platforms
ThismeansthatthestoragepoolhadnoideathiswasanSSD(eventhoughitwasinthename)andsoit
didntknowtouseittoreplacethefaileddriveintheSSD_Tier.EasyPeasyIheardmyselfmuerandI
manuallysetthemediatypetoSSDandretriedtherepairjob.
Completed 100
False
PS C:\WINDOWS\system32> getvirtualdisk
Mirror
Degraded
Warning
False
Size
5.68 TB
BLERG!!Sllnojoyontherepairjob.IwasscratchingmyheadandsearchingaroundwhenIcameacrossa
blogpostbyMVPCharbelNemnomabouthowtoreplaceafaultydiskinatwowayeredstoragespace.
http://charbelnemnom.com/2014/09/stepbystephowtoreplacefaultydiskintwoway
mirroredstoragetieredspacestoragespacesws2012r2/
https://blogs.technet.microsoft.com/askpfeplat/2015/12/21/recoveringfromfaileddisksintieredstoragespacesonwindows10viapowershell/
6/10
5/27/2016
RecoveringfromFailedDisksinTieredStorageSpacesonWindows10viaPowerShell|AskPremierFieldEngineering(PFE)Platforms
IlookedatthecommandsCharbelusedandnocedtheonlydierencebetweenwhathehaddoneandmy
failedaemptwasIspeciedhotspareasmyusagetype.Iippedtheusagetypetoautoselectandre
rantherepairjob.
Id
Name
PSJobTypeName State
183
CimJob90
CimJob
HasMoreData
Location
True
NOTJJSB
Running
Command
RepairVirtualDisk Fr
Andsureenough,itwasWORKING!
PS C:\WINDOWS\system32> GetStorageJob
Name
Repair
Running 65
Regeneration 00:10:49
Running 66
False
True
Aerabout30minutesofrepair(boyareSSDs_fast_),IremovedthefailedSSDandhadahealthyvirtual
diskagain.J
https://blogs.technet.microsoft.com/askpfeplat/2015/12/21/recoveringfromfaileddisksintieredstoragespacesonwindows10viapowershell/
7/10
5/27/2016
RecoveringfromFailedDisksinTieredStorageSpacesonWindows10viaPowerShell|AskPremierFieldEngineering(PFE)Platforms
Ilearnedseverallessonswiththisexercise.
1. Dont make the choice of just unplugging an existing drive and swapping in a new one if possible. The
MSFT documents are very clear on this point. Add the new drive first if possible
2. If I dont have an existing hotspare disk when a drive actually does go bad, I have to add that disk as
autoselect
3. Try to read the official MSFT documentation better the need to use autoselect is actually spelled out
here. J
Thanksforreadingandenjoyeredstoragespaces!
JJStreicherBremer
8/10
5/27/2016
RecoveringfromFailedDisksinTieredStorageSpacesonWindows10viaPowerShell|AskPremierFieldEngineering(PFE)Platforms
Tags
Mark
Archives
May 2016 4
April 2016 4
March 2016 5
February 2016 5
January 2016 4
All of 2016 22
All of 2015 63
All of 2014 66
All of 2013 90
https://blogs.technet.microsoft.com/askpfeplat/2015/12/21/recoveringfromfaileddisksintieredstoragespacesonwindows10viapowershell/
9/10
5/27/2016
RecoveringfromFailedDisksinTieredStorageSpacesonWindows10viaPowerShell|AskPremierFieldEngineering(PFE)Platforms
All of 2012 64
All of 2011 4
Tags
JJ StreicherBremer
PowerShell
storage pool
Storage Spaces
Windows 10
Add Comment
5 months ago
Hello,
Several months ago, I wondered if Tiered Storage was possible on a Windows 10 computer and came to the
conclusion it was not. Now I will give it a try!
Thanks for the post.
Cheers,
Raphael
https://blogs.technet.microsoft.com/askpfeplat/2015/12/21/recoveringfromfaileddisksintieredstoragespacesonwindows10viapowershell/
10/10