Reporting on storage pools
Once created, we need to routinely review the storage pools to ensure they are functioning properly. One item we need to pay attention to is the utilization of the thin pools and disks in our environment. If the underlying disks in a thin pool fill up, we can have unexpected results in the presented virtual disks.
Getting ready
In this recipe we will be working with the storage pool configuration created in the previous recipe. We will be reporting on the utilization of the storage pools and the virtual disks in the pools.
How to do it...
Perform the following steps to report on storage pools:
Report on storage pool usage:
Get-StoragePool | ` Format-Table FriendlyName, ` @{Name="AllocGB";Expression={$_.AllocatedSize/1GB}}, ` @{Name="SizeGB";Expression={$_.Size/1GB}}
When executed, we will see a status similar to the following screenshot:
Get virtual disk usage:
Get-VirtualDisk | ` Format-Table FriendlyName, ` @{Name="AllocGB";Expression={$_.AllocatedSize/1GB}}, ` @{Name...