Hi all,
I just came across a possible issue with Get-NADisk from PowerShell Toolkit Version 3.2. I think the property Status and RaidType do not contain correct data. As a result, I cannot determine spare disks with Get-NADisk anymore
Example 1:
PowerShell Toolkit 3.0.1
Get-NaDisk 0d.03.11| fl name,status,raidstate,raidtype
Name : 0d.03.11
Status : spare
RaidState : spare
RaidType : pending
PowerShell Toolkit 3.2
Get-NaDisk 0d.03.11| fl name,status,raidstate,raidtype
Name : 0d.03.11
Status : present
RaidState :
RaidType : present
Example 2:
PowerShell Toolkit 3.0.1
Get-NaDisk | Group-Object status -NoElement
Count Name
----- ----
3 dparity
35 partner
29 data
14 spare
3 parity
PowerShell Toolkit 3.2
Get-NaDisk | Group-Object status -NoElement
Count Name
----- ----
49 present
29 data
3 dparity
3 parity
Needless to mention that all commands were executed on the same host.
Any suggestion for a reasonable workaround?
Regards