Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 251313

Re: Capacity and performance Trending reports

$
0
0

They are all NFS. 

 

PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-Datastore datastore4 | Select Type,FileSystemVersion
Type         FileSystemVersion
----         -----------------
NFS
PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> $global:DefaultVIServer | Select Version,Build
Version     Build
-------     -----
4.1         345043
PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI>

I ran the cmdlets on a couple of datastores that do export data and was getting the same results.  Out of 10 datastores 2 (datastore4 and 9) have this issue.

 

$ds = Get-Datastore datastore1

 

Get-Stat2 -Entity $ds.ExtensionData -Interval HI2 -QueryMetrics |

Select Group,Name,Rollup | ft -AutoSize

 

Get-Stat2 -Entity $ds.ExtensionData -Interval HI2 -Stat disk.used.latest -QueryInstances

Exception calling "QueryAvailablePerfMetric" with "4" argument(s): "A general system error occurred: optional value not set"

At C:\Users\username\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:137 char:3
+         $metricId = $perfMgr.QueryAvailablePerfMetric($Entity.MoRef,$null,$null,$numin ...
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : VimException

 

 

Thanks for your quick responses today LucD!

JB


Viewing all articles
Browse latest Browse all 251313

Trending Articles