Friday, August 24, 2012

Tools for Troubleshooting Storage Spaces


Introduction
Working on a new type of technologies sometime it could be scary as you might not sure what would happen and what could be the best way to deal with it.

The storage spaces failure can be category into 2, which the first on would be the administrative failure and the 2nd part would be maintenance failure. What it is all about?

Administrative failure

  1. Creating a storage spaces fail
  2. Deleting a storage spaces fail
  3. Expanding storage spaces fail
  4. changing storage spaces property fail
  5. manually attaching a detach storage fail

Maintenance failure

  1. A storage spaces is no longer visible due to volume is lost
  2. Storage spaces performance issues due to problem with disk


Powershell command for troubleshooting

To list unhealthy storage spaces, use the following PS cmdlet:
Get-VirtualDisk | Where-Object {$_.HealthStatus –ne “Healthy”}

To repair a Virtual Disk, use the following PS cmdlet:
      Repair-VirtualDisk -FriendlyName

To list unhealthy storage pools, use the following PS cmdlet:
Get-StoragePool | Where-Object {$_HealthStatus –ne “Healthy”}

To list unhealthy physical disks, use the following PS cmdlet:
Get-PhysicalDisk | Where-object {$_HealthStatus –ne “Healthy”}

To remove (or Reset) a failed physical disk from a storage pool, us the following PS cmdlet:
Reset-PhysicalDisk –FriendlyName 


Summary
Stay tune with my next articles. Let us know what you though , learns and hope for next articles!. Connect with us on GOOGLE+ , TWITTER and FACEBOOK.

3 comments:

  1. These powershell cmdlets only apply to Windows 2012 ?

    ReplyDelete
    Replies
    1. Hi there, thanks for reading. The powershell cmdlets it is only applicable for Windows Server 2012 and it is a tools for troubleshooting storage spaces.

      Delete
  2. This storage place is for people for whom security is an important consideration. They also have clean space, professional staff and competitive rates. They provide great advice on your storage needs.

    ReplyDelete